Skip to content

Use of verify_interface #464

Closed
Closed
@reaperhulk

Description

@reaperhulk

Hi folks, I'm one of the developers of pyca/cryptography. We're planning to remove verify_interface (a function we've never publicly documented and is not part of our API contract) because it no longer has any use for us, but we noticed that you have two locations you currently call it in this codebase. In both cases you should be able to substitute a type check (either check the class itself or instantiate and do an isinstance) rather than using verify_instance. This will be backwards compatible to older cryptography and let us move forward with removal on our end.

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