Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Expand the PySlice_GetIndicesEx macro. (#1023) | Serhiy Storchaka | 2017-04-08 | 1 | -2/+2 |
| | |||||
* | bpo-29865: Use PyXXX_GET_SIZE macros rather than Py_SIZE for concrete types. ↵ | Serhiy Storchaka | 2017-03-21 | 1 | -1/+1 |
| | | | | (#748) | ||||
* | Merge 3.5. | Stefan Krah | 2016-12-30 | 1 | -1/+1 |
|\ | |||||
| * | Issue #29111: Fix memoryview signature. | Stefan Krah | 2016-12-30 | 1 | -1/+1 |
| | | |||||
* | | use static inline instead of Py_LOCAL_INLINE | Benjamin Peterson | 2016-09-08 | 1 | -16/+16 |
| | | |||||
* | | require C99 bool | Benjamin Peterson | 2016-09-07 | 1 | -20/+0 |
| | | |||||
* | | replace PY_LONG_LONG with long long | Benjamin Peterson | 2016-09-06 | 1 | -17/+17 |
| | | |||||
* | | require a long long data type (closes #27961) | Benjamin Peterson | 2016-09-06 | 1 | -12/+0 |
| | | |||||
* | | Issue #25923: Added more const qualifiers to signatures of static and ↵ | Serhiy Storchaka | 2015-12-25 | 1 | -2/+2 |
|/ | | | | private functions. | ||||
* | Fix Visual Studio warning. | Stefan Krah | 2015-11-10 | 1 | -1/+1 |
| | |||||
* | Iaaue #25598: Fix memory_hex from #9951 for non-contiguous buffers. | Stefan Krah | 2015-11-10 | 1 | -1/+16 |
| | |||||
* | Issue #15944: memoryview: Allow arbitrary formats when casting to bytes. | Stefan Krah | 2015-08-08 | 1 | -8/+2 |
| | | | | Original patch by Martin Panter. | ||||
* | Implements issue #9951: Adds a hex() method to bytes, bytearray, & memoryview. | Gregory P. Smith | 2015-04-25 | 1 | -0/+14 |
| | | | | | | | Also updates a few internal implementations of the same thing to use the new built-in code. Contributed by Arnon Yaari. | ||||
* | Issue #23632: Memoryviews now allow tuple indexing (including for ↵ | Antoine Pitrou | 2015-03-19 | 1 | -29/+120 |
| | | | | multi-dimensional memoryviews). | ||||
* | Removed unintentional trailing spaces in non-external and non-generated C files. | Serhiy Storchaka | 2015-03-18 | 1 | -3/+3 |
| | |||||
* | Closes #22668: Merge from 3.4. | Stefan Krah | 2015-01-29 | 1 | -4/+52 |
|\ | |||||
| * | Issue #22668: Ensure that format strings survive slicing after casting. | Stefan Krah | 2015-01-29 | 1 | -4/+52 |
| | | |||||
* | | #16518: Bring error messages in harmony with docs ("bytes-like object") | R David Murray | 2014-10-05 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | Some time ago we changed the docs to consistently use the term 'bytes-like object' in all the contexts where bytes, bytearray, memoryview, etc are used. This patch (by Ezio Melotti) completes that work by changing the error messages that previously reported that certain types did "not support the buffer interface" to instead say that a bytes-like object is required. (The glossary entry for bytes-like object references the discussion of the buffer protocol in the docs.) | ||||
* | | Issue #20186: memoryobject.c: add function signatures. | Stefan Krah | 2014-05-17 | 1 | -5/+6 |
| | | |||||
* | | Issue #21490: Add new C macros: Py_ABS() and Py_STRINGIFY() | Victor Stinner | 2014-05-14 | 1 | -5/+2 |
|/ | | | | | Keep _Py_STRINGIZE() in PC/pyconfig.h to not introduce a dependency between pyconfig.h and pymacros.h. | ||||
* | ssue #19183: Implement PEP 456 'secure and interchangeable hash algorithm'. | Christian Heimes | 2013-11-20 | 1 | -1/+1 |
| | | | | Python now uses SipHash24 on all major platforms. | ||||
* | Issue #19014: memoryview.cast() is now allowed on zero-length views. | Antoine Pitrou | 2013-10-03 | 1 | -1/+1 |
|\ | |||||
| * | Issue #19014: memoryview.cast() is now allowed on zero-length views. | Antoine Pitrou | 2013-10-03 | 1 | -1/+1 |
| | | |||||
* | | Close #19078: memoryview now supports reversed | Nick Coghlan | 2013-10-02 | 1 | -1/+1 |
|/ | | | | Patch by Claudiu Popa | ||||
* | Fix error messages. | Stefan Krah | 2013-02-19 | 1 | -2/+3 |
| | |||||
* | Issue #15814: Use hash function that is compatible with the equality | Stefan Krah | 2012-11-02 | 1 | -0/+8 |
| | | | | definition from #15573. | ||||
* | Issue #15855: added docstrings for memoryview methods and data descriptors ↵ | Alexander Belopolsky | 2012-09-03 | 1 | -13/+28 |
| | | | | new in 3.3. | ||||
* | Issue #15855: added docstrings for memoryview methods and data descriptors ↵ | Alexander Belopolsky | 2012-09-03 | 1 | -10/+41 |
|\ | | | | | | | (merge 3.2). | ||||
| * | 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. ........ | ||||
* | | Close #15573: use value-based memoryview comparisons (patch by Stefan Krah) | Nick Coghlan | 2012-08-25 | 1 | -43/+283 |
| | | |||||
* | | Add unused parameter to a METH_NOARGS function. | Stefan Krah | 2012-07-28 | 1 | -5/+5 |
| | | |||||
* | | Issue #12834: Fix PyBuffer_ToContiguous() for non-contiguous arrays. | Stefan Krah | 2012-07-28 | 1 | -7/+70 |
| | | |||||
* | | Issue #14930: Make memoryview objects weakrefable. | Richard Oudkerk | 2012-05-28 | 1 | -1/+4 |
| | | |||||
* | | Issue #14181: Preserve backwards compatibility for getbufferprocs that a) do | Stefan Krah | 2012-03-05 | 1 | -1/+1 |
| | | | | | | | | | | not adhere to the new documentation and b) manage to clobber view->obj before returning failure. | ||||
* | | Issue #14181: Allow memoryview construction from an object that uses the | Stefan Krah | 2012-03-05 | 1 | -3/+0 |
| | | | | | | | | getbuffer redirection scheme. | ||||
* | | - Issue #10181: New memoryview implementation fixes multiple ownership | Stefan Krah | 2012-02-25 | 1 | -563/+2302 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | and lifetime issues of dynamically allocated Py_buffer members (#9990) as well as crashes (#8305, #7433). Many new features have been added (See whatsnew/3.3), and the documentation has been updated extensively. The ndarray test object from _testbuffer.c implements all aspects of PEP-3118, so further development towards the complete implementation of the PEP can proceed in a test-driven manner. Thanks to Nick Coghlan, Antoine Pitrou and Pauli Virtanen for review and many ideas. - Issue #12834: Fix incorrect results of memoryview.tobytes() for non-contiguous arrays. - Issue #5231: Introduce memoryview.cast() method that allows changing format and shape without making a copy of the underlying memory. | ||||
* | | Issue #13411: memoryview objects are now hashable when the underlying object ↵ | Antoine Pitrou | 2011-11-21 | 1 | -1/+33 |
| | | | | | | | | is hashable. | ||||
* | | Replace Py_NotImplemented returns with the macro form Py_RETURN_NOTIMPLEMENTED. | Brian Curtin | 2011-08-11 | 1 | -2/+1 |
| | | | | | | | | The macro was introduced in #12724. | ||||
* | | Issue #11286: Raise a ValueError from calling PyMemoryView_FromBuffer with | Antoine Pitrou | 2011-02-24 | 1 | -0/+5 |
|/ | | | | 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. |