| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2018-12-07 | bpo-35436: Add missing PyErr_NoMemory() calls and other minor bug fixes. ↵ | Zackery Spytz | -2/+3 | |
| (GH-11015) (GH-11020) (cherry picked from commit 4c49da0cb7434c676d70b9ccf38aca82ac0d64a9) | ||||
| 2018-06-04 | bpo-33720: Reduces maximum marshal recursion depth on release builds. (GH-7401) | Miss Islington (bot) | -1/+7 | |
| (cherry picked from commit 2a4a62ba4ae770bbc7b7fdec0760031c83fe1f7b) Co-authored-by: Steve Dower <steve.dower@microsoft.com> | ||||
| 2017-11-15 | bpo-32011: Revert "Issue #15480: Remove the deprecated and unused TYPE_INT64 ↵ | Serhiy Storchaka | -0/+21 | |
| code from marshal." (#4381) Simplify the reverted code. This reverts commit e9bbe8b87ba2874efba0474af5cc7d5941dbf742. | ||||
| 2017-09-07 | remove current_filename optimization from marshal (#3423) (closes bpo-31384) | Benjamin Peterson | -19/+0 | |
| 2017-08-21 | bpo-30923: Silence fall-through warnings included in -Wextra since gcc-7.0. ↵ | Stefan Krah | -0/+3 | |
| (#3157) | ||||
| 2017-03-12 | bpo-20185: Convert the marshal module to Argument Clinic. (#541) | Serhiy Storchaka | -67/+84 | |
| Based on patch by Vajrasky Kok. | ||||
| 2017-03-12 | bpo-29746: Update marshal docs to Python 3. (#547) | Serhiy Storchaka | -14/+12 | |
| 2016-12-09 | Use _PyObject_CallMethodIdObjArgs() | Victor Stinner | -1/+1 | |
| Issue #28915: Replace _PyObject_CallMethodId() with _PyObject_CallMethodIdObjArgs() in various modules when the format string was only made of "O" formats, PyObject* arguments. _PyObject_CallMethodIdObjArgs() avoids the creation of a temporary tuple and doesn't have to parse a format string. | ||||
| 2016-12-01 | Replace PyObject_CallFunction() with fastcall | Victor Stinner | -1/+1 | |
| Replace PyObject_CallFunction(func, "O", arg) and PyObject_CallFunction(func, "O", arg, NULL) with _PyObject_CallArg1(func, arg) Replace PyObject_CallFunction(func, NULL) with _PyObject_CallNoArg(func) _PyObject_CallNoArg() and _PyObject_CallArg1() are simpler and don't allocate memory on the C stack. | ||||
| 2016-09-13 | Issue #28126: Replace Py_MEMCPY with memcpy(). Visual Studio can properly ↵ | Christian Heimes | -2/+2 | |
| optimize memcpy(). | ||||
| 2016-03-23 | Cleanup hashtable.h | Victor Stinner | -1/+1 | |
| Issue #26588: * Pass the hash table rather than the key size to hash and compare functions * _Py_HASHTABLE_READ_KEY() and _Py_HASHTABLE_ENTRY_READ_KEY() macros now expect the hash table as the first parameter, rather than the key size * tracemalloc_get_traces_fill(): use _Py_HASHTABLE_ENTRY_READ_DATA() rather than pointer dereference * Remove the _Py_HASHTABLE_ENTRY_WRITE_PKEY() macro * Move "PKEY" and "PDATA" macros inside hashtable.c | ||||
| 2016-03-23 | Issue #26588: | Victor Stinner | -1/+1 | |
| * _Py_HASHTABLE_ENTRY_DATA: change type from "char *" to "const void *" * Add _Py_HASHTABLE_ENTRY_WRITE_PKEY() macro * Rename _Py_HASHTABLE_ENTRY_WRITE_DATA() macro to _Py_HASHTABLE_ENTRY_WRITE_PDATA() * Add _Py_HASHTABLE_ENTRY_WRITE_DATA() macro | ||||
| 2016-03-21 | hashtable.h now supports keys of any size | Victor Stinner | -5/+10 | |
| Issue #26588: hashtable.h now supports keys of any size, not only sizeof(void*). It allows to support key larger than sizeof(void*), but also to use less memory for key smaller than sizeof(void*). | ||||
| 2016-03-21 | Ooops, revert changeset ea9efa06c137 | Victor Stinner | -7/+4 | |
| Change pushed by mistake, the patch is still under review :-/ """ _tracemalloc: add domain to trace keys * hashtable.h: key has now a variable size * _tracemalloc uses (pointer: void*, domain: unsigned int) as key for traces """ | ||||
| 2016-03-18 | _tracemalloc: add domain to trace keys | Victor Stinner | -4/+7 | |
| * hashtable.h: key has now a variable size * _tracemalloc uses (pointer: void*, domain: unsigned int) as key for traces | ||||
| 2016-01-23 | Issue #26146: marshal.loads() now uses the empty frozenset singleton | Victor Stinner | -29/+40 | |
| 2015-12-25 | Issue #25923: Added more const qualifiers to signatures of static and ↵ | Serhiy Storchaka | -16/+18 | |
| private functions. | ||||
| 2015-12-18 | Issue #25899: Converted non-ASCII characters in docstrings and manpage | Serhiy Storchaka | -2/+2 | |
| to ASCII replacements. Original patch by Chris Angelico. | ||||
| 2015-03-30 | Issue #23752: _Py_fstat() is now responsible to raise the Python exception | Victor Stinner | -1/+1 | |
| Add _Py_fstat_noraise() function when a Python exception is not welcome. | ||||
| 2015-03-24 | Issue #23753: Python doesn't support anymore platforms without stat() or | Victor Stinner | -4/+0 | |
| fstat(), these functions are always required. Remove HAVE_STAT and HAVE_FSTAT defines, and stop supporting DONT_HAVE_STAT and DONT_HAVE_FSTAT. | ||||
| 2015-02-21 | Issue #23152: Implement _Py_fstat() to support files larger than 2 GB on ↵ | Steve Dower | -6/+10 | |
| Windows. fstat() may fail with EOVERFLOW on files larger than 2 GB because the file size type is an signed 32-bit integer. | ||||
| 2015-02-16 | Issue #23450: Fixed possible integer overflows. | Serhiy Storchaka | -1/+1 | |
| 2015-02-11 | Splitted the WFILE structure to WFILE and RFILE. | Serhiy Storchaka | -6/+11 | |
| 2015-02-11 | Issue #23344: marshal.dumps() is now 20-25% faster on average. | Serhiy Storchaka | -21/+62 | |
| 2015-02-11 | Issue #20416: marshal.dumps() with protocols 3 and 4 is now 40-50% faster on | Serhiy Storchaka | -40/+55 | |
| average. | ||||
| 2015-01-28 | Fixed memory leak in marshal. | Serhiy Storchaka | -1/+3 | |
| 2015-01-28 | Fixed memory leak in marshal. | Serhiy Storchaka | -1/+3 | |
| 2014-12-05 | Issue #22581: Use more "bytes-like object" throughout the docs and comments. | Serhiy Storchaka | -1/+1 | |
| 2014-12-05 | Issue #22581: Use more "bytes-like object" throughout the docs and comments. | Serhiy Storchaka | -1/+1 | |
| 2014-11-01 | #22734 marshal needs a lower stack depth for debug builds on Windows | Steve Dower | -1/+1 | |
| 2014-05-14 | Issue #21490: Add new C macros: Py_ABS() and Py_STRINGIFY() | Victor Stinner | -5/+3 | |
| Keep _Py_STRINGIZE() in PC/pyconfig.h to not introduce a dependency between pyconfig.h and pymacros.h. | ||||
| 2013-11-16 | Fix compiler warning (on Windows 64-bit): explicit cast Py_ssize_t to unsigned | Victor Stinner | -2/+2 | |
| char, n is in range [0; 255] (a tuple cannot have a negative length) | ||||
| 2013-10-31 | Issue #19437: Cleanup r_ref() of the marshal module | Victor Stinner | -5/+6 | |
| 2013-10-31 | Issue #19437: Fix r_object() of marshal module, handle PyDict_SetItem() failure | Victor Stinner | -3/+12 | |
| for TYPE_DICT and stop immedialty on first r_object() failure | ||||
| 2013-10-31 | Issue #19437: Fix r_object() of marshal module, handle r_byte() failure for | Victor Stinner | -0/+2 | |
| TYPE_SMALL_TUPLE | ||||
| 2013-10-31 | Issue #19437: Fix r_PyLong() of marshal module, stop immediatly at first | Victor Stinner | -4/+11 | |
| failure, don't read any more data | ||||
| 2013-10-19 | Issue #1772673: The type of `char*` arguments now changed to `const char*`. | Serhiy Storchaka | -3/+3 | |
| 2013-10-14 | Close #19260: remove outdated comment in marshal.c | Antoine Pitrou | -2/+0 | |
| 2013-10-13 | Catch a few extra error cases in marshal.c | Kristján Valur Jónsson | -0/+4 | |
| 2013-10-13 | Issue #19219 Remove a lot of "retval = NULL" statements, now that retval | Kristján Valur Jónsson | -79/+22 | |
| is pre-initialized to that value. Test show a 5% speedup as a bonus. | ||||
| 2013-10-13 | Issue #19219: retval may be used uninitialized value | Christian Heimes | -1/+1 | |
| CID 486239: Uninitialized pointer read (UNINIT) | ||||
| 2013-10-12 | Try to fix weird assertion error on the Fedora buildbot. | Antoine Pitrou | -3/+3 | |
| 2013-10-12 | Issue #19219: Speed up marshal.loads(), and make pyc files slightly (5% to ↵ | Antoine Pitrou | -122/+262 | |
| 10%) smaller. | ||||
| 2013-08-27 | Issue #18783: Removed existing mentions of Python long type in docstrings, | Serhiy Storchaka | -2/+2 | |
| error messages and comments. | ||||
| 2013-08-27 | Issue #18783: Removed existing mentions of Python long type in docstrings, | Serhiy Storchaka | -2/+2 | |
| error messages and comments. | ||||
| 2013-08-13 | Issue #18722: Remove uses of the "register" keyword in C code. | Antoine Pitrou | -2/+2 | |
| 2013-07-11 | Issue #17872: Fix a segfault in marshal.load() when input stream returns | Serhiy Storchaka | -15/+20 | |
| more bytes than requested. | ||||
| 2013-07-11 | Issue #17872: Fix a segfault in marshal.load() when input stream returns | Serhiy Storchaka | -15/+20 | |
| more bytes than requested. | ||||
| 2013-07-11 | Fix reference leaks introduced by the patch for issue #5308. | Serhiy Storchaka | -12/+11 | |
| 2013-07-11 | Fix reference leaks introduced by the patch for issue #5308. | Serhiy Storchaka | -12/+11 | |
