Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Cleanup: Replaced most PyInt_ aliases with PyLong_ and disabled the aliases ↵ | Christian Heimes | 2007-12-02 | 1 | -4/+4 |
| | | | | in intobject.h | ||||
* | Fixed memoryview constructor. It allowed arbitrary keyword arguments. The ↵ | Christian Heimes | 2007-11-08 | 1 | -3/+8 |
| | | | | bug was found by mykhal from #python. I've also added a small test case in the new test_memoryview.py | ||||
* | Fix some Py_ssize_t warnings on Win64 that were probably bugs | Neal Norwitz | 2007-10-26 | 1 | -2/+2 |
| | |||||
* | Fix problems with memoryview object. There is still more to do to finish ↵ | Travis E. Oliphant | 2007-10-12 | 1 | -7/+19 |
| | | | | PEP 3118. The memory-view object needs to be fleshed out and the struct module needs to be modified. | ||||
* | Delete bufferobject.[ch]. | Guido van Rossum | 2007-10-08 | 1 | -1/+4 |
| | | | | This will undoubtedly require Windows build file changes too. | ||||
* | At least one of the buildbots was complaining about newview being used | Neal Norwitz | 2007-10-07 | 1 | -3/+2 |
| | | | | | without being initialized. Also make the code conform to the comment and return the new object. This code needs a test! | ||||
* | Whitespace and line lengrth cleanup. | Guido van Rossum | 2007-09-25 | 1 | -47/+50 |
| | |||||
* | Change PyBuffer to Py_buffer to be consistent with other non-object ↵ | Travis E. Oliphant | 2007-09-23 | 1 | -13/+72 |
| | | | | structures like Py_complex. Add some more functionality to the memoryview object. | ||||
* | Fixing the spelling of "writeable" to "writable", particularly PyBUF_WRITEABLE. | Sean Reifscheider | 2007-09-17 | 1 | -3/+3 |
| | |||||
* | 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. |