| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|