Skip to content

PyO3 v0.21 beta pyfunction annotation coverage #3989

Description

@reaperhulk

In PyO3 v0.21.0-beta.0 we (pyca/cryptography) are seeing an issue where some #[pyo3::prelude::pyfunction] annotations on functions are marked as uncovered lines. This appears to occur only on functions where the function cannot error.

An example function:
https://github.com/pyca/cryptography/blob/e9954a0a31db22201b96d62535f51a5f0316e218/src/rust/src/backend/x25519.rs#L19-L24

I'm sure I can build a minimal reproducer if necessary, but if this is sufficient information then great 😄

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions