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
Example:
>>> # Pure python module >>> from cbor2.encoder import dumps >>> from cbor2.types import CBORTag >>> dumps(CBORTag(-1, 'val')) Traceback (most recent call last): ... struct.error: ubyte format requires 0 <= number <= 255 >>> # c module >>> import cbor2 >>> cbor2.dumps(cbor2.CBORTag(-1, 'val')) b'\xdb\xff\xff\xff\xff\xff\xff\xff\xffcval'
CBORTag should raise a value error with a negative int
The text was updated successfully, but these errors were encountered:
Fix agronholm#114: Raise TypeError when using a negative tag
fc78572
TODO: Fix c-module
0a5ea98
2c37b6d
Sekenre
No branches or pull requests
Example:
CBORTag should raise a value error with a negative int
The text was updated successfully, but these errors were encountered: