Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Issue #29368: Fix _Pickle_FastCall() usage in do_append() | Victor Stinner | 2017-02-02 | 1 | -1/+0 |
| | | | | | _Pickle_FastCall() has a surprising API: it decrements the reference counter of its second argument. | ||||
* | Issue #29368: The extend() method is now called instead of the append() | Serhiy Storchaka | 2017-02-02 | 1 | -19/+41 |
| | | | | | method when unpickle collections.deque and other list-like objects. This can speed up unpickling to 2 times. | ||||
* | Issue #29190: Fixed possible errors in comparing strings in the pickle module. | Serhiy Storchaka | 2017-01-09 | 1 | -18/+15 |
|\ | |||||
| * | Issue #28959: Added private macro PyDict_GET_SIZE for retrieving the size of ↵ | Serhiy Storchaka | 2016-12-16 | 1 | -9/+6 |
| | | | | | | | | dict. | ||||
| * | Initialize variables to fix compiler warnings | Victor Stinner | 2016-12-09 | 1 | -3/+3 |
| | | | | | | | | | | Warnings seen on the "AMD64 Debian PGO 3.x" buildbot. Warnings are false positive, but variable initialization should not harm performances. | ||||
| * | Use _PyObject_CallMethodIdObjArgs() | Victor Stinner | 2016-12-09 | 1 | -3/+3 |
| | | | | | | | | | | | | | | | | | | 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. | ||||
| * | Issue #28858: Remove _PyObject_CallArg1() macro | Victor Stinner | 2016-12-05 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | | Replace _PyObject_CallArg1(func, arg) with PyObject_CallFunctionObjArgs(func, arg, NULL) Using the _PyObject_CallArg1() macro increases the usage of the C stack, which was unexpected and unwanted. PyObject_CallFunctionObjArgs() doesn't have this issue. | ||||
| * | Added the const qualifier to char* variables that refer to readonly internal | Serhiy Storchaka | 2016-11-20 | 1 | -2/+2 |
| | | | | | | | | UTF-8 represenatation of Unicode objects. | ||||
* | | Issue #29190: Fixed possible errors in comparing strings in the pickle module. | Serhiy Storchaka | 2017-01-09 | 1 | -12/+6 |
|\ \ | |/ |/| | |||||
| * | Issue #29190: Fixed possible errors in comparing strings in the pickle module. | Serhiy Storchaka | 2017-01-09 | 1 | -12/+6 |
| | | |||||
* | | Replaced outdated macros _PyUnicode_AsString and _PyUnicode_AsStringAndSize | Serhiy Storchaka | 2016-11-20 | 1 | -1/+1 |
| | | | | | | | | with PyUnicode_AsUTF8 and PyUnicode_AsUTF8AndSize. | ||||
* | | Issue #28701: Replace PyUnicode_CompareWithASCIIString with ↵ | Serhiy Storchaka | 2016-11-16 | 1 | -1/+1 |
|\ \ | |/ | | | | | | | | | _PyUnicode_EqualToASCIIString. The latter function is more readable, faster and doesn't raise exceptions. | ||||
| * | Issue #28701: Replace PyUnicode_CompareWithASCIIString with ↵ | Serhiy Storchaka | 2016-11-16 | 1 | -1/+1 |
| | | | | | | | | | | | | _PyUnicode_EqualToASCIIString. The latter function is more readable, faster and doesn't raise exceptions. | ||||
* | | Issue #25761: Improved error reporting about truncated pickle data in | Serhiy Storchaka | 2016-09-06 | 1 | -39/+41 |
| | | | | | | | | | | C implementation of unpickler. UnpicklingError is now raised instead of AttributeError and ValueError in some cases. | ||||
* | | Avoid inefficient way to call functions without argument | Victor Stinner | 2016-09-05 | 1 | -1/+1 |
| | | | | | | | | | | | | Don't pass "()" format to PyObject_CallXXX() to call a function without argument: pass NULL as the format string instead. It avoids to have to parse a string to produce 0 argument. | ||||
* | | Issue #27895: Spelling fixes (Contributed by Ville Skytt?). | Raymond Hettinger | 2016-08-30 | 1 | -2/+2 |
| | | |||||
* | | _pickle: remove outdated comment | Victor Stinner | 2016-08-25 | 1 | -11/+0 |
| | | | | | | | | | | | | | | _Pickle_FastCall() is now fast again! The optimization was introduced in Python 3.2, removed in Python 3.4 and reintroduced in Python 3.6 (thanks to the new generic fastcall functions). | ||||
* | | Rename _PyObject_FastCall() to _PyObject_FastCallDict() | Victor Stinner | 2016-08-22 | 1 | -3/+3 |
| | | | | | | | | | | | | | | | | Issue #27809: * Rename _PyObject_FastCall() function to _PyObject_FastCallDict() * Add _PyObject_FastCall(), _PyObject_CallNoArg() and _PyObject_CallArg1() macros calling _PyObject_FastCallDict() | ||||
* | | Issue #27128: _pickle uses fast call | Victor Stinner | 2016-08-19 | 1 | -15/+4 |
| | | | | | | | | Use _PyObject_FastCall() to avoid the creation of temporary tuple. | ||||
* | | Issue #17711: Fixed unpickling by the persistent ID with protocol 0. | Serhiy Storchaka | 2016-07-17 | 1 | -104/+194 |
|\ \ | |/ |/| | | | Original patch by Alexandre Vassalotti. | ||||
| * | - Issue #27332: Fixed the type of the first argument of module-level functions | Serhiy Storchaka | 2016-07-07 | 1 | -8/+8 |
| |\ | | | | | | | | | | generated by Argument Clinic. Patch by Petr Viktorin. | ||||
| * \ | Issue #27125: Merge typo fixes from 3.5 | Martin Panter | 2016-05-30 | 1 | -104/+194 |
| |\ \ | |||||
| | * \ | Issue #27076: Merge spelling from 3.5 | Martin Panter | 2016-05-26 | 1 | -6/+6 |
| | |\ \ | |||||
| | * | | | Issue #27056: Fix _Unpickler_Read() to avoid integer overflow | Victor Stinner | 2016-05-20 | 1 | -1/+1 |
| | | | | | |||||
| | * | | | Optimize pickle.load() and pickle.loads() | Victor Stinner | 2016-05-20 | 1 | -19/+26 |
| | | | | | | | | | | | | | | | | | | | | | | | | | Issue #27056: Optimize pickle.load() and pickle.loads(), up to 10% faster to deserialize a lot of small objects. | ||||
| | * | | | Issue #26778: Fixed "a/an/and" typos in code comment, documentation and error | Serhiy Storchaka | 2016-04-17 | 1 | -85/+168 |
| | |\ \ \ | | | | | | | | | | | | | | | | | | | messages. | ||||
| | | * \ \ | Issue #15984: Merge PyUnicode doc from 3.5 | Martin Panter | 2016-04-15 | 1 | -1/+1 |
| | | |\ \ \ | |||||
| | | * \ \ \ | Issue #22570: Renamed Py_SETREF to Py_XSETREF. | Serhiy Storchaka | 2016-04-06 | 1 | -84/+167 |
| | | |\ \ \ \ | |||||
| | | | * | | | | _pickle: Fix load_counted_tuple(), use Py_ssize_t for size | Victor Stinner | 2016-03-14 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix a warning on Windows 64-bit. | ||||
| | | | * | | | | Issue #20440: Cleaning up the code by using Py_SETREF. | Serhiy Storchaka | 2016-01-05 | 1 | -10/+2 |
| | | | | | | | | |||||
| | | | * | | | | Issue #20440: Applied yet one patch for using Py_SETREF. | Serhiy Storchaka | 2015-12-27 | 1 | -5/+3 |
| | | | |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | The patch is automatically generated, it replaces the code that uses Py_CLEAR. | ||||
| | | | * | | | | | Issue #25923: Added more const qualifiers to signatures of static and ↵ | Serhiy Storchaka | 2015-12-25 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | private functions. | ||||
| | | | * | | | | | Issue #25421: __sizeof__ methods of builtin types now use dynamic basic size. | Serhiy Storchaka | 2015-12-19 | 1 | -2/+2 |
| | | | |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This allows sys.getsize() to work correctly with their subclasses with __slots__ defined. | ||||
| | | | * | | | | | | Issue #25761: Fixed reference leak added in previous changeset (5c670af0100f). | Serhiy Storchaka | 2015-12-07 | 1 | -0/+1 |
| | | | | | | | | | | |||||
| | | | * | | | | | | Issue #25761: Improved detecting errors in broken pickle data. | Serhiy Storchaka | 2015-12-06 | 1 | -42/+69 |
| | | | | | | | | | | |||||
| | | | * | | | | | | Fixed reference leak when read truncated pickle. | Serhiy Storchaka | 2015-12-01 | 1 | -31/+94 |
| | | | |\ \ \ \ \ \ | |||||
| | | | | * \ \ \ \ \ | Issue #25725: Fixed a reference leak in pickle.loads() when unpickling | Serhiy Storchaka | 2015-11-25 | 1 | -31/+94 |
| | | | | |\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | invalid data including tuple instructions. | ||||
| | | | | | * \ \ \ \ \ | Issue #23914: Fixed SystemError raised by unpickler on broken pickle data. | Serhiy Storchaka | 2015-11-23 | 1 | -3/+16 |
| | | | | | |\ \ \ \ \ \ | |||||
| | | | | | * | | | | | | | Closes #25645: Fix a reference leak introduced by change bc5894a3a0e6 of the | Victor Stinner | 2015-11-17 | 1 | -0/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | issue #24164. | ||||
| | | | | | * | | | | | | | Issue #25558: Use compile-time asserts. | Serhiy Storchaka | 2015-11-07 | 1 | -1/+1 |
| | | | | | | | | | | | | | |||||
| | | | | | * | | | | | | | Issue #25523: Merge a-to-an corrections from 3.5 | Martin Panter | 2015-11-02 | 1 | -8/+8 |
| | | | | | |\ \ \ \ \ \ \ | |||||
| | | | | | * | | | | | | | | Issue #25353: Optimize unicode escape and raw unicode escape encoders to use | Victor Stinner | 2015-10-12 | 1 | -20/+24 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | the new _PyBytesWriter API. | ||||
| | | | | | * | | | | | | | | Issue #24164: Objects that need calling ``__new__`` with keyword arguments, | Serhiy Storchaka | 2015-10-10 | 1 | -10/+68 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | can now be pickled using pickle protocols older than protocol version 4. | ||||
* | | | | | | | | | | | | | | Issue #17711: Fixed unpickling by the persistent ID with protocol 0. | Serhiy Storchaka | 2016-07-17 | 1 | -12/+22 |
| |_|_|_|_|_|_|_|_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Original patch by Alexandre Vassalotti. | ||||
* | | | | | | | | | | | | | Issue #27332: Fixed the type of the first argument of module-level functions | Serhiy Storchaka | 2016-07-07 | 1 | -8/+8 |
|/ / / / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | generated by Argument Clinic. Patch by Petr Viktorin. | ||||
* | | | | | | | | | | | | Issue #27125: Remove duplicated words from documentation and comments | Martin Panter | 2016-05-30 | 1 | -1/+1 |
| |_|_|_|_|_|_|_|_|_|/ |/| | | | | | | | | | | |||||
* | | | | | | | | | | | Issue #27076: Doc, comment and tests spelling fixes | Martin Panter | 2016-05-26 | 1 | -6/+6 |
|/ / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Most fixes to Doc/ and Lib/ directories by Ville Skytt?. | ||||
* | | | | | | | | | | Issue #26778: Fixed "a/an/and" typos in code comment and documentation. | Serhiy Storchaka | 2016-04-17 | 1 | -1/+1 |
| |_|_|_|_|_|_|_|/ |/| | | | | | | | | |||||
* | | | | | | | | | Correct ?an? ? ?a? with ?Unicode?, ?user?, ?UTF?, etc | Martin Panter | 2016-04-15 | 1 | -1/+1 |
|/ / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | This affects documentation, code comments, and a debugging messages. | ||||
* | | | | | | | | Issue #22570: Renamed Py_SETREF to Py_XSETREF. | Serhiy Storchaka | 2016-04-06 | 1 | -2/+2 |
| | | | | | | | |