- 12 Eyl, 2012 14 kayıt (commit)
-
-
Stefan Krah yazdı
-
Barry Warsaw yazdı
-
Barry Warsaw yazdı
-
Barry Warsaw yazdı
on the action's default, reverting it back to previous behavior. Conversion is only done on string defaults. Add a test for this and another test that ensures such type conversions are only called once.
-
Antoine Pitrou yazdı
-
Antoine Pitrou yazdı
-
Christian Heimes yazdı
Cleanup 'k' when the creation of PySTEntryObject fails. ad3824a90261 used to decref 'k' in too many error cases.
-
Christian Heimes yazdı
Cleanup 'k' when the creation of PySTEntryObject fails. ad3824a90261 used to decref 'k' in too many error cases.
-
Christian Heimes yazdı
-
Christian Heimes yazdı
-
Christian Heimes yazdı
Fix out of bounds read in long_new() for empty bytes with an explicit base. int(b'', somebase) calls PyLong_FromString() with char* of length 1 but the function accesses the first argument at offset 1. CID 715359
-
Christian Heimes yazdı
Fix out of bounds read in long_new() for empty bytes with an explicit base. int(b'', somebase) calls PyLong_FromString() with char* of length 1 but the function accesses the first argument at offset 1. CID 715359
-
Barry Warsaw yazdı
when action='append', type='str' and default=[].
-
Barry Warsaw yazdı
when action='append', type='str' and default=[].
-
- 11 Eyl, 2012 16 kayıt (commit)
-
-
Christian Heimes yazdı
-
R David Murray yazdı
-
R David Murray yazdı
-
Benjamin Peterson yazdı
-
Benjamin Peterson yazdı
-
Christian Heimes yazdı
Fix null pointer dereferencing in structmember.c PyMember_SetOne() for T_CHAR. _PyUnicode_AsStringAndSize() can return NULL without touching the len argument. Also remove unnecessary PyUnicode_Check(), _PyUnicode_AsStringAndSize() performance the test again. CID 486815
-
Christian Heimes yazdı
Fix null pointer dereferencing in structmember.c PyMember_SetOne() for T_CHAR. _PyUnicode_AsStringAndSize() can return NULL without touching the len argument. Also remove unnecessary PyUnicode_Check(), _PyUnicode_AsStringAndSize() performance the test again. CID 486815
-
Christian Heimes yazdı
Issue #15895: my analysis was slightly off. The FILE pointer is only leaked when set_main_loader() fails for a pyc file with closeit=0. In the success case run_pyc_file() does its own cleanup of the fp. I've changed the code to use another FILE ptr for pyc files and moved the fclose() to PyRun_SimpleFileExFlags() to make it more obvious what's happening.
-
Christian Heimes yazdı
Issue #15895: Fix FILE pointer leak in PyRun_SimpleFileExFlags() when filename points to a pyc/pyo file and closeit is false.
-
Christian Heimes yazdı
-
Christian Heimes yazdı
-
Senthil Kumaran yazdı
-
Senthil Kumaran yazdı
-
R David Murray yazdı
-
Jesus Cea yazdı
-
Jesus Cea yazdı
-
- 10 Eyl, 2012 10 kayıt (commit)
-
-
Jesus Cea yazdı
MERGE: #15676: mmap: add empty file check prior to offset check <- Previous patch was incomplete (fix 2)
-
Jesus Cea yazdı
-
Jesus Cea yazdı
-
Jesus Cea yazdı
-
Jesus Cea yazdı
-
Jesus Cea yazdı
-
Stefan Krah yazdı
constructing infinities. This is done for backwards compatibility with decimal.py: Infinity coefficients are undefined in _decimal (in accordance with the specification).
-
Christian Heimes yazdı
Fixed reference leak in error branch of _bufferedreader_read_all(). The variable data can contain a bytes object but it wasn't cleaned up when PyList_New() failed. CID 715364
-
Christian Heimes yazdı
Fixed memory leak in error branch of object_repr which may leak a reference to mod when type_qualname returns NULL. CID 715371
-
Christian Heimes yazdı
Fixed memory leak in error branch of object_repr which may leak a reference to mod when type_name returns NULL. CID 715371
-