]> granicus.if.org Git - python/log
python
8 years agoIssue #27033: Removed unnecessary the bool calls.
Serhiy Storchaka [Sun, 29 May 2016 20:50:56 +0000 (23:50 +0300)]
Issue #27033: Removed unnecessary the bool calls.

8 years agoImproved docs for issue27033. Based on comments by R. David Murray.
Serhiy Storchaka [Sun, 29 May 2016 20:43:24 +0000 (23:43 +0300)]
Improved docs for issue27033. Based on comments by R. David Murray.

8 years agoMerge heads
Terry Jan Reedy [Sun, 29 May 2016 16:47:38 +0000 (12:47 -0400)]
Merge heads

8 years agoNull merge
Terry Jan Reedy [Sun, 29 May 2016 16:42:46 +0000 (12:42 -0400)]
Null merge

8 years agoIssue #27125: Merge typo fixes from 3.5
Martin Panter [Sun, 29 May 2016 09:05:06 +0000 (09:05 +0000)]
Issue #27125: Merge typo fixes from 3.5

Also merge changes from Issue #27117; no actual code changes to 3.6.

8 years agoIssue #27117: Make ColorDelegator htest and turtledemo work with dark theme.
Terry Jan Reedy [Sun, 29 May 2016 05:40:30 +0000 (01:40 -0400)]
Issue #27117: Make ColorDelegator htest and turtledemo work with dark theme.
Factor out code for configuring text widget colors to a new function.

8 years agoIssue #27117: Make colorizer htest and turtledemo work with dark theme.
Terry Jan Reedy [Sun, 29 May 2016 05:40:22 +0000 (01:40 -0400)]
Issue #27117: Make colorizer htest and turtledemo work with dark theme.
Factor out code for configuring text widget colors to a new function.

8 years agoIssue #27125: Fix various errors like “will [be] inherited”
Martin Panter [Sun, 29 May 2016 04:13:35 +0000 (04:13 +0000)]
Issue #27125: Fix various errors like “will [be] inherited”

8 years agoIssue #27124: Merge binascii doc from 3.5
Martin Panter [Sun, 29 May 2016 00:56:02 +0000 (00:56 +0000)]
Issue #27124: Merge binascii doc from 3.5

8 years agoIssue #27124: Fix documentation of exception raised by a2b_hex()
Martin Panter [Sun, 29 May 2016 00:48:54 +0000 (00:48 +0000)]
Issue #27124: Fix documentation of exception raised by a2b_hex()

8 years agomerge 3.5
Benjamin Peterson [Sat, 28 May 2016 21:07:49 +0000 (14:07 -0700)]
merge 3.5

8 years agomerge heads
Benjamin Peterson [Sat, 28 May 2016 21:07:45 +0000 (14:07 -0700)]
merge heads

8 years agomerge heads
Benjamin Peterson [Sat, 28 May 2016 21:07:30 +0000 (14:07 -0700)]
merge heads

8 years agomerge heads
Benjamin Peterson [Sat, 28 May 2016 21:06:48 +0000 (14:06 -0700)]
merge heads

8 years agoFix issue27146 - add stdio.h include to posixmodule.c for ctermid().
Gregory P. Smith ext:(%20%5BGoogle%20Inc.%5D) [Sat, 28 May 2016 21:06:41 +0000 (21:06 +0000)]
Fix issue27146 - add stdio.h include to posixmodule.c for ctermid().

8 years agomerge 3.5
Benjamin Peterson [Sat, 28 May 2016 21:05:11 +0000 (14:05 -0700)]
merge 3.5

8 years agobackout 3c9512d8ac0d
Benjamin Peterson [Sat, 28 May 2016 21:04:40 +0000 (14:04 -0700)]
backout 3c9512d8ac0d

8 years agoFix issue27146 - add stdio.h include to posixmodule.c for ctermid().
Gregory P. Smith ext:(%20%5BGoogle%20Inc.%5D) [Sat, 28 May 2016 21:03:48 +0000 (21:03 +0000)]
Fix issue27146 - add stdio.h include to posixmodule.c for ctermid().

8 years agoIssue #27147: Mention PEP 420 in the importlib docs.
Eric Snow [Sat, 28 May 2016 18:08:20 +0000 (11:08 -0700)]
Issue #27147: Mention PEP 420 in the importlib docs.

