SIGN IN SIGN UP
python / cpython UNCLAIMED

The Python programming language

0 0 2 Python

Code review of the new buffer protocol. Mostly add questions that should

be answered with the comments removed.

There are many places that require checks when doing arithmetic for memory
sizes when allocating memory.  Otherwise, overflow is possible with
a subsequent crash.

Fix SF #1777057 which was a result of not initializing the new BufferError
properly.  Had to update the test for exceptions for BufferError too.
N
Neal Norwitz committed
faa54a392951468090f0095ffa927b16fcb20ca4
Parent: 1836358