| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
| |
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.
........
|
| |
|
| |
|
| |
|
|
|
|
|
| |
type of tp_compare in a separate commit, for ease of reversion
should things go wrong.
|
|
|
|
|
|
| |
backport it to trunk.
Reviewed on IRC by Georg Brandl, with assistance by Benjamin Peterson.
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
larger than 1.
(together with a bit of reindenting)
|
|
|
|
| |
Reviewer: Antoine Pitrou #3827
|
|
|
|
|
|
| |
garbage collection.
Reviewed by Benjamin Peterson.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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*.
........
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
........
|
| |
|
| |
|
|
|
|
| |
in intobject.h
|
|
|
|
| |
bug was found by mykhal from #python. I've also added a small test case in the new test_memoryview.py
|
| |
|
|
|
|
| |
PEP 3118. The memory-view object needs to be fleshed out and the struct module needs to be modified.
|
|
|
|
| |
This will undoubtedly require Windows build file changes too.
|
|
|
|
|
| |
without being initialized. Also make the code conform to the comment and
return the new object. This code needs a test!
|
| |
|
|
|
|
| |
structures like Py_complex. Add some more functionality to the memoryview object.
|
| |
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
protocol in PEP 3118.
|