8 years agoIssue #27147: Mention PEP 420 in the importlib docs.
Eric Snow [Sat, 28 May 2016 17:56:53 +0000 (11:56 -0600)]
Issue #27147: Mention PEP 420 in the importlib docs.

8 years agoIssue #24225: Within idlelib files, update idlelib module names.
Terry Jan Reedy [Sat, 28 May 2016 17:22:31 +0000 (13:22 -0400)]
Issue #24225: Within idlelib files, update idlelib module names.
This follows the previous patch that changed idlelib file names.
Class names that matched old module names are not changed.
Change idlelib imports in turtledemo.__main__.

Exception: config-extensions.def.  Previously, extension section
names, file names, and class names had to match.  Changing section
names would create cross-version conflicts in config-extensions.cfg
(user customizations).  Instead map old names to new file names
at point of import in editor.EditorWindow.load_extension.

Patch extensively tested with test_idle, idle_test.htest.py, a custom
import-all test, running IDLE in a console to catch messages,
and testing each menu item.  Based on a patch by Al Sweigart.

8 years agoIssue #27138: Regenerate Python/importlib_external.h.
Serhiy Storchaka [Sat, 28 May 2016 11:48:19 +0000 (14:48 +0300)]
Issue #27138: Regenerate Python/importlib_external.h.

8 years agoIssue #27138: Regenerate Python/importlib_external.h.
Serhiy Storchaka [Sat, 28 May 2016 11:46:13 +0000 (14:46 +0300)]
Issue #27138: Regenerate Python/importlib_external.h.

