- 17 Sep, 2012 2 commits
-
-
Ezio Melotti authored
-
Ezio Melotti authored
-
- 15 Sep, 2012 6 commits
-
-
Antoine Pitrou authored
Patch by Jeremy Kloth.
-
Antoine Pitrou authored
Patch by Jeremy Kloth.
-
Ezio Melotti authored
-
Ezio Melotti authored
-
Ezio Melotti authored
-
Ezio Melotti authored
-
- 14 Sep, 2012 4 commits
-
-
Antoine Pitrou authored
Issue #15842: the SocketIO.{readable,writable,seekable} methods now raise ValueError when the file-like object is closed. Patch by Alessandro Moura.
-
Antoine Pitrou authored
Issue #15842: the SocketIO.{readable,writable,seekable} methods now raise ValueError when the file-like object is closed. Patch by Alessandro Moura.
-
Ezio Melotti authored
-
Ezio Melotti authored
-
- 13 Sep, 2012 3 commits
-
-
Ezio Melotti authored
-
Ezio Melotti authored
-
Richard Oudkerk authored
-
- 12 Sep, 2012 14 commits
-
-
Stefan Krah authored
-
Barry Warsaw authored
-
Barry Warsaw authored
-
Barry Warsaw authored
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 authored
-
Antoine Pitrou authored
-
Christian Heimes authored
Cleanup 'k' when the creation of PySTEntryObject fails. ad3824a90261 used to decref 'k' in too many error cases.
-
Christian Heimes authored
Cleanup 'k' when the creation of PySTEntryObject fails. ad3824a90261 used to decref 'k' in too many error cases.
-
Christian Heimes authored
-
Christian Heimes authored
-
Christian Heimes authored
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 authored
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 authored
when action='append', type='str' and default=[].
-
Barry Warsaw authored
when action='append', type='str' and default=[].
-
- 11 Sep, 2012 11 commits
-
-
Christian Heimes authored
-
R David Murray authored
-
R David Murray authored
-
Benjamin Peterson authored
-
Benjamin Peterson authored
-
Christian Heimes authored
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 authored
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 authored
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 authored
Issue #15895: Fix FILE pointer leak in PyRun_SimpleFileExFlags() when filename points to a pyc/pyo file and closeit is false.
-
Christian Heimes authored
-
Christian Heimes authored
-