]> granicus.if.org Git - python/log
python
11 years agomerge 3.4 (#10744)
Benjamin Peterson [Sat, 17 May 2014 22:07:34 +0000 (15:07 -0700)]
merge 3.4 (#10744)

11 years agosupport pep 3118 format strings for ctypes objects with nontrivial shapes (closes...
Benjamin Peterson [Sat, 17 May 2014 21:59:12 +0000 (14:59 -0700)]
support pep 3118 format strings for ctypes objects with nontrivial shapes (closes #10744)

Patch by Matti Picus.

11 years agoMiscellaneous corrections and updates to the OS X README file.
Ned Deily [Sat, 17 May 2014 21:31:34 +0000 (14:31 -0700)]
Miscellaneous corrections and updates to the OS X README file.

11 years agoMiscellaneous corrections and updates to the OS X README file.
Ned Deily [Sat, 17 May 2014 21:30:09 +0000 (14:30 -0700)]
Miscellaneous corrections and updates to the OS X README file.

11 years agoIssue #21362: concurrent.futures does not validate that max_workers is proper
Brian Quinlan [Sat, 17 May 2014 20:51:10 +0000 (13:51 -0700)]
Issue #21362: concurrent.futures does not validate that max_workers is proper

11 years agoUpgrade pip to 1.5.6
Donald Stufft [Sat, 17 May 2014 03:02:25 +0000 (23:02 -0400)]
Upgrade pip to 1.5.6

11 years agoUpgrade setuptools to 3.6
Donald Stufft [Sat, 17 May 2014 03:01:28 +0000 (23:01 -0400)]
Upgrade setuptools to 3.6

11 years agoIssue #21503: Use test_both() consistently in test_importlib.
Eric Snow [Fri, 16 May 2014 17:40:40 +0000 (11:40 -0600)]
Issue #21503: Use test_both() consistently in test_importlib.

11 years agoFix a small typo in test_importlib.
Eric Snow [Fri, 16 May 2014 17:22:05 +0000 (11:22 -0600)]
Fix a small typo in test_importlib.

11 years agoIssue #13916: Fix surrogatepass error handler on Windows
Victor Stinner [Fri, 16 May 2014 12:46:20 +0000 (14:46 +0200)]
Issue #13916: Fix surrogatepass error handler on Windows

11 years agoMerge with 3.4
Terry Jan Reedy [Fri, 16 May 2014 00:50:30 +0000 (20:50 -0400)]
Merge with 3.4

11 years agoIssue #18104: revise docstrings, remove obsolete comments.
Terry Jan Reedy [Fri, 16 May 2014 00:50:10 +0000 (20:50 -0400)]
Issue #18104: revise docstrings, remove obsolete comments.

11 years agoMention ipaddress improvements.
Antoine Pitrou [Thu, 15 May 2014 20:55:40 +0000 (22:55 +0200)]
Mention ipaddress improvements.

11 years agoBetter organization of the what's new
Antoine Pitrou [Thu, 15 May 2014 20:47:33 +0000 (22:47 +0200)]
Better organization of the what's new

11 years agoIssue #21364: remove recommendation of broken pattern.
Antoine Pitrou [Thu, 15 May 2014 20:39:41 +0000 (22:39 +0200)]
Issue #21364: remove recommendation of broken pattern.

11 years agoIssue #21364: remove recommendation of broken pattern.
Antoine Pitrou [Thu, 15 May 2014 20:38:56 +0000 (22:38 +0200)]
Issue #21364: remove recommendation of broken pattern.

11 years agoIssue #20826: Optimize ipaddress.collapse_addresses().
Antoine Pitrou [Thu, 15 May 2014 18:40:53 +0000 (20:40 +0200)]
Issue #20826: Optimize ipaddress.collapse_addresses().

11 years agoIssue #21487: Optimize ipaddress.summarize_address_range() and ipaddress.{IPv4Network...
Antoine Pitrou [Thu, 15 May 2014 18:21:48 +0000 (20:21 +0200)]
Issue #21487: Optimize ipaddress.summarize_address_range() and ipaddress.{IPv4Network,IPv6Network}.subnets().

11 years agoIssue #21486: Optimize parsing of netmasks in ipaddress.IPv4Network and ipaddress...
Antoine Pitrou [Thu, 15 May 2014 18:18:41 +0000 (20:18 +0200)]
Issue #21486: Optimize parsing of netmasks in ipaddress.IPv4Network and ipaddress.IPv6Network.

11 years agoIssue #13916: Disallowed the surrogatepass error handler for non UTF-*
Serhiy Storchaka [Thu, 15 May 2014 11:37:42 +0000 (14:37 +0300)]
Issue #13916: Disallowed the surrogatepass error handler for non UTF-*
encodings.

11 years agoMerge 3.4
Victor Stinner [Wed, 14 May 2014 21:37:14 +0000 (23:37 +0200)]
Merge 3.4

11 years agoIssue #21488: Oops, the patch for codecs.encode/decode doc was written by
Victor Stinner [Wed, 14 May 2014 21:29:38 +0000 (23:29 +0200)]
Issue #21488: Oops, the patch for codecs.encode/decode doc was written by
Berker Peksag (already present in Misc/ACKS). The issue was reported by Brad
Aylsworth.

11 years agoIssue #20998: Fixed re.fullmatch() of repeated single character pattern
Serhiy Storchaka [Wed, 14 May 2014 18:51:37 +0000 (21:51 +0300)]
Issue #20998: Fixed re.fullmatch() of repeated single character pattern
with ignore case.  Original patch by Matthew Barnett.

11 years agoIssue #20998: Fixed re.fullmatch() of repeated single character pattern
Serhiy Storchaka [Wed, 14 May 2014 18:48:17 +0000 (21:48 +0300)]
Issue #20998: Fixed re.fullmatch() of repeated single character pattern
with ignore case.  Original patch by Matthew Barnett.

11 years agoIssue #21075: fileinput.FileInput now reads bytes from standard stream if
Serhiy Storchaka [Wed, 14 May 2014 18:11:08 +0000 (21:11 +0300)]
Issue #21075: fileinput.FileInput now reads bytes from standard stream if
binary mode is specified.  Patch by Sam Kimbrel.

11 years agoIssue #21075: fileinput.FileInput now reads bytes from standard stream if
Serhiy Storchaka [Wed, 14 May 2014 18:08:33 +0000 (21:08 +0300)]
Issue #21075: fileinput.FileInput now reads bytes from standard stream if
binary mode is specified.  Patch by Sam Kimbrel.

11 years agoIssue #21490: Add new C macros: Py_ABS() and Py_STRINGIFY()
Victor Stinner [Wed, 14 May 2014 15:24:35 +0000 (17:24 +0200)]
Issue #21490: Add new C macros: Py_ABS() and Py_STRINGIFY()

Keep _Py_STRINGIZE() in PC/pyconfig.h to not introduce a dependency between
pyconfig.h and pymacros.h.

11 years ago(Merge 3.4) Issue #21497: faulthandler functions now raise a better error if
Victor Stinner [Wed, 14 May 2014 15:16:58 +0000 (17:16 +0200)]
(Merge 3.4) Issue #21497: faulthandler functions now raise a better error if
sys.stderr is None: RuntimeError("sys.stderr is None") instead of
AttributeError("'NoneType' object has no attribute 'fileno'").

11 years agoIssue #21497: faulthandler functions now raise a better error if sys.stderr is
Victor Stinner [Wed, 14 May 2014 15:15:50 +0000 (17:15 +0200)]
Issue #21497: faulthandler functions now raise a better error if sys.stderr is
None: RuntimeError("sys.stderr is None") instead of AttributeError("'NoneType'
object has no attribute 'fileno'").

11 years agoIssue #21488: Add support of keyword arguments for codecs.encode and codecs.decode
Victor Stinner [Wed, 14 May 2014 15:13:14 +0000 (17:13 +0200)]
Issue #21488: Add support of keyword arguments for codecs.encode and codecs.decode

11 years agoMerge 3.4 (I commited a patch to the wrong branch and then used hg backout)
Victor Stinner [Wed, 14 May 2014 15:13:02 +0000 (17:13 +0200)]
Merge 3.4 (I commited a patch to the wrong branch and then used hg backout)

11 years agoBacked out changeset 6ceedbd88b5f
Victor Stinner [Wed, 14 May 2014 15:12:27 +0000 (17:12 +0200)]
Backed out changeset 6ceedbd88b5f

11 years agoIssue #21488: Add support of keyword arguments for codecs.encode and codecs.decode
Victor Stinner [Wed, 14 May 2014 15:10:45 +0000 (17:10 +0200)]
Issue #21488: Add support of keyword arguments for codecs.encode and codecs.decode

11 years agoMerge 3.4: ignore change specific to 3.4 for #21488, I had a different patch for...
Victor Stinner [Wed, 14 May 2014 15:09:39 +0000 (17:09 +0200)]
Merge 3.4: ignore change specific to 3.4 for #21488, I had a different patch for Python 3.5

11 years agoIssue #21488: Fix doc of codecs.decode() and codecs.encode(), no keyword support.
Victor Stinner [Wed, 14 May 2014 15:08:45 +0000 (17:08 +0200)]
Issue #21488: Fix doc of codecs.decode() and codecs.encode(), no keyword support.
Patch written by Brad Aylsworth.

11 years agoMerge: #21347: use string not list in shell=True example.
R David Murray [Wed, 14 May 2014 14:10:14 +0000 (10:10 -0400)]
Merge: #21347: use string not list in shell=True example.

11 years ago#21347: use string not list in shell=True example.
R David Murray [Wed, 14 May 2014 14:09:52 +0000 (10:09 -0400)]
#21347: use string not list in shell=True example.

Patch by Akira.

11 years agomerge
Raymond Hettinger [Wed, 14 May 2014 05:21:04 +0000 (22:21 -0700)]
merge

11 years agoIssue #21470: Do a better job seeding the random number generator
Raymond Hettinger [Wed, 14 May 2014 05:13:40 +0000 (22:13 -0700)]
Issue #21470: Do a better job seeding the random number generator
to fully cover its state space.

11 years agoMerge from 3.4 (for #21499).
Eric Snow [Tue, 13 May 2014 18:18:07 +0000 (12:18 -0600)]
Merge from 3.4 (for #21499).

11 years agoIssue #21499: Ignore __builtins__ in several test_importlib.test_api tests.
Eric Snow [Tue, 13 May 2014 18:15:42 +0000 (12:15 -0600)]
Issue #21499: Ignore __builtins__ in several test_importlib.test_api tests.

11 years agoMerge 3.4->default: Fix test-order-dependend asyncio test failure caused by rev 2af5a...
Guido van Rossum [Tue, 13 May 2014 16:21:33 +0000 (09:21 -0700)]
Merge 3.4->default: Fix test-order-dependend asyncio test failure caused by rev 2af5a52b9b87 (in this branch).

11 years agoFix test-order-dependend asyncio test failure caused by rev 909ea8cc86bbab92dbb623166...
Guido van Rossum [Tue, 13 May 2014 16:19:39 +0000 (09:19 -0700)]
Fix test-order-dependend asyncio test failure caused by rev 909ea8cc86bbab92dbb6231668f403b7360f30fa.

11 years agoMerge from 3.4:
doko@ubuntu.com [Tue, 13 May 2014 09:30:17 +0000 (11:30 +0200)]
Merge from 3.4:
- Issue #17756: Fix test_code test when run from the installed location.

11 years ago- Issue #17756: Fix test_code test when run from the installed location.
doko@ubuntu.com [Tue, 13 May 2014 09:28:12 +0000 (11:28 +0200)]
- Issue #17756: Fix test_code test when run from the installed location.

11 years agoIssue #19775: Add a samefile() method to pathlib Path objects.
Antoine Pitrou [Tue, 13 May 2014 08:50:15 +0000 (10:50 +0200)]
Issue #19775: Add a samefile() method to pathlib Path objects.

Initial patch by Vajrasky Kok.

11 years agoIssue 21469: Minor code modernization (convert and/or expression to an if/else expre...
Raymond Hettinger [Tue, 13 May 2014 05:22:46 +0000 (22:22 -0700)]
Issue 21469:  Minor code modernization (convert and/or expression to an if/else expression).

Suggested by: Tal Einat

11 years agomerge
Raymond Hettinger [Tue, 13 May 2014 05:05:09 +0000 (22:05 -0700)]
merge

11 years agoIssue 21469: Add missing news item
Raymond Hettinger [Tue, 13 May 2014 05:01:46 +0000 (22:01 -0700)]
Issue 21469:  Add missing news item

11 years agomerge
Raymond Hettinger [Tue, 13 May 2014 04:57:19 +0000 (21:57 -0700)]
merge

11 years agoIssue 21469: Mitigate risk of false positives with robotparser.
Raymond Hettinger [Tue, 13 May 2014 04:56:33 +0000 (21:56 -0700)]
Issue 21469:  Mitigate risk of false positives with robotparser.

* Repair the broken link to norobots-rfc.txt.

* HTTP response codes >= 500 treated as a failed read rather than as a not
found.  Not found means that we can assume the entire site is allowed.  A 5xx
server error tells us nothing.

* A successful read() or parse() updates the mtime (which is defined to be "the
  time the robots.txt file was last fetched").

* The can_fetch() method returns False unless we've had a read() with a 2xx or
4xx response.  This avoids false positives in the case where a user calls
can_fetch() before calling read().

* I don't see any easy way to test this patch without hitting internet
resources that might change or without use of mock objects that wouldn't
provide must reassurance.

11 years agoMerge doc change from 3.3
Jason R. Coombs [Tue, 13 May 2014 02:41:49 +0000 (22:41 -0400)]
Merge doc change from 3.3

11 years agoMerge doc change from 3.3
Jason R. Coombs [Tue, 13 May 2014 02:41:15 +0000 (22:41 -0400)]
Merge doc change from 3.3

11 years agoUpdate docs to reflect resurrection of Setuptools over Distribute
Jason R. Coombs [Tue, 13 May 2014 02:40:49 +0000 (22:40 -0400)]
Update docs to reflect resurrection of Setuptools over Distribute

11 years agoMerge from 3.4 (for #21226).
Eric Snow [Tue, 13 May 2014 00:25:00 +0000 (18:25 -0600)]
Merge from 3.4 (for #21226).

11 years ago(Merge 3.4) Issue #21398: Fix an unicode error in the pydoc pager when the
Victor Stinner [Tue, 13 May 2014 00:06:33 +0000 (02:06 +0200)]
(Merge 3.4) Issue #21398: Fix an unicode error in the pydoc pager when the
documentation contains characters not encodable to the stdout encoding.

11 years agoIssue #21398: Fix an unicode error in the pydoc pager when the documentation
Victor Stinner [Tue, 13 May 2014 00:05:35 +0000 (02:05 +0200)]
Issue #21398: Fix an unicode error in the pydoc pager when the documentation
contains characters not encodable to the stdout encoding.

11 years agoIssue #21226: Set all attrs in PyImport_ExecCodeModuleObject.
Eric Snow [Mon, 12 May 2014 23:54:55 +0000 (17:54 -0600)]
Issue #21226: Set all attrs in PyImport_ExecCodeModuleObject.

11 years ago(Merge 3.4) Issue #21418: Fix a crash in the builtin function super() when
Victor Stinner [Mon, 12 May 2014 23:32:54 +0000 (01:32 +0200)]
(Merge 3.4) Issue #21418: Fix a crash in the builtin function super() when
called without argument and without current frame (ex: embedded Python).

11 years agoIssue #21418: Fix a crash in the builtin function super() when called without
Victor Stinner [Mon, 12 May 2014 23:32:36 +0000 (01:32 +0200)]
Issue #21418: Fix a crash in the builtin function super() when called without
argument and without current frame (ex: embedded Python).

11 years ago(Merge 3.4) Issue #21485: remove unnecesary .flush() calls in the asyncio
Victor Stinner [Mon, 12 May 2014 21:25:25 +0000 (23:25 +0200)]
(Merge 3.4) Issue #21485: remove unnecesary .flush() calls in the asyncio
subprocess code example

11 years agoIssue #21485: remove unnecesary .flush() calls in the asyncio subprocess code
Victor Stinner [Mon, 12 May 2014 21:25:09 +0000 (23:25 +0200)]
Issue #21485: remove unnecesary .flush() calls in the asyncio subprocess code
example

11 years ago(Merge 3.4) Issue #21422: Add a test to check that bool << int and bool >> int
Victor Stinner [Mon, 12 May 2014 20:43:07 +0000 (22:43 +0200)]
(Merge 3.4) Issue #21422: Add a test to check that bool << int and bool >> int
return an int

11 years agoIssue #21422: Add a test to check that bool << int and bool >> int return an int
Victor Stinner [Mon, 12 May 2014 20:35:40 +0000 (22:35 +0200)]
Issue #21422: Add a test to check that bool << int and bool >> int return an int

11 years agoIssue #16531: ipaddress.IPv4Network and ipaddress.IPv6Network now accept an (address...
Antoine Pitrou [Mon, 12 May 2014 18:36:46 +0000 (20:36 +0200)]
Issue #16531: ipaddress.IPv4Network and ipaddress.IPv6Network now accept an (address, netmask) tuple argument, so as to easily construct network objects from existing addresses.

11 years agoMerge 3.4->default: asyncio: Fix upstream issue 168: StreamReader.read(-1) from pipe...
Guido van Rossum [Mon, 12 May 2014 17:05:04 +0000 (10:05 -0700)]
Merge 3.4->default: asyncio: Fix upstream issue 168: StreamReader.read(-1) from pipe may hang if data exceeds buffer limit.

11 years agoasyncio: Fix upstream issue 168: StreamReader.read(-1) from pipe may hang if data...
Guido van Rossum [Mon, 12 May 2014 17:04:37 +0000 (10:04 -0700)]
asyncio: Fix upstream issue 168: StreamReader.read(-1) from pipe may hang if data exceeds buffer limit.

11 years agoIssue 21383: merge from 3.4
Ned Deily [Mon, 12 May 2014 04:47:21 +0000 (21:47 -0700)]
Issue 21383: merge from 3.4

11 years agoIssue #21383: Allow "make touch" to work when building outside of the
Ned Deily [Mon, 12 May 2014 04:45:13 +0000 (21:45 -0700)]
Issue #21383: Allow "make touch" to work when building outside of the
source directory.

11 years agoIssue #18104: News for 3.4, in proper place.
Terry Jan Reedy [Mon, 12 May 2014 03:47:31 +0000 (23:47 -0400)]
Issue #18104: News for 3.4, in proper place.

11 years ago#18104: null merge of 3.4 News entry
Terry Jan Reedy [Mon, 12 May 2014 03:46:22 +0000 (23:46 -0400)]
#18104: null merge of 3.4 News entry

11 years agoIssue #18104: News for 3.4 (which will not merge forward).
Terry Jan Reedy [Mon, 12 May 2014 03:42:43 +0000 (23:42 -0400)]
Issue #18104: News for 3.4 (which will not merge forward).

11 years agoMerge with 3.4
Terry Jan Reedy [Mon, 12 May 2014 03:35:35 +0000 (23:35 -0400)]
Merge with 3.4

11 years agowhitespace
Terry Jan Reedy [Mon, 12 May 2014 03:35:09 +0000 (23:35 -0400)]
whitespace

11 years agoMerge with 3.4
Terry Jan Reedy [Mon, 12 May 2014 03:32:58 +0000 (23:32 -0400)]
Merge with 3.4

11 years agoIssue #18104: Add idlelib/idle_test/htest.py with a few sample tests to begin
Terry Jan Reedy [Mon, 12 May 2014 03:32:32 +0000 (23:32 -0400)]
Issue #18104: Add idlelib/idle_test/htest.py with a few sample tests to begin
consolidating and improving human-validated tests of Idle. Change other files
as needed to work with htest.  Running the module as __main__ runs all tests.

11 years agomerge 3.4
Benjamin Peterson [Sun, 11 May 2014 23:17:34 +0000 (16:17 -0700)]
merge 3.4

11 years agouse logical rather than bit and
Benjamin Peterson [Sun, 11 May 2014 23:17:02 +0000 (16:17 -0700)]
use logical rather than bit and

11 years agoIssue 21424: Apply the nlargest() optimizations to nsmallest() as well.
Raymond Hettinger [Sun, 11 May 2014 21:21:23 +0000 (14:21 -0700)]
Issue 21424:  Apply the nlargest() optimizations to nsmallest() as well.

11 years agomerge from 3.4 - clean up the subprocess docs warning-soup and
Gregory P. Smith [Sun, 11 May 2014 20:29:36 +0000 (13:29 -0700)]
merge from 3.4 - clean up the subprocess docs warning-soup and
s/Unix/POSIX/.

11 years agoChange all references to Unix to POSIX in the subprocess docs. It's
Gregory P. Smith [Sun, 11 May 2014 20:28:35 +0000 (13:28 -0700)]
Change all references to Unix to POSIX in the subprocess docs.  It's
more accurate and sounds less like a strange tale of yore.

11 years agoRemove the warning-soup from the subprocess documentation by adding
Gregory P. Smith [Sun, 11 May 2014 20:26:21 +0000 (13:26 -0700)]
Remove the warning-soup from the subprocess documentation by adding
a Security Considerations section as preferred by both the devguide
and documentation users who do not wish to go insane.

11 years agomerge 3.4
Benjamin Peterson [Sun, 11 May 2014 18:19:17 +0000 (11:19 -0700)]
merge 3.4

11 years agoremove confusing delete indexing (closes #21466)
Benjamin Peterson [Sun, 11 May 2014 18:18:51 +0000 (11:18 -0700)]
remove confusing delete indexing (closes #21466)

11 years agoNull merge
Antoine Pitrou [Sun, 11 May 2014 17:39:13 +0000 (19:39 +0200)]
Null merge

11 years agoTry to fix issue #21425 workaround for shared library builds
Antoine Pitrou [Sun, 11 May 2014 17:13:43 +0000 (19:13 +0200)]
Try to fix issue #21425 workaround for shared library builds

11 years agoTry to fix issue #21425 workaround for shared library builds
Antoine Pitrou [Sun, 11 May 2014 17:13:43 +0000 (19:13 +0200)]
Try to fix issue #21425 workaround for shared library builds

11 years agoFix printing out error message when test fails and run with -bb
Antoine Pitrou [Sun, 11 May 2014 17:05:50 +0000 (19:05 +0200)]
Fix printing out error message when test fails and run with -bb

11 years agoFix printing out error message when test fails and run with -bb
Antoine Pitrou [Sun, 11 May 2014 17:05:23 +0000 (19:05 +0200)]
Fix printing out error message when test fails and run with -bb

11 years agoNull merge
Antoine Pitrou [Sun, 11 May 2014 15:30:41 +0000 (17:30 +0200)]
Null merge

11 years agoRemove debugging output
Antoine Pitrou [Sun, 11 May 2014 15:29:57 +0000 (17:29 +0200)]
Remove debugging output

11 years agoTry workaround for test issues in #21425
Antoine Pitrou [Sun, 11 May 2014 14:59:16 +0000 (16:59 +0200)]
Try workaround for test issues in #21425

11 years agoTry workaround for test issues in #21425
Antoine Pitrou [Sun, 11 May 2014 14:59:16 +0000 (16:59 +0200)]
Try workaround for test issues in #21425

11 years agoFix debugging output to work with -W
Antoine Pitrou [Sun, 11 May 2014 14:36:22 +0000 (16:36 +0200)]
Fix debugging output to work with -W

11 years agoFix debugging output to work with -bb
Antoine Pitrou [Sun, 11 May 2014 14:24:45 +0000 (16:24 +0200)]
Fix debugging output to work with -bb

11 years agoAdd debugging output for #21425
Antoine Pitrou [Sun, 11 May 2014 14:09:15 +0000 (16:09 +0200)]
Add debugging output for #21425

11 years agoIssue #21425: Fix flushing of standard streams in the interactive interpreter.
Antoine Pitrou [Sun, 11 May 2014 11:43:31 +0000 (13:43 +0200)]
Issue #21425: Fix flushing of standard streams in the interactive interpreter.

11 years agoIssue #21425: Fix flushing of standard streams in the interactive interpreter.
Antoine Pitrou [Sun, 11 May 2014 11:42:17 +0000 (13:42 +0200)]
Issue #21425: Fix flushing of standard streams in the interactive interpreter.

11 years agoBy popular demand, add back a security warning.
Raymond Hettinger [Sun, 11 May 2014 09:26:23 +0000 (02:26 -0700)]
By popular demand, add back a security warning.

11 years agoIssue #21424: Optimize heaqp.nlargest() to make fewer tuple comparisons.
Raymond Hettinger [Sun, 11 May 2014 08:55:46 +0000 (01:55 -0700)]
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.