8 years agoMerge heads (issue #25926).
Serhiy Storchaka [Sat, 28 May 2016 11:25:46 +0000 (14:25 +0300)]
Merge heads (issue #25926).

8 years agoIssue 25926: Clarify that the pure python equivalents are only approximate.
Raymond Hettinger [Sat, 28 May 2016 07:17:54 +0000 (00:17 -0700)]
Issue 25926:  Clarify that the pure python equivalents are only approximate.

8 years agoIssue 25926: Clarify that the pure python equivalents are only approximate.
Raymond Hettinger [Sat, 28 May 2016 07:10:56 +0000 (00:10 -0700)]
Issue 25926:  Clarify that the pure python equivalents are only approximate.

8 years agoIssue #26553: Merge capitalization from 3.5
Martin Panter [Sat, 28 May 2016 02:25:07 +0000 (02:25 +0000)]
Issue #26553: Merge capitalization from 3.5

8 years agoIssue #26553: Capitalization of HTTP, HTTPS, FTP, and URL
Martin Panter [Sat, 28 May 2016 02:20:39 +0000 (02:20 +0000)]
Issue #26553: Capitalization of HTTP, HTTPS, FTP, and URL

Patch by Anish Shah and Aatish Neupane.

8 years agoIssue #20699: Merge io bytes-like fixes from 3.5
Martin Panter [Sat, 28 May 2016 01:07:08 +0000 (01:07 +0000)]
Issue #20699: Merge io bytes-like fixes from 3.5

8 years agoIssue #20699: Document that “io” methods accept bytes-like objects
Martin Panter [Sat, 28 May 2016 00:41:57 +0000 (00:41 +0000)]
Issue #20699: Document that “io” methods accept bytes-like objects

This matches the usage of ZipFile and BufferedWriter. This still requires
return values to be bytes() objects.

Also document and test that the write() methods should only access their
argument before they return.

8 years agoIssue #27138: Fix the doc comment for FileFinder.find_spec().
Eric Snow [Fri, 27 May 2016 18:56:41 +0000 (12:56 -0600)]
Issue #27138: Fix the doc comment for FileFinder.find_spec().

8 years agoIssue #27138: Fix the doc comment for FileFinder.find_spec().
Eric Snow [Fri, 27 May 2016 18:36:28 +0000 (12:36 -0600)]
Issue #27138: Fix the doc comment for FileFinder.find_spec().

8 years agoIssue #5784: Merge zlib from 3.5
Martin Panter [Fri, 27 May 2016 11:30:59 +0000 (11:30 +0000)]
Issue #5784: Merge zlib from 3.5

8 years agoIssue #5784: wbits=0 apparently added in zlib v1.2.3.5
Martin Panter [Fri, 27 May 2016 11:20:21 +0000 (11:20 +0000)]
Issue #5784: wbits=0 apparently added in zlib v1.2.3.5

8 years agoIssue #5784: Merge zlib from 3.5
Martin Panter [Fri, 27 May 2016 08:00:24 +0000 (08:00 +0000)]
Issue #5784: Merge zlib from 3.5

8 years agoIssue #5784: Expand documentation and tests for zlib wbits parameter
Martin Panter [Fri, 27 May 2016 07:32:11 +0000 (07:32 +0000)]
Issue #5784: Expand documentation and tests for zlib wbits parameter

Based on documentation by AM Kuchling.

8 years agomerge 3.5
Benjamin Peterson [Fri, 27 May 2016 06:19:02 +0000 (23:19 -0700)]
merge 3.5

8 years agostop talking about svn
Benjamin Peterson [Fri, 27 May 2016 06:18:51 +0000 (23:18 -0700)]
stop talking about svn

8 years agomerge 3.5
Benjamin Peterson [Fri, 27 May 2016 05:56:51 +0000 (22:56 -0700)]
merge 3.5

8 years agoremove cruft from Schwarzian transform section
Benjamin Peterson [Fri, 27 May 2016 05:55:49 +0000 (22:55 -0700)]
remove cruft from Schwarzian transform section

8 years agomerge 3.5
Benjamin Peterson [Fri, 27 May 2016 05:51:44 +0000 (22:51 -0700)]
merge 3.5

8 years ago"Numeric Python" -> "NumPy"
Benjamin Peterson [Fri, 27 May 2016 05:51:32 +0000 (22:51 -0700)]
"Numeric Python" -> "NumPy"

8 years agoIssue #27114: Fix SSLContext._load_windows_store_certs fails with PermissionError
Steve Dower [Thu, 26 May 2016 19:19:42 +0000 (12:19 -0700)]
Issue #27114: Fix SSLContext._load_windows_store_certs fails with PermissionError

8 years agoIssue #27114: Fix SSLContext._load_windows_store_certs fails with PermissionError
Steve Dower [Thu, 26 May 2016 19:18:12 +0000 (12:18 -0700)]
Issue #27114: Fix SSLContext._load_windows_store_certs fails with PermissionError

8 years agoComment/docstring tweaks for typing.py. (Merge 3.5->3.6)
Guido van Rossum [Thu, 26 May 2016 16:56:46 +0000 (09:56 -0700)]
Comment/docstring tweaks for typing.py. (Merge 3.5->3.6)

8 years agoComment/docstring tweaks for typing.py.
Guido van Rossum [Thu, 26 May 2016 16:56:19 +0000 (09:56 -0700)]
Comment/docstring tweaks for typing.py.

8 years agoMerge 3.5 (test_warnings)
Victor Stinner [Thu, 26 May 2016 13:22:14 +0000 (15:22 +0200)]
Merge 3.5 (test_warnings)

8 years agotest_warnings: catch stderr and check warning
Victor Stinner [Thu, 26 May 2016 13:21:25 +0000 (15:21 +0200)]
test_warnings: catch stderr and check warning

Check the user warning in test_error_after_default() to not pollute the output,
and check the warning logged into stderr.

8 years agoIssue #18383: Merge warnings fix from 3.5
Martin Panter [Thu, 26 May 2016 09:39:41 +0000 (09:39 +0000)]
Issue #18383: Merge warnings fix from 3.5

8 years agoIssue #18383: Avoid adding duplicate filters when warnings is reloaded
Martin Panter [Thu, 26 May 2016 09:10:55 +0000 (09:10 +0000)]
Issue #18383: Avoid adding duplicate filters when warnings is reloaded

Based on patch by Alex Shkop.

8 years agoIssue #27076: More doc and comment spelling fixes for 3.6, by Ville Skyttä
Martin Panter [Thu, 26 May 2016 06:03:33 +0000 (06:03 +0000)]
Issue #27076: More doc and comment spelling fixes for 3.6, by Ville Skyttä

8 years agoIssue #27076: Merge spelling from 3.5
Martin Panter [Thu, 26 May 2016 06:03:19 +0000 (06:03 +0000)]
Issue #27076: Merge spelling from 3.5

8 years agoIssue #27076: Doc, comment and tests spelling fixes
Martin Panter [Thu, 26 May 2016 05:35:26 +0000 (05:35 +0000)]
Issue #27076: Doc, comment and tests spelling fixes

Most fixes to Doc/ and Lib/ directories by Ville Skyttä.

8 years agoCloses #23026: Documentation improvements and code formatting
Steve Dower [Wed, 25 May 2016 18:26:07 +0000 (11:26 -0700)]
Closes #23026: Documentation improvements and code formatting

8 years agoFixed the use of _Py_IS_ALIGNED (issue #27097).
Serhiy Storchaka [Wed, 25 May 2016 17:35:44 +0000 (20:35 +0300)]
Fixed the use of _Py_IS_ALIGNED (issue #27097).

8 years agoIssue #27097: Python interpreter is now about 7% faster due to optimized
Serhiy Storchaka [Wed, 25 May 2016 17:02:01 +0000 (20:02 +0300)]
Issue #27097: Python interpreter is now about 7% faster due to optimized
instruction decoding.  Based on patch by Demur Rumed.

8 years agoIssue #27118: Clean up Py_XINCREF/Py_XDECREF in typeobject.c.
Serhiy Storchaka [Wed, 25 May 2016 13:14:55 +0000 (16:14 +0300)]
Issue #27118: Clean up Py_XINCREF/Py_XDECREF in typeobject.c.
Patch by Xiang Zhang.

8 years agoAdded Type[C] implementation to typing.py. (Merge 3.5->3.6)
Guido van Rossum [Tue, 24 May 2016 23:39:23 +0000 (16:39 -0700)]
Added Type[C] implementation to typing.py. (Merge 3.5->3.6)

8 years agoAdded Type[C] implementation to typing.py.
Guido van Rossum [Tue, 24 May 2016 23:38:22 +0000 (16:38 -0700)]
Added Type[C] implementation to typing.py.

8 years agoIssue #23026: winreg.QueryValueEx() now return an integer for REG_QWORD type. (Patch...
Steve Dower [Tue, 24 May 2016 22:42:04 +0000 (15:42 -0700)]
Issue #23026: winreg.QueryValueEx() now return an integer for REG_QWORD type. (Patch by hakril)

8 years agoIssue #26647: Python interpreter now uses 16-bit wordcode instead of bytecode.
Serhiy Storchaka [Tue, 24 May 2016 06:15:14 +0000 (09:15 +0300)]
Issue #26647: Python interpreter now uses 16-bit wordcode instead of bytecode.
Patch by Demur Rumed.

8 years agomerge 3.5 (#27093)
Benjamin Peterson [Tue, 24 May 2016 05:48:05 +0000 (22:48 -0700)]
merge 3.5 (#27093)

8 years agofix indentation and add curlies (closes #27093)
Benjamin Peterson [Tue, 24 May 2016 05:47:50 +0000 (22:47 -0700)]
fix indentation and add curlies (closes #27093)

8 years agoIssue #26927: Fixed test_mmap on platforms with 32-bit off_t (like Android).
Serhiy Storchaka [Mon, 23 May 2016 05:42:09 +0000 (08:42 +0300)]
Issue #26927: Fixed test_mmap on platforms with 32-bit off_t (like Android).
Patch by Xavier de Gaye.

8 years agoIssue #26927: Fixed test_mmap on platforms with 32-bit off_t (like Android).
Serhiy Storchaka [Mon, 23 May 2016 05:41:48 +0000 (08:41 +0300)]
Issue #26927: Fixed test_mmap on platforms with 32-bit off_t (like Android).
Patch by Xavier de Gaye.

8 years agoIssue #24225: Rename many idlelib/*.py and idlelib/idle_test/test_*.py files.
Terry Jan Reedy [Sun, 22 May 2016 23:10:31 +0000 (19:10 -0400)]
Issue #24225: Rename many idlelib/*.py and idlelib/idle_test/test_*.py files.

8 years agoMerge with 3.5
Terry Jan Reedy [Sun, 22 May 2016 18:35:43 +0000 (14:35 -0400)]
Merge with 3.5

8 years agoIssue #26673: Protect IDLE from Linux fonts with reported default size 0.
Terry Jan Reedy [Sun, 22 May 2016 18:35:24 +0000 (14:35 -0400)]
Issue #26673: Protect IDLE from Linux fonts with reported default size 0.
Such fonts on Linux prevented the configuration dialog from opening.

8 years agoIssue #26857: The gethostbyaddr_r() workaround is no longer needed with
Stefan Krah [Sun, 22 May 2016 15:35:34 +0000 (17:35 +0200)]
Issue #26857: The gethostbyaddr_r() workaround is no longer needed with
api-level >= 23. Patch by Xavier de Gaye.

8 years agoFixed an error in previous commit.
Serhiy Storchaka [Sun, 22 May 2016 15:23:51 +0000 (18:23 +0300)]
Fixed an error in previous commit.

8 years agoFixed an error in previous commit.
Serhiy Storchaka [Sun, 22 May 2016 15:23:36 +0000 (18:23 +0300)]
Fixed an error in previous commit.

8 years agoTemporary skip curses tests on non-tty (issue #27067).
Serhiy Storchaka [Sun, 22 May 2016 15:17:25 +0000 (18:17 +0300)]
Temporary skip curses tests on non-tty (issue #27067).

8 years agoTemporary skip curses tests on non-tty (issue #27067).
Serhiy Storchaka [Sun, 22 May 2016 15:16:20 +0000 (18:16 +0300)]
Temporary skip curses tests on non-tty (issue #27067).

8 years agoIssue #27064: The py.exe launcher now defaults to Python 3.
Paul Moore [Sun, 22 May 2016 11:28:41 +0000 (12:28 +0100)]
Issue #27064: The py.exe launcher now defaults to Python 3.
The Windows launcher ``py.exe`` no longer prefers an installed
Python 2 version over Python 3 by default when used interactively.

8 years agoExtra NEWS formatting fix for 3.6
Martin Panter [Sun, 22 May 2016 03:10:11 +0000 (03:10 +0000)]
Extra NEWS formatting fix for 3.6

8 years agoMerge NEWS formatting from 3.5
Martin Panter [Sun, 22 May 2016 03:05:44 +0000 (03:05 +0000)]
Merge NEWS formatting from 3.5

8 years agoFix minor inconsistencies with Issue #N references in NEWS and HISTORY
Martin Panter [Sun, 22 May 2016 03:01:52 +0000 (03:01 +0000)]
Fix minor inconsistencies with Issue #N references in NEWS and HISTORY

8 years agoMerge 3.5 (asyncio)
Yury Selivanov [Sat, 21 May 2016 20:50:31 +0000 (16:50 -0400)]
Merge 3.5 (asyncio)

8 years agoasyncio: Fix BytesWarning (use typed=True in lru_cache for _ipaddr_info)
Yury Selivanov [Sat, 21 May 2016 20:50:16 +0000 (16:50 -0400)]
asyncio: Fix BytesWarning (use typed=True in lru_cache for _ipaddr_info)

8 years agoIssue #27067: Improved curses tests.
Serhiy Storchaka [Sat, 21 May 2016 18:36:29 +0000 (21:36 +0300)]
Issue #27067: Improved curses tests.

8 years agoIssue #27067: Improved curses tests.
Serhiy Storchaka [Sat, 21 May 2016 18:36:11 +0000 (21:36 +0300)]
Issue #27067: Improved curses tests.

8 years agoIssue #27075: Link to StreamReader and StreamWriter docs
Berker Peksag [Sat, 21 May 2016 11:56:53 +0000 (14:56 +0300)]
Issue #27075: Link to StreamReader and StreamWriter docs

Patch by Ville Skyttä.

8 years agoIssue #27075: Link to StreamReader and StreamWriter docs
Berker Peksag [Sat, 21 May 2016 11:56:35 +0000 (14:56 +0300)]
Issue #27075: Link to StreamReader and StreamWriter docs

Patch by Ville Skyttä.

8 years agoMerge 3.5 (asyncio)
Yury Selivanov [Fri, 20 May 2016 21:44:44 +0000 (17:44 -0400)]
Merge 3.5 (asyncio)

8 years agoasyncio: Fix getaddrinfo to accept None/str/bytes for 'port' arg
Yury Selivanov [Fri, 20 May 2016 21:44:19 +0000 (17:44 -0400)]
asyncio: Fix getaddrinfo to accept None/str/bytes for 'port' arg

Patch by A. Jesse Jiryu Davis.

8 years agoIssue #27063: Some unittest loader tests were silently skipped.
Serhiy Storchaka [Fri, 20 May 2016 20:29:07 +0000 (23:29 +0300)]
Issue #27063: Some unittest loader tests were silently skipped.

8 years agoIssue #27063: Some unittest loader tests were silently skipped.
Serhiy Storchaka [Fri, 20 May 2016 20:28:37 +0000 (23:28 +0300)]
Issue #27063: Some unittest loader tests were silently skipped.

8 years agoIssue #26168: Fixed possible refleaks in failing Py_BuildValue() with the "N"
Serhiy Storchaka [Fri, 20 May 2016 19:31:50 +0000 (22:31 +0300)]
Issue #26168: Fixed possible refleaks in failing Py_BuildValue() with the "N"
format unit.

8 years agoIssue #26168: Fixed possible refleaks in failing Py_BuildValue() with the "N"
Serhiy Storchaka [Fri, 20 May 2016 19:31:14 +0000 (22:31 +0300)]
Issue #26168: Fixed possible refleaks in failing Py_BuildValue() with the "N"
format unit.

8 years agoIssue #27056: Fix _Unpickler_Read() to avoid integer overflow
Victor Stinner [Fri, 20 May 2016 19:16:59 +0000 (21:16 +0200)]
Issue #27056: Fix _Unpickler_Read() to avoid integer overflow

8 years agoMerge 3.5 (asyncio)
Yury Selivanov [Fri, 20 May 2016 15:31:55 +0000 (11:31 -0400)]
Merge 3.5 (asyncio)

8 years agoasyncio: Fix an SSL warning in StreamReaderProtocol.eof_received
Yury Selivanov [Fri, 20 May 2016 15:31:40 +0000 (11:31 -0400)]
asyncio: Fix an SSL warning in StreamReaderProtocol.eof_received

8 years agoregrtest: display test result (passed, failed, ...)
Victor Stinner [Fri, 20 May 2016 11:37:40 +0000 (13:37 +0200)]
regrtest: display test result (passed, failed, ...)

* in multiprocessing mode: always display the result
* sequential mode: only display the result if the test did not pass

8 years agoregrtest doesn't ignore -j1 anymore
Victor Stinner [Fri, 20 May 2016 11:15:55 +0000 (13:15 +0200)]
regrtest doesn't ignore -j1 anymore

* regrtest now uses subprocesses when the -j1 command line option
  is used: each test file runs in a fresh child process. Before, the -j1 option
  was ignored.
* Tools/buildbot/test.bat script now uses -j1 by default to run
  each test file in fresh child process.

8 years agoMerge 3.5 (issue #26741)
Victor Stinner [Fri, 20 May 2016 11:06:55 +0000 (13:06 +0200)]
Merge 3.5 (issue #26741)

8 years agoasyncio: fix ResourceWarning related to subprocesses
Victor Stinner [Fri, 20 May 2016 11:05:48 +0000 (13:05 +0200)]
asyncio: fix ResourceWarning related to subprocesses

Issue #26741: asyncio: BaseSubprocessTransport._process_exited() now copies the
return code from the child watched to the returncode attribute of the Popen
object. On Python 3.6, it is required to avoid a ResourceWarning.

8 years agosubprocess now emits a ResourceWarning warning
Victor Stinner [Fri, 20 May 2016 10:11:15 +0000 (12:11 +0200)]
subprocess now emits a ResourceWarning warning

Issue #26741: subprocess.Popen destructor now emits a ResourceWarning warning
if the child process is still running.

8 years agoIssue #26741: POSIX implementation of subprocess.Popen._execute_child() now
Victor Stinner [Fri, 20 May 2016 10:08:12 +0000 (12:08 +0200)]
Issue #26741: POSIX implementation of subprocess.Popen._execute_child() now
sets the returncode attribute using the child process exit status when exec
failed.

8 years agoUse "with popen:" in test_subprocess
Victor Stinner [Fri, 20 May 2016 10:43:15 +0000 (12:43 +0200)]
Use "with popen:" in test_subprocess

Issue #26741.

8 years agoOptimize pickle.load() and pickle.loads()
Victor Stinner [Fri, 20 May 2016 09:42:37 +0000 (11:42 +0200)]
Optimize pickle.load() and pickle.loads()

Issue #27056: Optimize pickle.load() and pickle.loads(), up to 10% faster to
deserialize a lot of small objects.