We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Check against the Sequence and Mapping ABCs from collections.
Sequence
Mapping
collections
From @jparyani on a mailing list discussion:
add them to the bottom of the if/else type checking chain since isinstance takes close to 100x as long as the current type checking. Take a look at https://github.com/jparyani/pycapnp/blob/a5bf532d53db37414d5e6b25f139ef237a854cc1/capnp/lib/capnp.pyx#L686 to see the logic for this. While you're at it, we should add the same for dict->collections.Mapping.
The text was updated successfully, but these errors were encountered:
I don't seem to be able to assign the issue to myself, but I'm doing this.
Sorry, something went wrong.
Allow assignment from any object providing the sequence protocol
d646265
Refs capnproto#66
Allow assignment from any object providing the mapping protocol
07b92ba
Closes capnproto#66
No branches or pull requests
Check against the
Sequence
andMapping
ABCs fromcollections
.From @jparyani on a mailing list discussion:
The text was updated successfully, but these errors were encountered: