cpython/Modules
Raymond Hettinger 277842eff1 Issue #21424: Optimize heaqp.nlargest() to make fewer tuple comparisons.
Consolidates the logic for nlargest() into a single function so that
decoration tuples (elem,order) or (key, order, elem) only need to
be formed when a new element is added to the heap.  Formerly, a tuple
was created for every element regardless of whether it was added to
the heap.

The change reduces the number of tuples created, the number of ordering
integers created, and total number of tuple comparisons.
2014-05-11 01:55:46 -07:00
..
_ctypes merge 3.3 (#20946) 2014-03-16 11:30:54 -05:00
_decimal Use $type instead of $cls in the signature specification. 2014-05-02 14:34:11 +02:00
_io Issue #21396: Fix TextIOWrapper(..., write_through=True) to not force a flush() on the underlying binary stream. 2014-05-09 00:31:32 +02:00
_multiprocessing Fix conversion from Py_ssize_t to int. 2013-09-07 17:40:45 +01:00
_sqlite Issue #20437: Fixed 22 potential bugs when deleting objects references. 2014-02-09 13:46:20 +02:00
cjkcodecs Issue #19515: Remove identifiers duplicated in the same file. 2013-11-12 21:39:02 +01:00
clinic Issue #20530: Argument Clinic's signature format has been revised again. 2014-02-08 22:15:29 -08:00
expat merge 3.3 (#19186) 2014-02-04 10:12:18 -05:00
zlib Issue #18527: Upgrade internal copy of zlib to 1.2.8 2013-10-21 12:03:09 +02:00
Setup.config.in Issue #21076: the C signal module has been renamed to _signal 2014-04-04 16:30:04 +02:00
Setup.dist Issue #18874: Implement the PEP 454 (tracemalloc) 2013-11-23 12:27:24 +01:00
_bisectmodule.c Issue #19514: Deduplicate some _Py_IDENTIFIER declarations. 2013-11-07 18:46:53 +01:00
_bz2module.c Issue #20326: Argument Clinic now uses a simple, unique signature to 2014-01-28 05:00:08 -08:00
_codecsmodule.c Issue #18722: Remove uses of the "register" keyword in C code. 2013-08-13 20:18:52 +02:00
_collectionsmodule.c Issue #21101: Eliminate double hashing in the C code for collections.Counter(). 2014-05-03 16:41:19 -07:00
_cryptmodule.c Issue #20530: Argument Clinic's signature format has been revised again. 2014-02-08 22:15:29 -08:00
_csv.c Issue #18829: csv.Dialect() now checks type for delimiter, escapechar and 2013-12-19 16:28:04 +02:00
_curses_panel.c Issue #18408: Fix PyInit__curses_panel(), handle import_curses() failure 2013-07-18 02:31:21 +02:00
_cursesmodule.c Issue #21088: Bugfix for curses.window.addch() regression in 3.4.0. 2014-05-04 04:41:18 -07:00
_datetimemodule.c remove the ability of datetime.time to be considered false (closes #13936) 2014-03-20 18:00:35 -05:00
_dbmmodule.c Issue #20530: Argument Clinic's signature format has been revised again. 2014-02-08 22:15:29 -08:00
_elementtree.c Issue #19815: Fix segfault when parsing empty namespace declaration. 2013-11-28 06:35:40 -08:00
_freeze_importlib.c Now all error paths of _freeze_importlib use 'goto error' and the error label cleans up all used resources. 2013-07-21 23:05:11 +02:00
_functoolsmodule.c Issue #6083: Fix multiple segmentation faults occured when PyArg_ParseTuple 2013-02-04 12:54:04 +02:00
_gdbmmodule.c Close #19282: Native context management in dbm 2013-11-17 15:59:51 +10:00
_hashopenssl.c exclude _hashopenssl.c:_setException() from LCOV coverage 2013-12-05 07:38:13 +01:00
_heapqmodule.c Issue #21424: Optimize heaqp.nlargest() to make fewer tuple comparisons. 2014-05-11 01:55:46 -07:00
_json.c merge 3.3 2014-04-14 11:48:21 -04:00
_localemodule.c Cleanup locale.localeconv(): move Py_DECREF() closer to the error 2013-10-29 19:28:20 +01:00
_lsprof.c Issue #20315: Removed support for backward compatibility with early 2.x versions. 2014-01-20 21:35:06 +02:00
_lzmamodule.c Issue #20326: Argument Clinic now uses a simple, unique signature to 2014-01-28 05:00:08 -08:00
_math.c only define zero constant when it is used 2014-03-15 11:50:00 -05:00
_math.h
_opcode.c Issue #20530: Argument Clinic's signature format has been revised again. 2014-02-08 22:15:29 -08:00
_operator.c PEP 465: a dedicated infix operator for matrix multiplication (closes #21176) 2014-04-09 23:55:56 -04:00
_pickle.c Issue #20326: Argument Clinic now uses a simple, unique signature to 2014-01-28 05:00:08 -08:00
_posixsubprocess.c Add conditional code for android's lack of definition of SYS_getdent64. 2014-04-14 13:31:21 -07:00
_randommodule.c Fix compiler warning on Windows 64-bit: explicit cast size_t to unsigned long 2013-11-15 23:16:15 +01:00
_scproxy.c
_sre.c Issue #20283: RE pattern methods now accept the string keyword parameters 2014-03-06 11:36:15 +02:00
_ssl.c Issue #21015: SSL contexts will now automatically select an elliptic curve for ECDH key exchange on OpenSSL 1.0.2 and later, and otherwise default to "prime256v1". 2014-03-22 18:13:50 +01:00
_ssl_data.h
_stat.c Issue #11016: Don't define macros and constants that are already set by pyport.h 2013-06-24 00:13:14 +02:00
_struct.c - Modules/_struct.c (unpackiter_type): Define static. 2013-11-23 16:07:55 +01:00
_testbuffer.c Re #18521: fix not-quite-C syntax that works only because the PyXXX_Check are macros defined with () around them. 2013-10-14 06:46:12 +02:00
_testcapimodule.c Issue #21233: Add new C functions: PyMem_RawCalloc(), PyMem_Calloc(), 2014-05-02 22:31:14 +02:00
_testembed.c Issue #19977: Fix test_capi when LC_CTYPE locale is POSIX 2014-03-18 02:38:12 +01:00
_testimportmultiple.c Remove compile warnings for _testimportmodule 2012-12-15 18:16:47 +02:00
_threadmodule.c threading.RLock._acquire_restore() now raises a TypeError instead of a 2014-01-02 12:47:24 +01:00
_tkinter.c Issue #20515: Fix NULL pointer dereference introduced by issue #20368 2014-02-05 00:29:48 +01:00
_tracemalloc.c Issue #21233: Add new C functions: PyMem_RawCalloc(), PyMem_Calloc(), 2014-05-02 22:31:14 +02:00
_weakref.c Issue #20530: Argument Clinic's signature format has been revised again. 2014-02-08 22:15:29 -08:00
_winapi.c Issue18314 Allow unlink to remove junctions. Includes support for creating junctions. Patch by Kim Gräsman 2014-05-05 19:46:17 +01:00
addrinfo.h
ar_beos
arraymodule.c Make the various iterators' "setstate" sliently and consistently clip the 2014-03-05 15:23:07 +00:00
atexitmodule.c Issue #18619: Fix atexit leaking callbacks registered from sub-interpreters, and make it GC-aware. 2013-08-01 20:56:12 +02:00
audioop.c Issue #20326: Argument Clinic now uses a simple, unique signature to 2014-01-28 05:00:08 -08:00
binascii.c Issue #20326: Argument Clinic now uses a simple, unique signature to 2014-01-28 05:00:08 -08:00
cmathmodule.c The function name for cmath.isinf in PyArg_ParseTuple() was wrong. 2014-01-31 12:04:36 -05:00
config.c.in
errnomodule.c
faulthandler.c Merge: #19970: Fix some comment typos. 2013-12-13 20:53:26 -05:00
fcntlmodule.c Issue #16136: Remove VMS support and VMS-related code 2013-12-21 16:19:10 +01:00
fpectlmodule.c Issue #16136: Remove VMS support and VMS-related code 2013-12-21 16:19:10 +01:00
fpetestmodule.c
gc_weakref.txt
gcmodule.c Merge from 3.4. 2014-05-08 17:43:25 -05:00
getaddrinfo.c
getbuildinfo.c
getnameinfo.c
getpath.c Issue #16136: Remove VMS support and VMS-related code 2013-12-21 16:19:10 +01:00
grpmodule.c Issue #16136: Remove VMS support and VMS-related code 2013-12-21 16:19:10 +01:00
hashlib.h Closes #18627: merge from 3.3 2013-08-01 22:13:30 -07:00
hashtable.c Issue #21036: Fix typo in macro name 2014-03-24 22:34:34 +01:00
hashtable.h Issue #21036: Fix typo in macro name 2014-03-24 22:34:34 +01:00
itertoolsmodule.c Issue #21321: itertools.islice() now releases the reference to the source iterator when the slice is exhausted. 2014-04-29 12:13:46 +02:00
ld_so_aix.in
ld_so_beos
main.c Issue #20355: -W command line options now have higher priority than the PYTHONWARNINGS environment variable. Patch by Arfrever. 2014-04-29 00:56:08 +02:00
makesetup
makexp_aix
mathmodule.c Issue #20539: Improve math.factorial error messages and types for large inputs. 2014-04-10 09:29:39 -04:00
md5module.c Issue #18742: Expose the internal hash type object for ABCs. 2013-10-22 15:05:23 +02:00
mmapmodule.c Issue #16136: Remove VMS support and VMS-related code 2013-12-21 16:19:10 +01:00
nismodule.c
ossaudiodev.c Issue #16404: Add checks for return value of PyLong_FromLong() in 2013-12-17 15:12:46 +02:00
overlapped.c overlapped.c: Fix usage of the union 2014-01-30 19:06:44 +01:00
parsermodule.c (Merge 3.3) parser: fix usage of Py_BuildValue() to build a parser error 2014-01-02 11:50:10 +01:00
posixmodule.c Issue18314 Allow unlink to remove junctions. Includes support for creating junctions. Patch by Kim Gräsman 2014-05-05 19:46:17 +01:00
posixmodule.h Issue #4591: Uid and gid values larger than 2**31 are supported now. 2013-02-12 09:24:16 +02:00
pwdmodule.c Issue #16136: Remove VMS support and VMS-related code 2013-12-21 16:19:10 +01:00
pyexpat.c Issue #6676: Ensure a meaningful exception is raised when attempting 2014-03-27 16:39:58 -07:00
python.c Issue #15893: Improve error handling in main() and Py_FrozenMain() 2013-07-27 02:39:09 +02:00
readline.c Issue #20437: Fixed 22 potential bugs when deleting objects references. 2014-02-09 13:46:20 +02:00
resource.c Issue #19343: Expose FreeBSD-specific APIs in resource module. Original patch by Koobs. 2013-12-08 14:35:55 +01:00
rotatingtree.c
rotatingtree.h
selectmodule.c Issue #20656: Restore explicit downcast in select_select(). 2014-02-18 09:30:33 +01:00
sha1module.c Issue #18742: Expose the internal hash type object for ABCs. 2013-10-22 15:05:23 +02:00
sha256module.c Issue #18742: Expose the internal hash type object for ABCs. 2013-10-22 15:05:23 +02:00
sha512module.c Issue #18742: Expose the internal hash type object for ABCs. 2013-10-22 15:05:23 +02:00
signalmodule.c merge along w/ fix for issue #2107 (commit c9239171e429) 2014-04-04 10:20:28 -04:00
socketmodule.c Issue #10141, Issue 20065: Changed #if to take CAN_RAW into account. 2014-03-21 11:44:32 +00:00
socketmodule.h Issue #15359: Add CAN_BCM protocol support to the socket module. Patch by Brian 2013-02-05 19:42:01 +01:00
spwdmodule.c #18678: Correct names of spwd struct members. 2013-11-03 19:54:05 -05:00
sre.h Issue #16203: Add re.fullmatch() function and regex.fullmatch() method, 2013-11-23 23:20:30 +02:00
sre_constants.h Issue #13592: Improved the repr for regular expression pattern objects. 2013-11-23 22:42:43 +02:00
sre_lib.h Issue #16203: Add re.fullmatch() function and regex.fullmatch() method, 2013-11-23 23:20:30 +02:00
symtablemodule.c merge 3.3 (#19393) 2013-10-26 13:22:08 -04:00
syslogmodule.c Issue #20437: Fixed 22 potential bugs when deleting objects references. 2014-02-09 13:46:20 +02:00
termios.c
testcapi_long.h
timemodule.c Issue #19748: On AIX, time.mktime() now raises an OverflowError for year 2014-02-21 09:27:17 +01:00
tkappinit.c
tkinter.h
unicodedata.c Issue #20530: Argument Clinic's signature format has been revised again. 2014-02-08 22:15:29 -08:00
unicodedata_db.h upgrade unicode db to 6.3.0 (closes #19221) 2013-10-10 17:24:45 -04:00
unicodename_db.h upgrade unicode db to 6.3.0 (closes #19221) 2013-10-10 17:24:45 -04:00
winreparse.h Issue18314 Allow unlink to remove junctions. Includes support for creating junctions. Patch by Kim Gräsman 2014-05-05 19:46:17 +01:00
xxlimited.c Issue #17162: Add PyType_GetSlot. 2014-02-04 09:33:05 +01:00
xxmodule.c Make indentation consistent 2013-01-01 07:41:51 -08:00
xxsubtype.c
zipimport.c merge backout for #20621 2014-02-16 14:17:28 -05:00
zlibmodule.c Issue #20437: Fixed 22 potential bugs when deleting objects references. 2014-02-09 13:46:20 +02:00