summaryrefslogtreecommitdiffstats
path: root/Modules
Commit message (Collapse)AuthorAgeFilesLines
* Merge 3.4Victor Stinner2015-07-161-0/+3
|\
| * Closes #23247: Fix a crash in the StreamWriter.reset() of CJK codecsVictor Stinner2015-07-161-0/+3
| |
* | Issue #18684: Fixed reading out of the buffer in the re module.Serhiy Storchaka2015-07-062-14/+41
|\ \ | |/
| * Issue #18684: Fixed reading out of the buffer in the re module.Serhiy Storchaka2015-07-062-14/+41
| |
* | Issue #19235: Add new RecursionError exception. Patch by Georg Brandl.Yury Selivanov2015-07-032-2/+3
| |
* | merge 3.4 (#24552)Benjamin Peterson2015-07-021-1/+1
|\ \ | |/
| * fix use after free (closes #24552)Benjamin Peterson2015-07-021-1/+1
| |
* | Issue #19176: Fixed doctype() related bugs in C implementation of ElementTree.Serhiy Storchaka2015-06-292-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 Storchaka2015-06-291-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 Storchaka2015-06-281-13/+26
|\ \ | |/ | | | | functions of the audioop module.
| * Issue #24456: Fixed possible buffer over-read in adpcm2lin() and lin2adpcm()Serhiy Storchaka2015-06-281-13/+26
| | | | | | | | functions of the audioop module.
* | upgrade to Unicode 8.0.0Benjamin Peterson2015-06-273-21852/+23415
| |
* | prevent integer overflow in escape_unicode (closes #24522)Benjamin Peterson2015-06-271-3/+9
| |
* | merge 3.4Benjamin Peterson2015-06-271-16/+10
|\ \ | |/
| * merge 3.3Benjamin Peterson2015-06-271-16/+10
| |\
| | * use safe allocation and reallocation macrosBenjamin Peterson2015-06-271-16/+10
| | |
* | | Issue #24489: ensure a previously set C errno doesn't disturb cmath.polar().Antoine Pitrou2015-06-232-1/+15
|\ \ \ | |/ /
| * | Issue #24489: ensure a previously set C errno doesn't disturb cmath.polar().Antoine Pitrou2015-06-232-1/+15
| | |
* | | Fixed indentation of Python examples in C comments.Serhiy Storchaka2015-06-101-11/+11
|\ \ \ | |/ /
| * | Fixed indentation of Python examples in C comments.Serhiy Storchaka2015-06-101-11/+11
| | |
* | | Issue #14373: C implementation of functools.lru_cache() now can be used withSerhiy Storchaka2015-06-081-1/+11
| | | | | | | | | | | | methods.
* | | Issue #23659: Document **fmtparams in csv.register_dialect docstring.Berker Peksag2015-06-051-1/+1
|\ \ \ | |/ / | | | | | | Initial patch by Brandon Milam.
| * | Issue #23659: Document **fmtparams in csv.register_dialect docstring.Berker Peksag2015-06-051-1/+1
| | | | | | | | | | | | Initial patch by Brandon Milam.
* | | Issue #24373: Eliminate PEP 489 test refleaksNick Coghlan2015-06-042-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 485Tal Einat2015-05-313-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 Storchaka2015-05-303-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 Storchaka2015-05-303-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 Storchaka2015-05-304-17/+17
| | | | | | | | | | | | signatures as booleans.
* | | Use converter names instead of format units in Argument Clinic descriptionsSerhiy Storchaka2015-05-301-3/+3
| | | | | | | | | | | | in builtin and _crypt modules.
* | | Issue #16991: Add a C implementation of collections.OrderedDict.Eric Snow2015-05-301-0/+3
| | |
* | | fix importing one char extension modules (closes #24328)Benjamin Peterson2015-05-291-0/+8
| | |
* | | Issue #24326: Fixed audioop.ratecv() with non-default weightB argument.Serhiy Storchaka2015-05-291-1/+1
|\ \ \ | |/ / | | | | | | Original patch by David Moore.
| * | Issue #24326: Fixed audioop.ratecv() with non-default weightB argument.Serhiy Storchaka2015-05-291-1/+1
| | | | | | | | | | | | Original patch by David Moore.
* | | Issue 24017: Drop getawaitablefunc and friends in favor of unaryfunc.Yury Selivanov2015-05-281-1/+1
| | |
* | | Backed out changeset: b0a0b9b59012Serhiy Storchaka2015-05-241-1/+546
| | |
* | | Backed out changeset 57776eee74f2Larry Hastings2015-05-231-546/+1
| | |
* | | Issue #14373: Added C implementation of functools.lru_cache(). Based onSerhiy Storchaka2015-05-231-1/+546
| | | | | | | | | | | | patches by Matt Joiner and Alexey Kachayev.
* | | Fixes cast warning in bufferedio.cSteve Dower2015-05-231-1/+1
| | |
* | | Issue #24268: Address some PEP 489 refleaksNick Coghlan2015-05-231-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 initializationNick Coghlan2015-05-237-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 Dower2015-05-221-7/+2
| | | | | | | | | | | | encountered on Windows.
* | | Issue #20035: Reimplement tkinter._fix module as a C function.Zachary Ware2015-05-221-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 Storchaka2015-05-221-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 Storchaka2015-05-221-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 Hettinger2015-05-221-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 Storchaka2015-05-211-1/+3
| | |
* | | Issue #9858: Add missing method stubs to _io.RawIOBase. Patch by Laura ↵Antoine Pitrou2015-05-201-0/+16
| | | | | | | | | | | | Rupprecht.
* | | Issue #22955: attrgetter, itemgetter and methodcaller objects in the operatorSerhiy Storchaka2015-05-201-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 ofSerhiy Storchaka2015-05-181-46/+96
|\ \ \ | |/ / | | | | | | ElementTree.
| * | Issue #24091: Fixed various crashes in corner cases in C implementation ofSerhiy Storchaka2015-05-181-47/+97
| | | | | | | | | | | | ElementTree.