Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fixed memory leak in marshal. | Serhiy Storchaka | 2015-01-28 | 1 | -1/+3 |
| | |||||
* | Issue #22581: Use more "bytes-like object" throughout the docs and comments. | Serhiy Storchaka | 2014-12-05 | 1 | -1/+1 |
| | |||||
* | Fix compiler warning (on Windows 64-bit): explicit cast Py_ssize_t to unsigned | Victor Stinner | 2013-11-15 | 1 | -2/+2 |
| | | | | char, n is in range [0; 255] (a tuple cannot have a negative length) | ||||
* | Issue #19437: Cleanup r_ref() of the marshal module | Victor Stinner | 2013-10-31 | 1 | -5/+6 |
| | |||||
* | Issue #19437: Fix r_object() of marshal module, handle PyDict_SetItem() failure | Victor Stinner | 2013-10-31 | 1 | -3/+12 |
| | | | | for TYPE_DICT and stop immedialty on first r_object() failure | ||||
* | Issue #19437: Fix r_object() of marshal module, handle r_byte() failure for | Victor Stinner | 2013-10-31 | 1 | -0/+2 |
| | | | | TYPE_SMALL_TUPLE | ||||
* | Issue #19437: Fix r_PyLong() of marshal module, stop immediatly at first | Victor Stinner | 2013-10-31 | 1 | -4/+11 |
| | | | | failure, don't read any more data | ||||
* | Issue #1772673: The type of `char*` arguments now changed to `const char*`. | Serhiy Storchaka | 2013-10-19 | 1 | -3/+3 |
| | |||||
* | Close #19260: remove outdated comment in marshal.c | Antoine Pitrou | 2013-10-14 | 1 | -2/+0 |
| | |||||
* | Catch a few extra error cases in marshal.c | Kristján Valur Jónsson | 2013-10-13 | 1 | -0/+4 |
| | |||||
* | Issue #19219 Remove a lot of "retval = NULL" statements, now that retval | Kristján Valur Jónsson | 2013-10-13 | 1 | -79/+22 |
| | | | | is pre-initialized to that value. Test show a 5% speedup as a bonus. | ||||
* | Issue #19219: retval may be used uninitialized value | Christian Heimes | 2013-10-13 | 1 | -1/+1 |
| | | | | CID 486239: Uninitialized pointer read (UNINIT) | ||||
* | Try to fix weird assertion error on the Fedora buildbot. | Antoine Pitrou | 2013-10-12 | 1 | -3/+3 |
| | |||||
* | Issue #19219: Speed up marshal.loads(), and make pyc files slightly (5% to ↵ | Antoine Pitrou | 2013-10-12 | 1 | -126/+266 |
| | | | | 10%) smaller. | ||||
* | Issue #18783: Removed existing mentions of Python long type in docstrings, | Serhiy Storchaka | 2013-08-27 | 1 | -2/+2 |
|\ | | | | | | | error messages and comments. | ||||
| * | Issue #18783: Removed existing mentions of Python long type in docstrings, | Serhiy Storchaka | 2013-08-27 | 1 | -2/+2 |
| | | | | | | | | error messages and comments. | ||||
* | | Issue #18722: Remove uses of the "register" keyword in C code. | Antoine Pitrou | 2013-08-13 | 1 | -2/+2 |
| | | |||||
* | | Issue #17872: Fix a segfault in marshal.load() when input stream returns | Serhiy Storchaka | 2013-07-11 | 1 | -15/+20 |
|\ \ | |/ | | | | | more bytes than requested. | ||||
| * | Issue #17872: Fix a segfault in marshal.load() when input stream returns | Serhiy Storchaka | 2013-07-11 | 1 | -15/+20 |
| | | | | | | | | more bytes than requested. | ||||
* | | Fix reference leaks introduced by the patch for issue #5308. | Serhiy Storchaka | 2013-07-11 | 1 | -12/+11 |
|\ \ | |/ | |||||
| * | Fix reference leaks introduced by the patch for issue #5308. | Serhiy Storchaka | 2013-07-11 | 1 | -12/+11 |
| | | |||||
* | | Issue #18408: Fix marshal reader for Unicode strings: handle | Victor Stinner | 2013-07-08 | 1 | -0/+4 |
| | | | | | | | | PyUnicode_DecodeUTF8() failure (ex: MemoryError). | ||||
* | | marshal: optimize parsing of empty Unicode strings | Victor Stinner | 2013-06-21 | 1 | -12/+17 |
| | | | | | | | | | | Don't create a temporary buffer of zeroy byte nor call r_string() if the length is zero, create directly the empty string. | ||||
* | | Issue #15480: Remove the deprecated and unused TYPE_INT64 code from marshal. | Antoine Pitrou | 2013-04-13 | 1 | -46/+1 |
| | | | | | | | | Initial patch by Daniel Riti. | ||||
* | | Issue #16475 : Correctly handle the EOF when reading marshal streams. | Kristján Valur Jónsson | 2013-03-20 | 1 | -9/+9 |
| | | |||||
* | | Issue #16475: Simplify the interface to r_ref_allocate and improve comments. | Kristján Valur Jónsson | 2013-03-20 | 1 | -26/+33 |
| | | |||||
* | | fix compiler warning | Benjamin Peterson | 2013-03-20 | 1 | -1/+1 |
| | | |||||
* | | Backed out changeset 521232b05b97 | Benjamin Peterson | 2013-03-20 | 1 | -1/+1 |
| | | |||||
* | | fix compiler warning | Benjamin Peterson | 2013-03-20 | 1 | -1/+1 |
| | | |||||
* | | Issue #16475: Support object instancing, recursion and interned strings | Kristján Valur Jónsson | 2013-03-20 | 1 | -27/+245 |
|/ | | | | in marshal | ||||
* | Issue #5308: Raise ValueError when marshalling too large object (a sequence | Serhiy Storchaka | 2013-02-13 | 1 | -59/+59 |
|\ | | | | | | | with size >= 2**31), instead of producing illegal marshal data. | ||||
| * | Issue #5308: Raise ValueError when marshalling too large object (a sequence | Serhiy Storchaka | 2013-02-13 | 1 | -59/+59 |
| | | | | | | | | with size >= 2**31), instead of producing illegal marshal data. | ||||
* | | Issue #15466: Stop using TYPE_INT64 in marshal, | Martin v. Löwis | 2012-07-28 | 1 | -11/+5 |
| | | | | | | | | | | to make importlib.h (and other byte code files) equal between 32-bit and 64-bit systems. | ||||
* | | - Issue #14177: marshal.loads() now raises TypeError when given an unicode | Antoine Pitrou | 2012-03-03 | 1 | -4/+4 |
|\ \ | |/ | | | | | string. Patch by Guilherme Gonçalves. | ||||
| * | Issue #14177: marshal.loads() now raises TypeError when given an unicode string. | Antoine Pitrou | 2012-03-03 | 1 | -4/+4 |
| | | | | | | | | Patch by Guilherme Gonçalves. | ||||
* | | Simplify code in marshal.c. | Antoine Pitrou | 2012-03-02 | 1 | -7/+1 |
| | | |||||
* | | Issue #14172: Fix reference leak when marshalling a buffer-like object ↵ | Antoine Pitrou | 2012-03-02 | 1 | -4/+4 |
|\ \ | |/ | | | | | (other than a bytes object). | ||||
| * | Issue #14172: Fix reference leak when marshalling a buffer-like object ↵ | Antoine Pitrou | 2012-03-02 | 1 | -4/+4 |
| | | | | | | | | (other than a bytes object). | ||||
* | | Rename _Py_identifier to _Py_IDENTIFIER. | Martin v. Löwis | 2011-10-14 | 1 | -3/+3 |
| | | |||||
* | | Add API for static strings, primarily good for identifiers. | Martin v. Löwis | 2011-10-09 | 1 | -3/+8 |
| | | | | | | | | Thanks to Konrad Schöbel and Jasper Schulz for helping with the mass-editing. | ||||
* | | Implement PEP 393. | Martin v. Löwis | 2011-09-28 | 1 | -3/+1 |
| | | |||||
* | | Merge from 3.2 (#10318, #12255, #12043, #12417 and other fixes) | Éric Araujo | 2011-07-29 | 1 | -3/+3 |
|\ \ | |/ | |||||
| * | Fix style in code added by edba722f3b02 | Éric Araujo | 2011-07-26 | 1 | -3/+3 |
| | | |||||
| * | Removed some unused local variables. | Vinay Sajip | 2011-07-02 | 1 | -2/+0 |
| | | |||||
* | | Correct uninitialized data problem in marshal code. | Vinay Sajip | 2011-07-02 | 1 | -0/+1 |
| | | |||||
* | | Removed breaking typo accidentally introduced during merge with 3.2. | Vinay Sajip | 2011-07-02 | 1 | -4/+0 |
| | | |||||
* | | Closes #12291 for 3.3 - merged fix from 3.2. | Vinay Sajip | 2011-07-02 | 1 | -59/+155 |
|\ \ | |/ | |||||
| * | Closes #12291: Fixed bug which was found when doing multiple loads from one ↵ | Vinay Sajip | 2011-07-02 | 1 | -60/+155 |
| | | | | | | | | stream. | ||||
* | | try to use the same str object for all code filenames when compiling or ↵ | Benjamin Peterson | 2011-05-27 | 1 | -0/+19 |
| | | | | | | | | | | | | unmarshalling (#12190) This should reduce memory usage. | ||||
* | | remove unused string WILFE attribute | Benjamin Peterson | 2011-05-27 | 1 | -16/+0 |
|/ |