Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | SF #1777057, fix memoryview('test') so it works in debug mode too. | Neal Norwitz | 2007-08-19 | 1 | -30/+18 |
| | | | | | | | 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. | ||||
* | Code review of the new buffer protocol. Mostly add questions that should | Neal Norwitz | 2007-08-19 | 1 | -16/+13 |
| | | | | | | | | | | | 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. | ||||
* | Merged in py3k-buffer branch to main line. All objects now use the buffer ↵ | Travis E. Oliphant | 2007-08-18 | 1 | -0/+540 |
protocol in PEP 3118. |