a50006c9773e80542a8d7a4cf3dad332e16c30fc |
|
30-Dec-2016 |
Stefan Krah <skrah@bytereef.org> |
Merge 3.5.
|
195319e6bb605e882d942f2268dbb0408c896ee1 |
|
30-Dec-2016 |
Stefan Krah <skrah@bytereef.org> |
Issue #29111: Fix memoryview signature.
/external/python/cpython3/Objects/memoryobject.c
|
82cce4c5ef4bd7fff4dafdd6a3ee7fb51a1333ad |
|
08-Sep-2016 |
Benjamin Peterson <benjamin@python.org> |
use static inline instead of Py_LOCAL_INLINE
/external/python/cpython3/Objects/memoryobject.c
|
a9296e7f3be4d6c22271b25c86467ff867c63bbb |
|
07-Sep-2016 |
Benjamin Peterson <benjamin@python.org> |
require C99 bool
/external/python/cpython3/Objects/memoryobject.c
|
af580dff4af3cb812cdd7a229a4a65059b3bc1ee |
|
06-Sep-2016 |
Benjamin Peterson <benjamin@python.org> |
replace PY_LONG_LONG with long long
/external/python/cpython3/Objects/memoryobject.c
|
ed4aa83ff77ff11059f64dab711adf35ce9d0e0f |
|
06-Sep-2016 |
Benjamin Peterson <benjamin@python.org> |
require a long long data type (closes #27961)
/external/python/cpython3/Objects/memoryobject.c
|
ef1585eb9a488ae8ce3ff057f43a7048b941cc1c |
|
25-Dec-2015 |
Serhiy Storchaka <storchaka@gmail.com> |
Issue #25923: Added more const qualifiers to signatures of static and private functions.
/external/python/cpython3/Objects/memoryobject.c
|
7c3f3859a570f2cff2dd55c80a7116f0505f22a8 |
|
10-Nov-2015 |
Stefan Krah <skrah@bytereef.org> |
Fix Visual Studio warning.
/external/python/cpython3/Objects/memoryobject.c
|
0ce5b6e2688ddf342780b663a095b3e0c9f5cc72 |
|
10-Nov-2015 |
Stefan Krah <skrah@bytereef.org> |
Iaaue #25598: Fix memory_hex from #9951 for non-contiguous buffers.
/external/python/cpython3/Objects/memoryobject.c
|
0c51595a784787d8e198af910cb6d79172ee52bb |
|
08-Aug-2015 |
Stefan Krah <skrah@bytereef.org> |
Issue #15944: memoryview: Allow arbitrary formats when casting to bytes. Original patch by Martin Panter.
/external/python/cpython3/Objects/memoryobject.c
|
8cb6569fe14ba8e57ab1a2bea68594747852a9d1 |
|
26-Apr-2015 |
Gregory P. Smith <greg@krypto.org> |
Implements issue #9951: Adds a hex() method to bytes, bytearray, & memoryview. Also updates a few internal implementations of the same thing to use the new built-in code. Contributed by Arnon Yaari.
/external/python/cpython3/Objects/memoryobject.c
|
31084ba52856329b972b84299b438bf5b73be292 |
|
19-Mar-2015 |
Antoine Pitrou <solipsis@pitrou.net> |
Issue #23632: Memoryviews now allow tuple indexing (including for multi-dimensional memoryviews).
/external/python/cpython3/Objects/memoryobject.c
|
009b811d678f36cf63be4fe26f3fbaa38aa0078e |
|
18-Mar-2015 |
Serhiy Storchaka <storchaka@gmail.com> |
Removed unintentional trailing spaces in non-external and non-generated C files.
/external/python/cpython3/Objects/memoryobject.c
|
f5324d7074d17b026ecd5ef7d7fc16f5e71b0db2 |
|
29-Jan-2015 |
Stefan Krah <skrah@bytereef.org> |
Closes #22668: Merge from 3.4.
|
fa5d6a5ff3ca247d9c2eaf51853ff39c98c09f4a |
|
29-Jan-2015 |
Stefan Krah <skrah@bytereef.org> |
Issue #22668: Ensure that format strings survive slicing after casting.
/external/python/cpython3/Objects/memoryobject.c
|
861470c83607a4312d3c65bce3e18414b965e586 |
|
05-Oct-2014 |
R David Murray <rdmurray@bitdance.com> |
#16518: Bring error messages in harmony with docs ("bytes-like object") 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.)
/external/python/cpython3/Objects/memoryobject.c
|
bcaf5999e6333c25778b0d4039fa5ee8c3e97035 |
|
18-May-2014 |
Stefan Krah <skrah@bytereef.org> |
Issue #20186: memoryobject.c: add function signatures.
/external/python/cpython3/Objects/memoryobject.c
|
45e8e2f2185fc593ae84a628922c5cbb1799b6ea |
|
14-May-2014 |
Victor Stinner <victor.stinner@gmail.com> |
Issue #21490: Add new C macros: Py_ABS() and Py_STRINGIFY() Keep _Py_STRINGIZE() in PC/pyconfig.h to not introduce a dependency between pyconfig.h and pymacros.h.
/external/python/cpython3/Objects/memoryobject.c
|
985ecdcfc29adfc36ce2339acf03f819ad414869 |
|
20-Nov-2013 |
Christian Heimes <christian@cheimes.de> |
ssue #19183: Implement PEP 456 'secure and interchangeable hash algorithm'. Python now uses SipHash24 on all major platforms.
/external/python/cpython3/Objects/memoryobject.c
|
0e61ed8400cbd3ad4e845f23f8e36ce989271f1b |
|
03-Oct-2013 |
Antoine Pitrou <solipsis@pitrou.net> |
Issue #19014: memoryview.cast() is now allowed on zero-length views.
|
60b183407cbcd19b211c2dd7ed9a59ff189844a8 |
|
03-Oct-2013 |
Antoine Pitrou <solipsis@pitrou.net> |
Issue #19014: memoryview.cast() is now allowed on zero-length views.
/external/python/cpython3/Objects/memoryobject.c
|
a0f169cde878f08c2873b0cdf42118439113a96f |
|
02-Oct-2013 |
Nick Coghlan <ncoghlan@gmail.com> |
Close #19078: memoryview now supports reversed Patch by Claudiu Popa
/external/python/cpython3/Objects/memoryobject.c
|
674a42b1141c2caa6e439a0cc47b07f620520ca4 |
|
19-Feb-2013 |
Stefan Krah <skrah@bytereef.org> |
Fix error messages.
/external/python/cpython3/Objects/memoryobject.c
|
4af77a027680f2aa956a4d1c50947d6e2dbd0185 |
|
02-Nov-2012 |
Stefan Krah <skrah@bytereef.org> |
Issue #15814: Use hash function that is compatible with the equality definition from #15573.
/external/python/cpython3/Objects/memoryobject.c
|
f73c69e06fbc96b8c26f6cfe2538bc2fd5ef4fda |
|
03-Sep-2012 |
Alexander Belopolsky <alexander.belopolsky@gmail.com> |
Issue #15855: added docstrings for memoryview methods and data descriptors new in 3.3.
/external/python/cpython3/Objects/memoryobject.c
|
e370c38131b3a5ebb434e17cff4e3362ddbb3f67 |
|
03-Sep-2012 |
Alexander Belopolsky <alexander.belopolsky@gmail.com> |
Issue #15855: added docstrings for memoryview methods and data descriptors (merge 3.2).
|
397e5c98bc27416fe8a407e39e4c5aa4baf94423 |
|
03-Sep-2012 |
Alexander Belopolsky <alexander.belopolsky@gmail.com> |
Issue #15855: added docstrings for memoryview methods and data descriptors.
/external/python/cpython3/Objects/memoryobject.c
|
06e1ab0a6b51c35e4637bb82c3aa18548b6412b0 |
|
25-Aug-2012 |
Nick Coghlan <ncoghlan@gmail.com> |
Close #15573: use value-based memoryview comparisons (patch by Stefan Krah)
/external/python/cpython3/Objects/memoryobject.c
|
e4c0799d9c5359b9c5115adf212d452137683c57 |
|
28-Jul-2012 |
Stefan Krah <skrah@bytereef.org> |
Add unused parameter to a METH_NOARGS function.
/external/python/cpython3/Objects/memoryobject.c
|
7d12d9df136b45785fb945dcb4812fdb068a2498 |
|
28-Jul-2012 |
Stefan Krah <skrah@bytereef.org> |
Issue #12834: Fix PyBuffer_ToContiguous() for non-contiguous arrays.
/external/python/cpython3/Objects/memoryobject.c
|
3e0a1eb8890c25b9d1f98bc2f4a4bbe2a0cdfdce |
|
28-May-2012 |
Richard Oudkerk <shibturn@gmail.com> |
Issue #14930: Make memoryview objects weakrefable.
/external/python/cpython3/Objects/memoryobject.c
|
1649c1b33a1d8f46ccf97b8373f62a22bbb3fde6 |
|
05-Mar-2012 |
Stefan Krah <skrah@bytereef.org> |
Issue #14181: Preserve backwards compatibility for getbufferprocs that a) do not adhere to the new documentation and b) manage to clobber view->obj before returning failure.
/external/python/cpython3/Objects/memoryobject.c
|
4e99a315b7d10049a16fb1529d2976f13dae5b71 |
|
05-Mar-2012 |
Stefan Krah <skrah@bytereef.org> |
Issue #14181: Allow memoryview construction from an object that uses the getbuffer redirection scheme.
/external/python/cpython3/Objects/memoryobject.c
|
9a2d99e28a5c2989b2db4023acae4f550885f2ef |
|
25-Feb-2012 |
Stefan Krah <skrah@bytereef.org> |
- Issue #10181: New memoryview implementation fixes multiple ownership 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.
/external/python/cpython3/Objects/memoryobject.c
|
ce4a9da70535b4bb9048147b141f01004af2133d |
|
21-Nov-2011 |
Antoine Pitrou <solipsis@pitrou.net> |
Issue #13411: memoryview objects are now hashable when the underlying object is hashable.
/external/python/cpython3/Objects/memoryobject.c
|
dfc80e3d97680ee26e509daba4a08502fefe22ee |
|
11-Aug-2011 |
Brian Curtin <brian@python.org> |
Replace Py_NotImplemented returns with the macro form Py_RETURN_NOTIMPLEMENTED. The macro was introduced in #12724.
/external/python/cpython3/Objects/memoryobject.c
|
915605c59a82ca0f0015c4deec40b3e211ccb0c1 |
|
24-Feb-2011 |
Antoine Pitrou <solipsis@pitrou.net> |
Merged revisions 88550 via svnmerge from 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. ........
/external/python/cpython3/Objects/memoryobject.c
|
5bffa79c227236a8bfde6bf174a1f3f0a43fd2ea |
|
24-Feb-2011 |
Antoine Pitrou <solipsis@pitrou.net> |
Issue #11286: Raise a ValueError from calling PyMemoryView_FromBuffer with a buffer struct having a NULL data pointer.
/external/python/cpython3/Objects/memoryobject.c
|
ad62b03949eca11677fd55df2f8d5f7ef5f504e8 |
|
18-Jan-2011 |
Antoine Pitrou <solipsis@pitrou.net> |
Issue #10451: memoryview objects could allow to mutate a readable buffer. Initial patch by Ross Lagerwall.
/external/python/cpython3/Objects/memoryobject.c
|
4d0d471a8031de90a2b1ce99c4ac4780e60b3bc9 |
|
03-Dec-2010 |
Martin v. Löwis <martin@v.loewis.de> |
Merge branches/pep-0384.
/external/python/cpython3/Objects/memoryobject.c
|
aeb6ceead796af4746f5b2f816b23654816033b7 |
|
04-Nov-2010 |
Antoine Pitrou <solipsis@pitrou.net> |
Issue #10293: Remove obsolete field in the PyMemoryView structure, unused undocumented value PyBUF_SHADOW, and strangely-looking code in PyMemoryView_GetContiguous.
/external/python/cpython3/Objects/memoryobject.c
|
83473288a8201f327ff11d5cfef5e3035fefda4f |
|
04-Nov-2010 |
Benjamin Peterson <benjamin@python.org> |
deuglify
/external/python/cpython3/Objects/memoryobject.c
|
6e6cc830c4968f040ded1e474db86a9aeb37c33e |
|
09-Sep-2010 |
Antoine Pitrou <solipsis@pitrou.net> |
Issue #9757: memoryview objects get a release() method to release the underlying buffer (previously this was only done when deallocating the memoryview), and gain support for the context management protocol.
/external/python/cpython3/Objects/memoryobject.c
|
c73b909a2b31f503278202148bfa85d9ccf085a4 |
|
01-Sep-2010 |
Antoine Pitrou <solipsis@pitrou.net> |
Fix a compilation warning
/external/python/cpython3/Objects/memoryobject.c
|
e0793ba99293ac9df5e7e27d3f78cfc27113b359 |
|
01-Sep-2010 |
Antoine Pitrou <solipsis@pitrou.net> |
Issue #9737: Fix a crash when trying to delete a slice or an item from a memoryview object.
/external/python/cpython3/Objects/memoryobject.c
|
f68c2a701bbca88da1299efe4aba84699827e791 |
|
01-Sep-2010 |
Antoine Pitrou <solipsis@pitrou.net> |
Issue #3101: Helper functions _add_one_to_C() and _add_one_to_F() become _Py_add_one_to_C() and _Py_add_one_to_F(), respectively.
/external/python/cpython3/Objects/memoryobject.c
|
f0f45142d52436d26ce8ed888c73496949caae90 |
|
11-Aug-2010 |
Alexander Belopolsky <alexander.belopolsky@gmail.com> |
Issue #2443: Added a new macro, Py_VA_COPY, which is equivalent to C99 va_copy, but available on all python platforms. Untabified a few unrelated files.
/external/python/cpython3/Objects/memoryobject.c
|
1ac745b5c52ab349e58f633d0a9d73cdb0e7b818 |
|
11-Jul-2010 |
Antoine Pitrou <solipsis@pitrou.net> |
Issue #7616: Fix copying of overlapping memoryview slices with the Intel compiler.
/external/python/cpython3/Objects/memoryobject.c
|
05b7c5644c9c7a5e7b656fc241e45ff171c16d84 |
|
02-Feb-2010 |
Antoine Pitrou <solipsis@pitrou.net> |
Merged revisions 77916 via svnmerge from 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. ........
/external/python/cpython3/Objects/memoryobject.c
|
61b96dc2fe814595651b6e1af394b34cb41fb485 |
|
04-Aug-2009 |
Georg Brandl <georg@python.org> |
Slightly improve buffer-related error message.
/external/python/cpython3/Objects/memoryobject.c
|
159eac92c50d37abc1c324de8762130bb6d6164a |
|
23-Jun-2009 |
Raymond Hettinger <python@rcn.com> |
Issue 6329: Fix iteration for memoryviews.
/external/python/cpython3/Objects/memoryobject.c
|
876185542d7d21701d8ee56af10ee88f6f8a516d |
|
08-Feb-2009 |
Benjamin Peterson <benjamin@python.org> |
remove memoryview.__str__ #5182
/external/python/cpython3/Objects/memoryobject.c
|
e94c679df0b632bc929936ca54f0de006e1a6dc2 |
|
02-Feb-2009 |
Mark Dickinson <dickinsm@gmail.com> |
Issue #1717: rename tp_compare to tp_reserved. I'll change the type of tp_compare in a separate commit, for ease of reversion should things go wrong.
/external/python/cpython3/Objects/memoryobject.c
|
35b7e837abeee2085e912fe31d38f867664acbe2 |
|
03-Jan-2009 |
Antoine Pitrou <solipsis@pitrou.net> |
Issue #4822: fix messy indentation in memoryobject.c/.h, before we may backport it to trunk. Reviewed on IRC by Georg Brandl, with assistance by Benjamin Peterson.
/external/python/cpython3/Objects/memoryobject.c
|
c3b39245a7695cf39ba5524f59deeff52b00e5f9 |
|
03-Jan-2009 |
Antoine Pitrou <solipsis@pitrou.net> |
Issue #4580: slicing of memoryviews when itemsize != 1 is wrong. 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.
/external/python/cpython3/Objects/memoryobject.c
|
bc420400eb8d51ed16aa0c759363cb4248d3c946 |
|
07-Dec-2008 |
Antoine Pitrou <solipsis@pitrou.net> |
Issue #4569: Interpreter crash when mutating a memoryview with an item size larger than 1. (together with a bit of reindenting)
/external/python/cpython3/Objects/memoryobject.c
|
5e19e4441335a70c9087402e9c487b66c9daca94 |
|
10-Sep-2008 |
Benjamin Peterson <benjamin@python.org> |
kill memoryview.size in favor of len(view) Reviewer: Antoine Pitrou #3827
/external/python/cpython3/Objects/memoryobject.c
|
c6b09ebe58a968a85c725c3c01a1d6bca16fada0 |
|
01-Sep-2008 |
Antoine Pitrou <solipsis@pitrou.net> |
#3712: The memoryview object had a reference leak and didn't support cyclic garbage collection. Reviewed by Benjamin Peterson.
/external/python/cpython3/Objects/memoryobject.c
|
616d28566b6b61ec92059b0151b79bdcf487bc5a |
|
20-Aug-2008 |
Antoine Pitrou <solipsis@pitrou.net> |
Issue #2394: implement more of the memoryview API.
/external/python/cpython3/Objects/memoryobject.c
|
ee58fa484ed535ec6d7f2b93cb3ef2addeb337e1 |
|
19-Aug-2008 |
Antoine Pitrou <solipsis@pitrou.net> |
#3560: cleanup C memoryview API
/external/python/cpython3/Objects/memoryobject.c
|
423be95dcf55b0b8737207beb7b30eb549430dba |
|
13-Aug-2008 |
Martin v. Löwis <martin@v.loewis.de> |
Merged revisions 65654 via svnmerge from 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*. ........
/external/python/cpython3/Objects/memoryobject.c
|
2f89aa678549eae1557247a36ed9194af9a4f7b7 |
|
02-Aug-2008 |
Antoine Pitrou <solipsis@pitrou.net> |
#2538: bytes objects can only provide read-only buffers
/external/python/cpython3/Objects/memoryobject.c
|
9c74b14fe9b6dddc9d41dd37f431f174350004d4 |
|
18-Jun-2008 |
Amaury Forgeot d'Arc <amauryfa@gmail.com> |
Merged revisions 64114 via svnmerge from 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. ........
/external/python/cpython3/Objects/memoryobject.c
|
3900088cb6d70769c7905ea0afa8b6f161186fde |
|
06-Jun-2008 |
Travis E. Oliphant <oliphant@enthought.com> |
Remove locking from buffer protocol as-per discussion.
/external/python/cpython3/Objects/memoryobject.c
|
9c4756ea265b5ebd71c9ae59f3673c7cecb6f060 |
|
26-May-2008 |
Christian Heimes <christian@cheimes.de> |
Renamed PyBytes to PyByteArray
/external/python/cpython3/Objects/memoryobject.c
|
217cfd1c86c59ed8a55ce6d6b88bbe37309e7ba2 |
|
02-Dec-2007 |
Christian Heimes <christian@cheimes.de> |
Cleanup: Replaced most PyInt_ aliases with PyLong_ and disabled the aliases in intobject.h
/external/python/cpython3/Objects/memoryobject.c
|
7b6fc8e19de53fc354144d21b7a644d77ff60410 |
|
08-Nov-2007 |
Christian Heimes <christian@cheimes.de> |
Fixed memoryview constructor. It allowed arbitrary keyword arguments. The bug was found by mykhal from #python. I've also added a small test case in the new test_memoryview.py
/external/python/cpython3/Objects/memoryobject.c
|
61ec0d32634eaa43bbe433628607c137d91736de |
|
26-Oct-2007 |
Neal Norwitz <nnorwitz@gmail.com> |
Fix some Py_ssize_t warnings on Win64 that were probably bugs
/external/python/cpython3/Objects/memoryobject.c
|
fe9bed02e430613f95849fa49aaa4f823a762738 |
|
13-Oct-2007 |
Travis E. Oliphant <oliphant@enthought.com> |
Fix problems with memoryview object. There is still more to do to finish PEP 3118. The memory-view object needs to be fleshed out and the struct module needs to be modified.
/external/python/cpython3/Objects/memoryobject.c
|
be801acbb1add9b6cc159f349dacad460ca5cc84 |
|
08-Oct-2007 |
Guido van Rossum <guido@python.org> |
Delete bufferobject.[ch]. This will undoubtedly require Windows build file changes too.
/external/python/cpython3/Objects/memoryobject.c
|
b35f128711e3dc618d92ab75eda3ba217904935e |
|
07-Oct-2007 |
Neal Norwitz <nnorwitz@gmail.com> |
At least one of the buildbots was complaining about newview being used without being initialized. Also make the code conform to the comment and return the new object. This code needs a test!
/external/python/cpython3/Objects/memoryobject.c
|
5dde61d0b96f6e22ef887e7cc262c479d9787eb7 |
|
26-Sep-2007 |
Guido van Rossum <guido@python.org> |
Whitespace and line lengrth cleanup.
/external/python/cpython3/Objects/memoryobject.c
|
8ae62b60940ae0f33b1792703f3255e9c6a6a88a |
|
23-Sep-2007 |
Travis E. Oliphant <oliphant@enthought.com> |
Change PyBuffer to Py_buffer to be consistent with other non-object structures like Py_complex. Add some more functionality to the memoryview object.
/external/python/cpython3/Objects/memoryobject.c
|
54cf12b625397ff52e30efd9b14f0b61edfdfd9d |
|
17-Sep-2007 |
Sean Reifscheider <jafo@tummy.com> |
Fixing the spelling of "writeable" to "writable", particularly PyBUF_WRITEABLE.
/external/python/cpython3/Objects/memoryobject.c
|
666bb419cb28b799794350abdc9d5a15e1dfc5dc |
|
19-Aug-2007 |
Neal Norwitz <nnorwitz@gmail.com> |
SF #1777057, fix memoryview('test') so it works in debug mode too. 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.
/external/python/cpython3/Objects/memoryobject.c
|
faa54a392951468090f0095ffa927b16fcb20ca4 |
|
19-Aug-2007 |
Neal Norwitz <nnorwitz@gmail.com> |
Code review of the new buffer protocol. Mostly add questions that should 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.
/external/python/cpython3/Objects/memoryobject.c
|
b99f762f10edb2646a634c2290ecb064bd52e5c7 |
|
18-Aug-2007 |
Travis E. Oliphant <oliphant@enthought.com> |
Merged in py3k-buffer branch to main line. All objects now use the buffer protocol in PEP 3118.
/external/python/cpython3/Objects/memoryobject.c
|