Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Issue #15855: added docstrings for memoryview methods and data descriptors. | Alexander Belopolsky | 2012-09-03 | 1 | -11/+43 |
| | |||||
* | Merged revisions 88550 via svnmerge from | Antoine Pitrou | 2011-02-24 | 1 | -0/+5 |
| | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r88550 | antoine.pitrou | 2011-02-24 21:50:49 +0100 (jeu., 24 févr. 2011) | 4 lines Issue #11286: Raise a ValueError from calling PyMemoryView_FromBuffer with a buffer struct having a NULL data pointer. ........ | ||||
* | Issue #10451: memoryview objects could allow to mutate a readable buffer. | Antoine Pitrou | 2011-01-18 | 1 | -3/+0 |
| | | | | Initial patch by Ross Lagerwall. | ||||
* | Merge branches/pep-0384. | Martin v. Löwis | 2010-12-03 | 1 | -2/+2 |
| | |||||
* | Issue #10293: Remove obsolete field in the PyMemoryView structure, | Antoine Pitrou | 2010-11-04 | 1 | -44/+1 |
| | | | | | unused undocumented value PyBUF_SHADOW, and strangely-looking code in PyMemoryView_GetContiguous. | ||||
* | deuglify | Benjamin Peterson | 2010-11-03 | 1 | -2/+3 |
| | |||||
* | Issue #9757: memoryview objects get a release() method to release the | Antoine Pitrou | 2010-09-09 | 1 | -10/+75 |
| | | | | | underlying buffer (previously this was only done when deallocating the memoryview), and gain support for the context management protocol. | ||||
* | Fix a compilation warning | Antoine Pitrou | 2010-09-01 | 1 | -1/+1 |
| | |||||
* | Issue #9737: Fix a crash when trying to delete a slice or an item from | Antoine Pitrou | 2010-09-01 | 1 | -0/+5 |
| | | | | a memoryview object. | ||||
* | Issue #3101: Helper functions _add_one_to_C() and _add_one_to_F() become | Antoine Pitrou | 2010-09-01 | 1 | -5/+2 |
| | | | | _Py_add_one_to_C() and _Py_add_one_to_F(), respectively. | ||||
* | Issue #2443: Added a new macro, Py_VA_COPY, which is equivalent to C99 | Alexander Belopolsky | 2010-08-11 | 1 | -4/+4 |
| | | | | | va_copy, but available on all python platforms. Untabified a few unrelated files. | ||||
* | Issue #7616: Fix copying of overlapping memoryview slices with the Intel | Antoine Pitrou | 2010-07-11 | 1 | -11/+3 |
| | | | | compiler. | ||||
* | Merged revisions 77916 via svnmerge from | Antoine Pitrou | 2010-02-02 | 1 | -7/+5 |
| | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r77916 | antoine.pitrou | 2010-02-02 23:36:17 +0100 (mar., 02 févr. 2010) | 4 lines Issue #7385: Fix a crash in `MemoryView_FromObject` when `PyObject_GetBuffer` fails. Patch by Florent Xicluna. ........ | ||||
* | Slightly improve buffer-related error message. | Georg Brandl | 2009-08-04 | 1 | -1/+1 |
| | |||||
* | Issue 6329: Fix iteration for memoryviews. | Raymond Hettinger | 2009-06-23 | 1 | -32/+51 |
| | |||||
* | remove memoryview.__str__ #5182 | Benjamin Peterson | 2009-02-08 | 1 | -17/+1 |
| | |||||
* | Issue #1717: rename tp_compare to tp_reserved. I'll change the | Mark Dickinson | 2009-02-02 | 1 | -1/+1 |
| | | | | | type of tp_compare in a separate commit, for ease of reversion should things go wrong. | ||||
* | Issue #4822: fix messy indentation in memoryobject.c/.h, before we may ↵ | Antoine Pitrou | 2009-01-03 | 1 | -432/+431 |
| | | | | | | backport it to trunk. Reviewed on IRC by Georg Brandl, with assistance by Benjamin Peterson. | ||||
* | Issue #4580: slicing of memoryviews when itemsize != 1 is wrong. | Antoine Pitrou | 2009-01-03 | 1 | -68/+63 |
| | | | | | | | | Also fix len() to return number of items rather than length in bytes. I'm sorry it was not possible for me to work on this without reindenting a bit some stuff around. The indentation in memoryobject.c is a mess, I'll open a separate bug for it. | ||||
* | Issue #4569: Interpreter crash when mutating a memoryview with an item size ↵ | Antoine Pitrou | 2008-12-07 | 1 | -93/+105 |
| | | | | | | larger than 1. (together with a bit of reindenting) | ||||
* | kill memoryview.size in favor of len(view) | Benjamin Peterson | 2008-09-10 | 1 | -7/+0 |
| | | | | Reviewer: Antoine Pitrou #3827 | ||||
* | #3712: The memoryview object had a reference leak and didn't support cyclic ↵ | Antoine Pitrou | 2008-09-01 | 1 | -34/+66 |
| | | | | | | garbage collection. Reviewed by Benjamin Peterson. | ||||
* | Issue #2394: implement more of the memoryview API. | Antoine Pitrou | 2008-08-19 | 1 | -22/+220 |
| | |||||
* | #3560: cleanup C memoryview API | Antoine Pitrou | 2008-08-19 | 1 | -3/+3 |
| | |||||
* | Merged revisions 65654 via svnmerge from | Martin v. Löwis | 2008-08-13 | 1 | -15/+18 |
| | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r65654 | martin.v.loewis | 2008-08-12 16:49:50 +0200 (Tue, 12 Aug 2008) | 6 lines Issue #3139: Make buffer-interface thread-safe wrt. PyArg_ParseTuple, by denying s# to parse objects that have a releasebuffer procedure, and introducing s*. More module might need to get converted to use s*. ........ | ||||
* | #2538: bytes objects can only provide read-only buffers | Antoine Pitrou | 2008-08-02 | 1 | -5/+5 |
| | |||||
* | Merged revisions 64114 via svnmerge from | Amaury Forgeot d'Arc | 2008-06-18 | 1 | -1/+4 |
| | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r64114 | gregory.p.smith | 2008-06-11 09:41:16 +0200 (mer., 11 juin 2008) | 6 lines Merge in release25-maint r60793: Added checks for integer overflows, contributed by Google. Some are only available if asserts are left in the code, in cases where they can't be triggered from Python code. ........ | ||||
* | Remove locking from buffer protocol as-per discussion. | Travis E. Oliphant | 2008-06-06 | 1 | -3/+0 |
| | |||||
* | Renamed PyBytes to PyByteArray | Christian Heimes | 2008-05-26 | 1 | -6/+6 |
| | |||||
* | 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. |