cda80940ed444d01beed797dcd86c207f11104bc |
|
15-Apr-2016 |
Martin Panter <vadmium+py@gmail.com> |
Issue #15984: Merge PyUnicode doc from 3.5
|
6245cb3c015a5b9febef4d6ef30d3acfc762a79d |
|
15-Apr-2016 |
Martin Panter <vadmium+py@gmail.com> |
Correct “an” → “a” with “Unicode”, “user”, “UTF”, etc This affects documentation, code comments, and a debugging messages.
/external/python/cpython3/Modules/_heapqmodule.c
|
2300bf29e69ec9ecee563134f8cdfdab93b2a7c0 |
|
08-Dec-2015 |
Raymond Hettinger <python@rcn.com> |
Only update the arr variable when PyObject_RichCompareBool() has been called.
/external/python/cpython3/Modules/_heapqmodule.c
|
cfe5b6ca04a14ef1ba42e78bf6da05cfa9c0b66b |
|
20-Jul-2015 |
Raymond Hettinger <python@rcn.com> |
Divisions-by-two for a positive Py_ssize_t compile more cleanly with >>1 than /2.
/external/python/cpython3/Modules/_heapqmodule.c
|
5cbd8331ff567ee568713dc5e63820ffb453ac4b |
|
22-May-2015 |
Raymond Hettinger <python@rcn.com> |
Issue #24221: Small optimizations for heapq. 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.
/external/python/cpython3/Modules/_heapqmodule.c
|
c784c6db6056729427b8e61161101e4bb5d73150 |
|
16-May-2015 |
Raymond Hettinger <python@rcn.com> |
Tighten-up code by eliminating an unnecessary variable.
/external/python/cpython3/Modules/_heapqmodule.c
|
d69755d1a3b778e9e367c96769f348d1eb0c630c |
|
16-May-2015 |
Raymond Hettinger <python@rcn.com> |
Minor code clean-up.
/external/python/cpython3/Modules/_heapqmodule.c
|
636488043b490ab70413990b458443aa41f504b2 |
|
13-May-2015 |
Raymond Hettinger <python@rcn.com> |
More timings suggest that 2500 is closer to the break-even point.
/external/python/cpython3/Modules/_heapqmodule.c
|
4e6bf4b3da03b132b0698f30ee931a350585b117 |
|
12-May-2015 |
Raymond Hettinger <python@rcn.com> |
merge
|
b9db9e152f3325b075e59ef4fdecfd0b9ec4746c |
|
12-May-2015 |
Raymond Hettinger <python@rcn.com> |
Defend against a mutation during comparison
/external/python/cpython3/Modules/_heapqmodule.c
|
99bf9a256754319a64b84dd633d91d8eedd497a7 |
|
12-May-2015 |
Raymond Hettinger <python@rcn.com> |
Minor code cleanups.
/external/python/cpython3/Modules/_heapqmodule.c
|
a032e46df64330ec9e6e188d9ea53f594d0a0fbf |
|
11-May-2015 |
Raymond Hettinger <python@rcn.com> |
Minor stylistic clean-up.
/external/python/cpython3/Modules/_heapqmodule.c
|
bc33e57d56434d6feb99b77f10a3bc884f3a61ce |
|
11-May-2015 |
Raymond Hettinger <python@rcn.com> |
Issue #24155: Optimize heapify for better cache utililzation.
/external/python/cpython3/Modules/_heapqmodule.c
|
1dd8e71eb3207a841844ee35520b0e5b458916db |
|
02-May-2015 |
Raymond Hettinger <python@rcn.com> |
Issues #24099, #24100, and #24101: Fix free-after-use bug in heapq.
/external/python/cpython3/Modules/_heapqmodule.c
|
48f68d00b8e017050489635c04c82153a345a336 |
|
15-Jun-2014 |
Raymond Hettinger <python@rcn.com> |
Factor common code into internal functions. Clean-up names of static functions. Use Py_RETURN_NONE macro. Expose private functions needed to support merge(). Move C imports to the bottom of the Python file.
/external/python/cpython3/Modules/_heapqmodule.c
|
234fb2d503cd8f8bae56eb7fa4d0a88cd1b7c03a |
|
11-May-2014 |
Raymond Hettinger <python@rcn.com> |
Issue 21424: Apply the nlargest() optimizations to nsmallest() as well.
/external/python/cpython3/Modules/_heapqmodule.c
|
277842eff12eba1ceeeba1cee93db3ec99d5c95a |
|
11-May-2014 |
Raymond Hettinger <python@rcn.com> |
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.
/external/python/cpython3/Modules/_heapqmodule.c
|
90e93383830cb7276d33fff7e670516d78337121 |
|
04-May-2014 |
Raymond Hettinger <python@rcn.com> |
Neaten-up a bit add add missing size change check.
/external/python/cpython3/Modules/_heapqmodule.c
|
871620d95135e048c2124b43e3acb39f05e30d9a |
|
04-May-2014 |
Raymond Hettinger <python@rcn.com> |
Simplify and speedup the internals of the heapq module.
/external/python/cpython3/Modules/_heapqmodule.c
|
c9926088ddbfa9966abe26b23c102e5c5f0f92bf |
|
04-May-2014 |
Raymond Hettinger <python@rcn.com> |
Issue 21375: Fix possible Py_ssizet overflow in heapq.
/external/python/cpython3/Modules/_heapqmodule.c
|
764a46d2ed3a70b67be58ac93470837e33a7ed19 |
|
17-Jul-2013 |
Victor Stinner <victor.stinner@gmail.com> |
Issue #18408: Fix heapq.heappop(), handle PyList_SetSlice() failure
/external/python/cpython3/Modules/_heapqmodule.c
|
09b7503bc999b2c65c9d61465cd19758ff97c0c4 |
|
11-Mar-2013 |
Terry Jan Reedy <tjreedy@udel.edu> |
Merge 3.2, Issue #17047: remove doubled words found in 2.7 to 3.4 Modules/*, as reported by Serhiy Storchaka and Matthew Barnett.
|
0158af38b73b76516f18b1774e1c590f459cb188 |
|
11-Mar-2013 |
Terry Jan Reedy <tjreedy@udel.edu> |
Issue #17047: remove doubled words found in 2.7 to 3.4 Modules/*, as reported by Serhiy Storchaka and Matthew Barnett.
/external/python/cpython3/Modules/_heapqmodule.c
|
31584e30ab3e8d01613bb774b1e3d28e73314096 |
|
04-Mar-2013 |
Antoine Pitrou <solipsis@pitrou.net> |
Issue #17278: Fix a crash in heapq.heappush() and heapq.heappop() when the list is being resized concurrently.
|
44d5214927e428e6837310fb0cb694b42f6d8bb6 |
|
04-Mar-2013 |
Antoine Pitrou <solipsis@pitrou.net> |
Issue #17278: Fix a crash in heapq.heappush() and heapq.heappop() when the list is being resized concurrently.
/external/python/cpython3/Modules/_heapqmodule.c
|
bd8f29028eab752e8e5c73703218a701028c1a9a |
|
19-Jan-2013 |
Raymond Hettinger <python@rcn.com> |
Show the function signature in the docstring
/external/python/cpython3/Modules/_heapqmodule.c
|
db6b62e7569cea59e211a3d9d6a1a0e76e576e8c |
|
05-Sep-2010 |
Raymond Hettinger <python@rcn.com> |
Inline cmp_lt().
/external/python/cpython3/Modules/_heapqmodule.c
|
1670b431b341bc451ab31c53a2229b8faaddd82e |
|
04-Sep-2010 |
Éric Araujo <merwok@netwok.org> |
Fix invalid bytes for UTF-8
/external/python/cpython3/Modules/_heapqmodule.c
|
f95a1b3c53bdd678b64aa608d4375660033460c3 |
|
09-May-2010 |
Antoine Pitrou <solipsis@pitrou.net> |
Recorded merge of revisions 81029 via svnmerge from svn+ssh://pythondev@svn.python.org/python/trunk ........ r81029 | antoine.pitrou | 2010-05-09 16:46:46 +0200 (dim., 09 mai 2010) | 3 lines Untabify C files. Will watch buildbots. ........
/external/python/cpython3/Modules/_heapqmodule.c
|
2ba198d2fbd8d4dd33d2c40af012d622eb03c18f |
|
17-Jun-2008 |
Amaury Forgeot d'Arc <amauryfa@gmail.com> |
Remove 2.6 compatibility code: now heapqueue items must implement the "<" operator. The compatibility code could not work: all 3.0 objects have a __lt__ method (which returns NotImplemented) Twisted will have to adapt its DelayedCall class.
/external/python/cpython3/Modules/_heapqmodule.c
|
fdfe62d887d5b695a82dae68006ac3b12c02eb57 |
|
17-Jun-2008 |
Amaury Forgeot d'Arc <amauryfa@gmail.com> |
Merged revisions 64089,64098,64100-64102,64113,64115-64116,64118,64120,64132,64342 via svnmerge from svn+ssh://pythondev@svn.python.org/python/trunk ........ r64089 | armin.ronacher | 2008-06-10 22:37:02 +0200 (mar., 10 juin 2008) | 3 lines Fix a formatting error in the ast documentation. ........ r64098 | raymond.hettinger | 2008-06-11 02:25:29 +0200 (mer., 11 juin 2008) | 6 lines Mini-PEP: Simplifying numbers.py * Convert binary methods in Integral to mixin methods * Remove three-arg __pow__ as a required method * Make __int__ the root method instead of __long__. ........ r64100 | raymond.hettinger | 2008-06-11 02:28:51 +0200 (mer., 11 juin 2008) | 1 line Update numbers doc for the Integral simplification. ........ r64101 | raymond.hettinger | 2008-06-11 02:44:47 +0200 (mer., 11 juin 2008) | 3 lines Handle the case with zero arguments. ........ r64102 | benjamin.peterson | 2008-06-11 03:31:28 +0200 (mer., 11 juin 2008) | 4 lines convert test_struct to a unittest thanks to Giampaolo Rodola I had to disable one test because it was functioning incorrectly, see #1530559 I also removed the debugging prints ........ r64113 | thomas.heller | 2008-06-11 09:10:43 +0200 (mer., 11 juin 2008) | 2 lines Fix markup. Document the new 'offset' parameter for the 'ctypes.byref' function. ........ r64115 | raymond.hettinger | 2008-06-11 12:30:54 +0200 (mer., 11 juin 2008) | 1 line Multi-arg form for set.difference() and set.difference_update(). ........ r64116 | raymond.hettinger | 2008-06-11 14:06:49 +0200 (mer., 11 juin 2008) | 1 line Issue 3051: Let heapq work with either __lt__ or __le__. ........ r64118 | raymond.hettinger | 2008-06-11 14:39:09 +0200 (mer., 11 juin 2008) | 1 line Optimize previous checkin for heapq. ........ r64120 | raymond.hettinger | 2008-06-11 15:14:50 +0200 (mer., 11 juin 2008) | 1 line Add test for heapq using both __lt__ and __le__. ........ r64132 | gregory.p.smith | 2008-06-11 20:00:52 +0200 (mer., 11 juin 2008) | 3 lines Correct an incorrect comment about our #include of stddef.h. (see Doug Evans' comment on python-dev 2008-06-10) ........ r64342 | guido.van.rossum | 2008-06-17 19:38:02 +0200 (mar., 17 juin 2008) | 3 lines Roll back Raymond's -r64098 while we think of something better. (See issue 3056 -- we're close to a resolution but need unittests.) ........
/external/python/cpython3/Modules/_heapqmodule.c
|
1a21451b1d73b65af949193208372e86bf308411 |
|
11-Jun-2008 |
Martin v. Löwis <martin@v.loewis.de> |
Implement PEP 3121: new module initialization and finalization API.
/external/python/cpython3/Modules/_heapqmodule.c
|
f78e02b79862ac555fe052240bda55fa770a2d6f |
|
10-Jun-2008 |
Georg Brandl <georg@python.org> |
Merged revisions 63562,63570,63728,63734,63784,63788,63802,63817,63827,63839,63887,63975,63998 via svnmerge from svn+ssh://pythondev@svn.python.org/python/trunk ........ r63562 | martin.v.loewis | 2008-05-23 17:06:50 +0200 (Fri, 23 May 2008) | 2 lines Patch #1722225: Support QNX 6. ........ r63570 | trent.nelson | 2008-05-23 22:33:14 +0200 (Fri, 23 May 2008) | 1 line Introduce a user macro named $(externalsDir), which should point to the root directory of where all the external sources should live. Developers can change this value if their external sources live elsewhere. The default of '..\..' matches the current status quo. ........ r63728 | gregory.p.smith | 2008-05-26 23:16:34 +0200 (Mon, 26 May 2008) | 4 lines Fix issue2589: there was a potential integer overflow leading to memory corruption on esoteric platforms and incorrect behavior on normal platforms. ........ r63734 | gregory.p.smith | 2008-05-27 00:07:28 +0200 (Tue, 27 May 2008) | 3 lines Fix issue2588: Do not execute str[size-1] = '\0' when a 0 size is passed in. (The assert won't prevent this in non-debug builds). ........ r63784 | raymond.hettinger | 2008-05-29 10:38:23 +0200 (Thu, 29 May 2008) | 1 line Fix two typos. ........ r63788 | facundo.batista | 2008-05-29 18:39:26 +0200 (Thu, 29 May 2008) | 6 lines Fixed the semantic of timeout for socket.create_connection and all the upper level libraries that use it, including urllib2. Added and fixed some tests, and changed docs correspondingly. Thanks to John J Lee for the patch and the pusing, :) ........ r63802 | mark.dickinson | 2008-05-30 04:46:53 +0200 (Fri, 30 May 2008) | 2 lines Fix typo in testSum ........ r63817 | raymond.hettinger | 2008-05-30 20:20:50 +0200 (Fri, 30 May 2008) | 8 lines * Mark intermedidate computes values (hi, lo, yr) as volatile. * Expand comments. * Swap variable names in the sum_exact code so that x and y are consistently chosen as the larger and smaller magnitude values respectively. ........ r63827 | raymond.hettinger | 2008-05-31 05:24:31 +0200 (Sat, 31 May 2008) | 1 line Implement heapq in terms of less-than (to match list.sort()). ........ r63839 | gerhard.haering | 2008-05-31 23:33:27 +0200 (Sat, 31 May 2008) | 2 lines Fixed rowcount for SELECT statements. They're -1 now (again), for better DB-API 2.0 compliance. ........ r63887 | gregory.p.smith | 2008-06-02 06:05:52 +0200 (Mon, 02 Jun 2008) | 4 lines Fix issue 2782: be less strict about the format string type in strftime. Accept unicode and anything else ParseTuple "s#" can deal with. This matches the time.strftime behavior. ........ r63975 | neal.norwitz | 2008-06-06 06:47:01 +0200 (Fri, 06 Jun 2008) | 3 lines Aldo Cortesi confirmed this is still needed for OpenBSD 4.2 and 4.3. (I didn't regen configure, since I don't have a working autoconf.) ........ r63998 | raymond.hettinger | 2008-06-06 23:47:51 +0200 (Fri, 06 Jun 2008) | 1 line Issue 3501: Make heapq support both __le__ and __lt__. ........
/external/python/cpython3/Modules/_heapqmodule.c
|
dd15f6c315f20c1a9a540dd757cd63e27dbe9f3c |
|
16-Mar-2008 |
Christian Heimes <christian@cheimes.de> |
Merged revisions 61239-61249,61252-61257,61260-61264,61269-61275,61278-61279,61285-61286,61288-61290,61298,61303-61305,61312-61314,61317,61329,61332,61344,61350-61351,61363-61376,61378-61379,61382-61383,61387-61388,61392,61395-61396,61402-61403 via svnmerge from svn+ssh://pythondev@svn.python.org/python/trunk ........ r61239 | andrew.kuchling | 2008-03-05 01:44:41 +0100 (Wed, 05 Mar 2008) | 1 line Add more items; add fragmentary notes ........ r61240 | amaury.forgeotdarc | 2008-03-05 02:50:33 +0100 (Wed, 05 Mar 2008) | 13 lines Issue#2238: some syntax errors from *args or **kwargs expressions would give bogus error messages, because of untested exceptions:: >>> f(**g(1=2)) XXX undetected error Traceback (most recent call last): File "<stdin>", line 1, in <module> TypeError: 'int' object is not iterable instead of the expected SyntaxError: keyword can't be an expression Will backport. ........ r61241 | neal.norwitz | 2008-03-05 06:10:48 +0100 (Wed, 05 Mar 2008) | 3 lines Remove the files/dirs after closing the DB so the tests work on Windows. Patch from Trent Nelson. Also simplified removing a file by using test_support. ........ r61242 | neal.norwitz | 2008-03-05 06:14:18 +0100 (Wed, 05 Mar 2008) | 3 lines Get this test to pass even when there is no sound card in the system. Patch from Trent Nelson. (I can't test this.) ........ r61243 | neal.norwitz | 2008-03-05 06:20:44 +0100 (Wed, 05 Mar 2008) | 3 lines Catch OSError when trying to remove a file in case removal fails. This should prevent a failure in tearDown masking any real test failure. ........ r61244 | neal.norwitz | 2008-03-05 06:38:06 +0100 (Wed, 05 Mar 2008) | 5 lines Make the timeout longer to give slow machines a chance to pass the test before timing out. This doesn't change the duration of the test under normal circumstances. This is targetted at fixing the spurious failures on the FreeBSD buildbot primarily. ........ r61245 | neal.norwitz | 2008-03-05 06:49:03 +0100 (Wed, 05 Mar 2008) | 1 line Tabs -> spaces ........ r61246 | neal.norwitz | 2008-03-05 06:50:20 +0100 (Wed, 05 Mar 2008) | 1 line Use -u urlfetch to run more tests ........ r61247 | neal.norwitz | 2008-03-05 06:51:20 +0100 (Wed, 05 Mar 2008) | 1 line test_smtplib sometimes reports leaks too, suppress it ........ r61248 | jeffrey.yasskin | 2008-03-05 07:19:56 +0100 (Wed, 05 Mar 2008) | 5 lines Fix test_socketserver on Windows after r61099 added several signal.alarm() calls (which don't exist on non-Unix platforms). Thanks to Trent Nelson for the report and patch. ........ r61249 | georg.brandl | 2008-03-05 08:10:35 +0100 (Wed, 05 Mar 2008) | 2 lines Fix some rst. ........ r61252 | thomas.heller | 2008-03-05 15:53:39 +0100 (Wed, 05 Mar 2008) | 2 lines News entry for yesterdays commit. ........ r61253 | thomas.heller | 2008-03-05 16:34:29 +0100 (Wed, 05 Mar 2008) | 3 lines Issue 1872: Changed the struct module typecode from 't' to '?', for compatibility with PEP3118. ........ r61254 | skip.montanaro | 2008-03-05 17:41:09 +0100 (Wed, 05 Mar 2008) | 4 lines Elaborate on the role of the altinstall target when installing multiple versions. ........ r61255 | georg.brandl | 2008-03-05 20:31:44 +0100 (Wed, 05 Mar 2008) | 2 lines #2239: PYTHONPATH delimiter is os.pathsep. ........ r61256 | raymond.hettinger | 2008-03-05 21:59:58 +0100 (Wed, 05 Mar 2008) | 1 line C implementation of itertools.permutations(). ........ r61257 | raymond.hettinger | 2008-03-05 22:04:32 +0100 (Wed, 05 Mar 2008) | 1 line Small code cleanup. ........ r61260 | martin.v.loewis | 2008-03-05 23:24:31 +0100 (Wed, 05 Mar 2008) | 2 lines cd PCbuild only after deleting all pyc files. ........ r61261 | raymond.hettinger | 2008-03-06 02:15:52 +0100 (Thu, 06 Mar 2008) | 1 line Add examples. ........ r61262 | andrew.kuchling | 2008-03-06 02:36:27 +0100 (Thu, 06 Mar 2008) | 1 line Add two items ........ r61263 | georg.brandl | 2008-03-06 07:47:18 +0100 (Thu, 06 Mar 2008) | 2 lines #1725737: ignore other VC directories other than CVS and SVN's too. ........ r61264 | martin.v.loewis | 2008-03-06 07:55:22 +0100 (Thu, 06 Mar 2008) | 4 lines Patch #2232: os.tmpfile might fail on Windows if the user has no permission to create files in the root directory. Will backport to 2.5. ........ r61269 | georg.brandl | 2008-03-06 08:19:15 +0100 (Thu, 06 Mar 2008) | 2 lines Expand on re.split behavior with captured expressions. ........ r61270 | georg.brandl | 2008-03-06 08:22:09 +0100 (Thu, 06 Mar 2008) | 2 lines Little clarification of assignments. ........ r61271 | georg.brandl | 2008-03-06 08:31:34 +0100 (Thu, 06 Mar 2008) | 2 lines Add isinstance/issubclass to tutorial. ........ r61272 | georg.brandl | 2008-03-06 08:34:52 +0100 (Thu, 06 Mar 2008) | 2 lines Add missing NEWS entry for r61263. ........ r61273 | georg.brandl | 2008-03-06 08:41:16 +0100 (Thu, 06 Mar 2008) | 2 lines #2225: return nonzero status code from py_compile if not all files could be compiled. ........ r61274 | georg.brandl | 2008-03-06 08:43:02 +0100 (Thu, 06 Mar 2008) | 2 lines #2220: handle matching failure more gracefully. ........ r61275 | georg.brandl | 2008-03-06 08:45:52 +0100 (Thu, 06 Mar 2008) | 2 lines Bug #2220: handle rlcompleter attribute match failure more gracefully. ........ r61278 | martin.v.loewis | 2008-03-06 14:49:47 +0100 (Thu, 06 Mar 2008) | 1 line Rely on x64 platform configuration when building _bsddb on AMD64. ........ r61279 | martin.v.loewis | 2008-03-06 14:50:28 +0100 (Thu, 06 Mar 2008) | 1 line Update db-4.4.20 build procedure. ........ r61285 | raymond.hettinger | 2008-03-06 21:52:01 +0100 (Thu, 06 Mar 2008) | 1 line More tests. ........ r61286 | raymond.hettinger | 2008-03-06 23:51:36 +0100 (Thu, 06 Mar 2008) | 1 line Issue 2246: itertools grouper object did not participate in GC (should be backported). ........ r61288 | raymond.hettinger | 2008-03-07 02:33:20 +0100 (Fri, 07 Mar 2008) | 1 line Tweak recipes and tests ........ r61289 | jeffrey.yasskin | 2008-03-07 07:22:15 +0100 (Fri, 07 Mar 2008) | 5 lines Progress on issue #1193577 by adding a polling .shutdown() method to SocketServers. The core of the patch was written by Pedro Werneck, but any bugs are mine. I've also rearranged the code for timeouts in order to avoid interfering with the shutdown poll. ........ r61290 | nick.coghlan | 2008-03-07 15:13:28 +0100 (Fri, 07 Mar 2008) | 1 line Speed up with statements by storing the __exit__ method on the stack instead of in a temp variable (bumps the magic number for pyc files) ........ r61298 | andrew.kuchling | 2008-03-07 22:09:23 +0100 (Fri, 07 Mar 2008) | 1 line Grammar fix ........ r61303 | georg.brandl | 2008-03-08 10:54:06 +0100 (Sat, 08 Mar 2008) | 2 lines #2253: fix continue vs. finally docs. ........ r61304 | marc-andre.lemburg | 2008-03-08 11:01:43 +0100 (Sat, 08 Mar 2008) | 3 lines Add new name for Mandrake: Mandriva. ........ r61305 | georg.brandl | 2008-03-08 11:05:24 +0100 (Sat, 08 Mar 2008) | 2 lines #1533486: fix types in refcount intro. ........ r61312 | facundo.batista | 2008-03-08 17:50:27 +0100 (Sat, 08 Mar 2008) | 5 lines Issue 1106316. post_mortem()'s parameter, traceback, is now optional: it defaults to the traceback of the exception that is currently being handled. ........ r61313 | jeffrey.yasskin | 2008-03-08 19:26:54 +0100 (Sat, 08 Mar 2008) | 2 lines Add tests for with and finally performance to pybench. ........ r61314 | jeffrey.yasskin | 2008-03-08 21:08:21 +0100 (Sat, 08 Mar 2008) | 2 lines Fix pybench for pythons < 2.6, tested back to 2.3. ........ r61317 | jeffrey.yasskin | 2008-03-08 22:35:15 +0100 (Sat, 08 Mar 2008) | 3 lines Well that was dumb. platform.python_implementation returns a function, not a string. ........ r61329 | georg.brandl | 2008-03-09 16:11:39 +0100 (Sun, 09 Mar 2008) | 2 lines #2249: document assertTrue and assertFalse. ........ r61332 | neal.norwitz | 2008-03-09 20:03:42 +0100 (Sun, 09 Mar 2008) | 4 lines Introduce a lock to fix a race condition which caused an exception in the test. Some buildbots were consistently failing (e.g., amd64). Also remove a couple of semi-colons. ........ r61344 | raymond.hettinger | 2008-03-11 01:19:07 +0100 (Tue, 11 Mar 2008) | 1 line Add recipe to docs. ........ r61350 | guido.van.rossum | 2008-03-11 22:18:06 +0100 (Tue, 11 Mar 2008) | 3 lines Fix the overflows in expandtabs(). "This time for sure!" (Exploit at request.) ........ r61351 | raymond.hettinger | 2008-03-11 22:37:46 +0100 (Tue, 11 Mar 2008) | 1 line Improve docs for itemgetter(). Show that it works with slices. ........ r61363 | georg.brandl | 2008-03-13 08:15:56 +0100 (Thu, 13 Mar 2008) | 2 lines #2265: fix example. ........ r61364 | georg.brandl | 2008-03-13 08:17:14 +0100 (Thu, 13 Mar 2008) | 2 lines #2270: fix typo. ........ r61365 | georg.brandl | 2008-03-13 08:21:41 +0100 (Thu, 13 Mar 2008) | 2 lines #1720705: add docs about import/threading interaction, wording by Nick. ........ r61366 | andrew.kuchling | 2008-03-13 12:07:35 +0100 (Thu, 13 Mar 2008) | 1 line Add class decorators ........ r61367 | raymond.hettinger | 2008-03-13 17:43:17 +0100 (Thu, 13 Mar 2008) | 1 line Add 2-to-3 support for the itertools moved to builtins or renamed. ........ r61368 | raymond.hettinger | 2008-03-13 17:43:59 +0100 (Thu, 13 Mar 2008) | 1 line Consistent tense. ........ r61369 | raymond.hettinger | 2008-03-13 20:03:51 +0100 (Thu, 13 Mar 2008) | 1 line Issue 2274: Add heapq.heappushpop(). ........ r61370 | raymond.hettinger | 2008-03-13 20:33:34 +0100 (Thu, 13 Mar 2008) | 1 line Simplify the nlargest() code using heappushpop(). ........ r61371 | brett.cannon | 2008-03-13 21:27:00 +0100 (Thu, 13 Mar 2008) | 4 lines Move test_thread over to unittest. Commits GHOP 237. Thanks Benjamin Peterson for the patch. ........ r61372 | brett.cannon | 2008-03-13 21:33:10 +0100 (Thu, 13 Mar 2008) | 4 lines Move test_tokenize to doctest. Done as GHOP 238 by Josip Dzolonga. ........ r61373 | brett.cannon | 2008-03-13 21:47:41 +0100 (Thu, 13 Mar 2008) | 4 lines Convert test_contains, test_crypt, and test_select to unittest. Patch from GHOP 294 by David Marek. ........ r61374 | brett.cannon | 2008-03-13 22:02:16 +0100 (Thu, 13 Mar 2008) | 4 lines Move test_gdbm to use unittest. Closes issue #1960. Thanks Giampaolo Rodola. ........ r61375 | brett.cannon | 2008-03-13 22:09:28 +0100 (Thu, 13 Mar 2008) | 4 lines Convert test_fcntl to unittest. Closes issue #2055. Thanks Giampaolo Rodola. ........ r61376 | raymond.hettinger | 2008-03-14 06:03:44 +0100 (Fri, 14 Mar 2008) | 1 line Leave heapreplace() unchanged. ........ r61378 | martin.v.loewis | 2008-03-14 14:56:09 +0100 (Fri, 14 Mar 2008) | 2 lines Patch #2284: add -x64 option to rt.bat. ........ r61379 | martin.v.loewis | 2008-03-14 14:57:59 +0100 (Fri, 14 Mar 2008) | 2 lines Use -x64 flag. ........ r61382 | brett.cannon | 2008-03-14 15:03:10 +0100 (Fri, 14 Mar 2008) | 2 lines Remove a bad test. ........ r61383 | mark.dickinson | 2008-03-14 15:23:37 +0100 (Fri, 14 Mar 2008) | 9 lines Issue 705836: Fix struct.pack(">f", 1e40) to behave consistently across platforms: it should now raise OverflowError on all platforms. (Previously it raised OverflowError only on non IEEE 754 platforms.) Also fix the (already existing) test for this behaviour so that it actually raises TestFailed instead of just referencing it. ........ r61387 | thomas.heller | 2008-03-14 22:06:21 +0100 (Fri, 14 Mar 2008) | 1 line Remove unneeded initializer. ........ r61388 | martin.v.loewis | 2008-03-14 22:19:28 +0100 (Fri, 14 Mar 2008) | 2 lines Run debug version, cd to PCbuild. ........ r61392 | georg.brandl | 2008-03-15 00:10:34 +0100 (Sat, 15 Mar 2008) | 2 lines Remove obsolete paragraph. #2288. ........ r61395 | georg.brandl | 2008-03-15 01:20:19 +0100 (Sat, 15 Mar 2008) | 2 lines Fix lots of broken links in the docs, found by Sphinx' external link checker. ........ r61396 | skip.montanaro | 2008-03-15 03:32:49 +0100 (Sat, 15 Mar 2008) | 1 line note that fork and forkpty raise OSError on failure ........ r61402 | skip.montanaro | 2008-03-15 17:04:45 +0100 (Sat, 15 Mar 2008) | 1 line add %f format to datetime - issue 1158 ........ r61403 | skip.montanaro | 2008-03-15 17:07:11 +0100 (Sat, 15 Mar 2008) | 2 lines . ........
/external/python/cpython3/Modules/_heapqmodule.c
|
c1786ea1dc2d04ff77f6e9293bdb89c555e637b6 |
|
24-Aug-2007 |
Neal Norwitz <nnorwitz@gmail.com> |
Use UTF-8 for a docstring that contains non-ASCII chars.
/external/python/cpython3/Modules/_heapqmodule.c
|
13870b18f2a843d568f82c89b72f33dc427b9b23 |
|
16-Feb-2006 |
Thomas Wouters <thomas@python.org> |
Also make _heapq.nlargest() use Py_ssize_t instead of ints, to iter over lists and call Py_ssize_t-using helpers. All other code in this module was already adapted to Py_ssize_t.
/external/python/cpython3/Modules/_heapqmodule.c
|
ed6254acf289839467a77419566b475f5950f475 |
|
16-Feb-2006 |
Thomas Wouters <thomas@python.org> |
Use 'n' format for Py_ssize_t variables to PyArg_ParseTuple(). Py_ssize_t has been applied fairly arbitrarily in this module (nsmallest uses Py_ssize_t, nlargest does not) and it probably deserves a more complete review. Fixes heapq.nsmallest() always returning the empty list (on platforms with 64-bit ssize_t/long)
/external/python/cpython3/Modules/_heapqmodule.c
|
ad0a4629beac0600c4c4c3167b0d68be57ca674e |
|
16-Feb-2006 |
Martin v. Löwis <martin@v.loewis.de> |
Use Py_ssize_t for counts and sizes.
/external/python/cpython3/Modules/_heapqmodule.c
|
1ac754fa10f5d199d19911e21185d0970cb3073f |
|
19-Jan-2006 |
Neal Norwitz <nnorwitz@gmail.com> |
Check return result from Py_InitModule*(). This API can fail. Probably should be backported.
/external/python/cpython3/Modules/_heapqmodule.c
|
855d9a985b861cc2c475f4020c120a25548b4c98 |
|
28-Sep-2004 |
Raymond Hettinger <python@rcn.com> |
Plug a leak and beef-up test coverage.
/external/python/cpython3/Modules/_heapqmodule.c
|
8158e849305d0e0ab3e19cdc93a86bb7d5fc0651 |
|
06-Sep-2004 |
Raymond Hettinger <python@rcn.com> |
Fix erroneous docstring comment.
/external/python/cpython3/Modules/_heapqmodule.c
|
28224f897a1849dd616ad82538bdda45f3351d42 |
|
20-Jun-2004 |
Raymond Hettinger <python@rcn.com> |
Improve the documented advice on how to best use heapq.heapreplace().
/external/python/cpython3/Modules/_heapqmodule.c
|
aefde435efb8e99c74ad147e1a1db76fe5de61aa |
|
16-Jun-2004 |
Raymond Hettinger <python@rcn.com> |
Reverse argument order for nsmallest() and nlargest(). Reads better when the iterable is a generator expression.
/external/python/cpython3/Modules/_heapqmodule.c
|
de72eddf69e5ea6dbd3591ddfef5602b5b455942 |
|
13-Jun-2004 |
Raymond Hettinger <python@rcn.com> |
Fixup error exits in nlargest() and nsmallest().
/external/python/cpython3/Modules/_heapqmodule.c
|
2e3dfaf7070900c459d5879530dbdb3680f7fb9d |
|
13-Jun-2004 |
Raymond Hettinger <python@rcn.com> |
Install C version of heapq.nsmallest().
/external/python/cpython3/Modules/_heapqmodule.c
|
c929766361b4e0ea5bf5dc625e326fb954956f0b |
|
13-Jun-2004 |
Raymond Hettinger <python@rcn.com> |
Install C version of heapq.nlargest(). Maxheap version of heapq.smallest() is forthcoming.
/external/python/cpython3/Modules/_heapqmodule.c
|
ce97fbe772793d1e4e1887228388fdc15e575667 |
|
25-Apr-2004 |
Hye-Shik Chang <hyeshik@gmail.com> |
Correct the file name of _heapq module.
/external/python/cpython3/Modules/_heapqmodule.c
|