Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge 3.4 | Victor Stinner | 2015-07-16 | 1 | -0/+3 |
|\ | |||||
| * | Closes #23247: Fix a crash in the StreamWriter.reset() of CJK codecs | Victor Stinner | 2015-07-16 | 1 | -0/+3 |
| | | |||||
* | | Issue #18684: Fixed reading out of the buffer in the re module. | Serhiy Storchaka | 2015-07-06 | 2 | -14/+41 |
|\ \ | |/ | |||||
| * | Issue #18684: Fixed reading out of the buffer in the re module. | Serhiy Storchaka | 2015-07-06 | 2 | -14/+41 |
| | | |||||
* | | Issue #19235: Add new RecursionError exception. Patch by Georg Brandl. | Yury Selivanov | 2015-07-03 | 2 | -2/+3 |
| | | |||||
* | | merge 3.4 (#24552) | Benjamin Peterson | 2015-07-02 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | fix use after free (closes #24552) | Benjamin Peterson | 2015-07-02 | 1 | -1/+1 |
| | | |||||
* | | Issue #19176: Fixed doctype() related bugs in C implementation of ElementTree. | Serhiy Storchaka | 2015-06-29 | 2 | -23/+54 |
|\ \ | |/ | | | | | | | | | | | A deprecation warning no longer issued by XMLParser subclass with default doctype() method. Direct call of doctype() now issues a warning. Parser's doctype() now is not called if target's doctype() is called. Based on patch by Martin Panter. | ||||
| * | Issue #19176: Fixed doctype() related bugs in C implementation of ElementTree. | Serhiy Storchaka | 2015-06-29 | 1 | -14/+21 |
| | | | | | | | | | | | | | | A deprecation warning no longer issued by XMLParser subclass with default doctype() method. Direct call of doctype() now issues a warning. Parser's doctype() now is not called if target's doctype() is called. Based on patch by Martin Panter. | ||||
* | | Issue #24456: Fixed possible buffer over-read in adpcm2lin() and lin2adpcm() | Serhiy Storchaka | 2015-06-28 | 1 | -13/+26 |
|\ \ | |/ | | | | | functions of the audioop module. | ||||
| * | Issue #24456: Fixed possible buffer over-read in adpcm2lin() and lin2adpcm() | Serhiy Storchaka | 2015-06-28 | 1 | -13/+26 |
| | | | | | | | | functions of the audioop module. | ||||
* | | upgrade to Unicode 8.0.0 | Benjamin Peterson | 2015-06-27 | 3 | -21852/+23415 |
| | | |||||
* | | prevent integer overflow in escape_unicode (closes #24522) | Benjamin Peterson | 2015-06-27 | 1 | -3/+9 |
| | | |||||
* | | merge 3.4 | Benjamin Peterson | 2015-06-27 | 1 | -16/+10 |
|\ \ | |/ | |||||
| * | merge 3.3 | Benjamin Peterson | 2015-06-27 | 1 | -16/+10 |
| |\ | |||||
| | * | use safe allocation and reallocation macros | Benjamin Peterson | 2015-06-27 | 1 | -16/+10 |
| | | | |||||
* | | | Issue #24489: ensure a previously set C errno doesn't disturb cmath.polar(). | Antoine Pitrou | 2015-06-23 | 2 | -1/+15 |
|\ \ \ | |/ / | |||||
| * | | Issue #24489: ensure a previously set C errno doesn't disturb cmath.polar(). | Antoine Pitrou | 2015-06-23 | 2 | -1/+15 |
| | | | |||||
* | | | Fixed indentation of Python examples in C comments. | Serhiy Storchaka | 2015-06-10 | 1 | -11/+11 |
|\ \ \ | |/ / | |||||
| * | | Fixed indentation of Python examples in C comments. | Serhiy Storchaka | 2015-06-10 | 1 | -11/+11 |
| | | | |||||
* | | | Issue #14373: C implementation of functools.lru_cache() now can be used with | Serhiy Storchaka | 2015-06-08 | 1 | -1/+11 |
| | | | | | | | | | | | | methods. | ||||
* | | | Issue #23659: Document **fmtparams in csv.register_dialect docstring. | Berker Peksag | 2015-06-05 | 1 | -1/+1 |
|\ \ \ | |/ / | | | | | | | Initial patch by Brandon Milam. | ||||
| * | | Issue #23659: Document **fmtparams in csv.register_dialect docstring. | Berker Peksag | 2015-06-05 | 1 | -1/+1 |
| | | | | | | | | | | | | Initial patch by Brandon Milam. | ||||
* | | | Issue #24373: Eliminate PEP 489 test refleaks | Nick Coghlan | 2015-06-04 | 2 | -12/+34 |
| | | | | | | | | | | | | | | | | | | | | | _testmultiphase and xxlimited now use tp_traverse and tp_finalize to avoid reference leaks encountered when combining tp_dealloc with PyType_FromSpec (see issue #16690 for details) | ||||
* | | | Issue #19543: Implementation of isclose as per PEP 485 | Tal Einat | 2015-05-31 | 3 | -1/+199 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | For details, see: PEP 0485 -- A Function for testing approximate equality Functions added: math.isclose() and cmath.isclose(). Original code by Chris Barker. Patch by Tal Einat. | ||||
* | | | Issue #24115: Update uses of PyObject_IsTrue(), PyObject_Not(), | Serhiy Storchaka | 2015-05-30 | 3 | -15/+31 |
|\ \ \ | |/ / | | | | | | | | | | PyObject_IsInstance(), PyObject_RichCompareBool() and _PyDict_Contains() to check for and handle errors correctly. | ||||
| * | | Issue #24115: Update uses of PyObject_IsTrue(), PyObject_Not(), | Serhiy Storchaka | 2015-05-30 | 3 | -15/+31 |
| | | | | | | | | | | | | | | | PyObject_IsInstance(), PyObject_RichCompareBool() and _PyDict_Contains() to check for and handle errors correctly. | ||||
* | | | Specify default values of semantic booleans in Argument Clinic generated ↵ | Serhiy Storchaka | 2015-05-30 | 4 | -17/+17 |
| | | | | | | | | | | | | signatures as booleans. | ||||
* | | | Use converter names instead of format units in Argument Clinic descriptions | Serhiy Storchaka | 2015-05-30 | 1 | -3/+3 |
| | | | | | | | | | | | | in builtin and _crypt modules. | ||||
* | | | Issue #16991: Add a C implementation of collections.OrderedDict. | Eric Snow | 2015-05-30 | 1 | -0/+3 |
| | | | |||||
* | | | fix importing one char extension modules (closes #24328) | Benjamin Peterson | 2015-05-29 | 1 | -0/+8 |
| | | | |||||
* | | | Issue #24326: Fixed audioop.ratecv() with non-default weightB argument. | Serhiy Storchaka | 2015-05-29 | 1 | -1/+1 |
|\ \ \ | |/ / | | | | | | | Original patch by David Moore. | ||||
| * | | Issue #24326: Fixed audioop.ratecv() with non-default weightB argument. | Serhiy Storchaka | 2015-05-29 | 1 | -1/+1 |
| | | | | | | | | | | | | Original patch by David Moore. | ||||
* | | | Issue 24017: Drop getawaitablefunc and friends in favor of unaryfunc. | Yury Selivanov | 2015-05-28 | 1 | -1/+1 |
| | | | |||||
* | | | Backed out changeset: b0a0b9b59012 | Serhiy Storchaka | 2015-05-24 | 1 | -1/+546 |
| | | | |||||
* | | | Backed out changeset 57776eee74f2 | Larry Hastings | 2015-05-23 | 1 | -546/+1 |
| | | | |||||
* | | | Issue #14373: Added C implementation of functools.lru_cache(). Based on | Serhiy Storchaka | 2015-05-23 | 1 | -1/+546 |
| | | | | | | | | | | | | patches by Matt Joiner and Alexey Kachayev. | ||||
* | | | Fixes cast warning in bufferedio.c | Steve Dower | 2015-05-23 | 1 | -1/+1 |
| | | | |||||
* | | | Issue #24268: Address some PEP 489 refleaks | Nick Coghlan | 2015-05-23 | 1 | -0/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | - missing DECREF in PyModule_FromDefAndSpec2 - missing DECREF in PyType_FromSpecAndBases2 - missing DECREF in _testmultiphase module Patch by Petr Viktorin | ||||
* | | | PEP 489: Multi-phase extension module initialization | Nick Coghlan | 2015-05-23 | 7 | -100/+692 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Known limitations of the current implementation: - documentation changes are incomplete - there's a reference leak I haven't tracked down yet The leak is most visible by running: ./python -m test -R3:3 test_importlib However, you can also see it by running: ./python -X showrefcount Importing the array or _testmultiphase modules, and then deleting them from both sys.modules and the local namespace shows significant increases in the total number of active references each cycle. By contrast, with _testcapi (which continues to use single-phase initialisation) the global refcounts stabilise after a couple of cycles. | ||||
* | | | Issue 24244: Prevents termination when an invalid format string is ↵ | Steve Dower | 2015-05-22 | 1 | -7/+2 |
| | | | | | | | | | | | | encountered on Windows. | ||||
* | | | Issue #20035: Reimplement tkinter._fix module as a C function. | Zachary Ware | 2015-05-22 | 1 | -1/+118 |
| | | | | | | | | | | | | | | | The new private C function makes no permanent changes to the environment and is #ifdef'd out on non-Windows platforms. | ||||
* | | | Issue #24257: Fixed incorrect uses of PyObject_IsInstance(). | Serhiy Storchaka | 2015-05-22 | 1 | -1/+1 |
|\ \ \ | |/ / | | | | | | | | | | Fixed segmentation fault in sqlite3.Row constructor with faked cursor type. Fixed system error in the comparison of faked types.SimpleNamespace. | ||||
| * | | Issue #24257: Fixed incorrect uses of PyObject_IsInstance(). | Serhiy Storchaka | 2015-05-22 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | Fixed segmentation fault in sqlite3.Row constructor with faked cursor type. Fixed system error in the comparison of faked types.SimpleNamespace. | ||||
* | | | Issue #24221: Small optimizations for heapq. | Raymond Hettinger | 2015-05-22 | 1 | -37/+43 |
| | | | | | | | | | | | | | | | | | | | | | Replaces the PyList_GET_ITEM and PyList_SET_ITEM macros with normal array accesses. Replace the siftup unpredicatable branch with arithmetic. Replace the rc == -1 tests with rc < 0. Gives nicer looking assembly with both Clang and GCC-4.9. Also gives a small performance both for both. | ||||
* | | | Issue #22955: Fixed reference leak in attrgetter.repr(). | Serhiy Storchaka | 2015-05-21 | 1 | -1/+3 |
| | | | |||||
* | | | Issue #9858: Add missing method stubs to _io.RawIOBase. Patch by Laura ↵ | Antoine Pitrou | 2015-05-20 | 1 | -0/+16 |
| | | | | | | | | | | | | Rupprecht. | ||||
* | | | Issue #22955: attrgetter, itemgetter and methodcaller objects in the operator | Serhiy Storchaka | 2015-05-20 | 1 | -7/+270 |
| | | | | | | | | | | | | | | | module now support pickling. Added readable and evaluable repr for these objects. Based on patch by Josh Rosenberg. | ||||
* | | | Issue #24091: Fixed various crashes in corner cases in C implementation of | Serhiy Storchaka | 2015-05-18 | 1 | -46/+96 |
|\ \ \ | |/ / | | | | | | | ElementTree. | ||||
| * | | Issue #24091: Fixed various crashes in corner cases in C implementation of | Serhiy Storchaka | 2015-05-18 | 1 | -47/+97 |
| | | | | | | | | | | | | ElementTree. |