| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
| |
without being initialized. Also make the code conform to the comment and
return the new object. This code needs a test!
|
| |
|
|
|
|
| |
structures like Py_complex. Add some more functionality to the memoryview object.
|
| |
|
|
|
|
|
|
|
| |
Also return a boolean for the readonly flag.
Other cleanup: make sure to set an exception when returning NULL and
reformat the getsets to be shorter by putting them all on one line.
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
protocol in PEP 3118.
|