summaryrefslogtreecommitdiffstats
path: root/Modules
Commit message (Collapse)AuthorAgeFilesLines
* 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.
| * Issue #23796: peak and read1 methods of BufferedReader now raise ValueErrorBerker Peksag2015-05-121-0/+5
| | | | | | | | | | | | if they called on a closed object. Patch by John Hergenroeder.
* | Issue #23488: Fix a syntax error on big endian platforms.Zachary Ware2015-05-181-1/+1
| | | | | | | | Hopefully this will allow the PPC64 PowerLinux buildbot to finish a test run.
* | allow test node after ** in calls (closes #24176)Benjamin Peterson2015-05-161-1/+1
| |
* | Fixed compilation error in signalmodule.c (issue #20182).Serhiy Storchaka2015-05-162-8/+8
| |
* | Issue #20182: converted the signal module to use Argument ClinicTal Einat2015-05-162-215/+678
| |
* | Tighten-up code by eliminating an unnecessary variable.Raymond Hettinger2015-05-161-10/+8
| |
* | Minor code clean-up.Raymond Hettinger2015-05-161-1/+1
| |
* | Issue #20172: Update clinicizations to current clinic.Zachary Ware2015-05-132-96/+130
| |
* | Issue #23488: Random generator objects now consume 2x less memory on 64-bit.Serhiy Storchaka2015-05-131-70/+68
| |
* | Issue #20172: Convert the _winapi module to Argument Clinic.Zachary Ware2015-05-132-396/+1292
| |
* | More timings suggest that 2500 is closer to the break-even point.Raymond Hettinger2015-05-131-1/+1
| |
* | Converted os._getfullpathname() and os._isdir() to Argument Clinic.Serhiy Storchaka2015-05-122-60/+112
| |
* | Issue #22486: Added the math.gcd() function. The fractions.gcd() function ↵Serhiy Storchaka2015-05-121-0/+28
| | | | | | | | | | | | now is deprecated. Based on patch by Mark Dickinson.
* | Issue #23796: peak and read1 methods of BufferedReader now raise ValueErrorBerker Peksag2015-05-121-0/+5
| | | | | | | | | | | | if they called on a closed object. Patch by John Hergenroeder.
* | Fixed compilation on Windows for issue #20173.Serhiy Storchaka2015-05-121-1/+1
| |
* | Issue #20173: Converted the _codecs module to Argument Clinic.Serhiy Storchaka2015-05-122-616/+1998
| |
* | PEP 0492 -- Coroutines with async and await syntax. Issue #24017.Yury Selivanov2015-05-122-12/+200
| |
* | mergeRaymond Hettinger2015-05-121-0/+5
|\ \ | |/
| * Defend against a mutation during comparisonRaymond Hettinger2015-05-121-0/+5
| |
* | Minor code cleanups.Raymond Hettinger2015-05-121-5/+5
| |
* | Minor stylistic clean-up.Raymond Hettinger2015-05-111-6/+6
| |
* | Issue #24155: Optimize heapify for better cache utililzation.Raymond Hettinger2015-05-111-0/+72
| |
* | merge 3.4Benjamin Peterson2015-05-091-2/+11
|\ \ | |/
| * ensure .keywords is always a dictBenjamin Peterson2015-05-091-9/+5
| |
* | merge 3.4 (#23042)Benjamin Peterson2015-05-091-18/+30
|\ \ | |/
| * fix libffi compilation on FreeBSD (#23042)Benjamin Peterson2015-05-091-18/+30
| | | | | | | | Patch from Marc-Andre Lemburg.
* | Issue #20274: When calling a _sqlite.Connection, it now complains if passedLarry Hastings2015-05-081-3/+6
|\ \ | |/ | | | | | | | | any keyword arguments. Previously it silently ignored them. Also: merge related change from 3.4, also reported on Issue #20274.
| * Issue #20274: Remove ignored and erroneous "kwargs" parameters from threeLarry Hastings2015-05-081-3/+3
| | | | | | | | METH_VARARGS methods on _sqlite.Connection.
* | Issue #24000: Improved Argument Clinic's mapping of converters to legacyLarry Hastings2015-05-084-10/+11
| | | | | | | | "format units". Updated the documentation to match.
* | Use specialized functions intead of Py_BuildValue() in _tkinter.Serhiy Storchaka2015-05-061-4/+4
| |