<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Lib/pickle.py, branch 3.10</title>
<subtitle>Python interpreter</subtitle>
<id>http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Lib/pickle.py?h=3.10</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Lib/pickle.py?h=3.10'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/'/>
<updated>2022-06-10T13:59:39Z</updated>
<entry>
<title>gh-90494: Reject 6th element of the __reduce__() tuple (GH-93609) (GH-93632)</title>
<updated>2022-06-10T13:59:39Z</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2022-06-10T13:59:39Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=a0c7df09689769f3016dc9145eb56341aac631a9'/>
<id>urn:sha1:a0c7df09689769f3016dc9145eb56341aac631a9</id>
<content type='text'>
copy.copy() and copy.deepcopy() now always raise a TypeError if
__reduce__() returns a tuple with length 6 instead of silently ignore
the 6th item or produce incorrect result.
(cherry picked from commit a365dd64c2a1f0d142540d5031003f24986f489f)

Co-authored-by: Serhiy Storchaka &lt;storchaka@gmail.com&gt;</content>
</entry>
<entry>
<title>[3.10] Fix typos in the Lib directory (GH-28775) (GH-28804)</title>
<updated>2021-10-07T15:49:47Z</updated>
<author>
<name>Christian Clauss</name>
<email>cclauss@me.com</email>
</author>
<published>2021-10-07T15:49:47Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=cfca4a67745cb9ed040fade3fd54f5002a6e75a6'/>
<id>urn:sha1:cfca4a67745cb9ed040fade3fd54f5002a6e75a6</id>
<content type='text'>
Fix typos in the Lib directory as identified by codespell.

Co-authored-by: Terry Jan Reedy &lt;tjreedy@udel.edu&gt;.
(cherry picked from commit 745c9d9dfc1ad6fdfdf1d07420c6273ff67fa5be)

Co-authored-by: Christian Clauss &lt;cclauss@me.com&gt;</content>
</entry>
<entry>
<title>bpo-43907: add missing memoize call in pure python pickling of bytearray (GH-25501)</title>
<updated>2021-04-23T21:27:14Z</updated>
<author>
<name>Carl Friedrich Bolz-Tereick</name>
<email>cfbolz@gmx.de</email>
</author>
<published>2021-04-23T21:27:14Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=1e9f0933095403b215c2c4a0be7915d034ff7026'/>
<id>urn:sha1:1e9f0933095403b215c2c4a0be7915d034ff7026</id>
<content type='text'>
</content>
</entry>
<entry>
<title>bpo-42406: Fix whichmodule() with multiprocessing (GH-23403)</title>
<updated>2020-11-29T18:23:15Z</updated>
<author>
<name>Renato Cunha</name>
<email>renatocunha@acm.org</email>
</author>
<published>2020-11-29T18:23:15Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=86684319d3dad8e1a7b0559727a48e0bc50afb01'/>
<id>urn:sha1:86684319d3dad8e1a7b0559727a48e0bc50afb01</id>
<content type='text'>
* bpo-42406: Fix whichmodule() with multiprocessing

Signed-off-by: Renato L. de F. Cunha &lt;renatoc@br.ibm.com&gt;
Co-authored-by: Gregory P. Smith &lt;greg@krypto.org&gt;</content>
</entry>
<entry>
<title>bpo-39435: Make the first argument of pickle.loads() positional-only. (GH-19846)</title>
<updated>2020-05-02T06:38:01Z</updated>
<author>
<name>Serhiy Storchaka</name>
<email>storchaka@gmail.com</email>
</author>
<published>2020-05-02T06:38:01Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=531d1e541284bfd7944f8c66a5e8c3c3234afaff'/>
<id>urn:sha1:531d1e541284bfd7944f8c66a5e8c3c3234afaff</id>
<content type='text'>
It was positional-only de facto: documentation and two implementations
used three different name.</content>
</entry>
<entry>
<title>bpo-40327: Improve atomicity, speed, and memory efficiency of the items() loop (GH-19628)</title>
<updated>2020-04-21T23:20:52Z</updated>
<author>
<name>Raymond Hettinger</name>
<email>rhettinger@users.noreply.github.com</email>
</author>
<published>2020-04-21T23:20:52Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=75bedbe2ed4119ff18a2ea86c544b3cf08a92e75'/>
<id>urn:sha1:75bedbe2ed4119ff18a2ea86c544b3cf08a92e75</id>
<content type='text'>
</content>
</entry>
<entry>
<title>bpo-39426: Fix outdated default and highest protocols in docs (GH-18154)</title>
<updated>2020-01-24T10:03:22Z</updated>
<author>
<name>Mark Dickinson</name>
<email>mdickinson@enthought.com</email>
</author>
<published>2020-01-24T10:03:22Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=e9652e8d58392f5022759ba06b444ce970eb12db'/>
<id>urn:sha1:e9652e8d58392f5022759ba06b444ce970eb12db</id>
<content type='text'>
Some portions of the pickle documentation hadn't been updated for the pickle protocol changes in Python 3.8 (new protocol 5, default protocol 4). This PR fixes those docs.


https://bugs.python.org/issue39426</content>
</entry>
<entry>
<title>bpo-38876: Raise pickle.UnpicklingError when loading an item from memo for invalid input (GH-17335)</title>
<updated>2019-11-24T19:15:08Z</updated>
<author>
<name>Claudiu Popa</name>
<email>pcmanticore@gmail.com</email>
</author>
<published>2019-11-24T19:15:08Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=6f03b236c17c96bc9f8a004ffa7e7ae0542e9cac'/>
<id>urn:sha1:6f03b236c17c96bc9f8a004ffa7e7ae0542e9cac</id>
<content type='text'>
The previous code was raising a `KeyError` for both the Python and C implementation.
This was caused by the specified index of an invalid input which did not exist
in the memo structure, where the pickle stores what objects it has seen.
The malformed input would have caused either a `BINGET` or `LONG_BINGET` load
from the memo, leading to a `KeyError` as the determined index was bogus.

https://bugs.python.org/issue38876



https://bugs.python.org/issue38876</content>
</entry>
<entry>
<title>bpo-37210: Fix pure Python pickle when _pickle is unavailable (GH-14016)</title>
<updated>2019-06-13T11:58:51Z</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@redhat.com</email>
</author>
<published>2019-06-13T11:58:51Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=63ab4ba07b492448844940c347787ba30735b7f2'/>
<id>urn:sha1:63ab4ba07b492448844940c347787ba30735b7f2</id>
<content type='text'>
Allow pure Python implementation of pickle to work
even when the C _pickle module is unavailable.

Fix test_pickle when _pickle is missing: declare PyPicklerHookTests
outside "if has_c_implementation:" block.</content>
</entry>
<entry>
<title>bpo-31829: Make protocol 0 pickles be loadable in text mode in Python 2. (GH-11859)</title>
<updated>2019-05-31T08:29:39Z</updated>
<author>
<name>Serhiy Storchaka</name>
<email>storchaka@gmail.com</email>
</author>
<published>2019-05-31T08:29:39Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=38ab7d4721b422547f7b46b9d68968863fa70573'/>
<id>urn:sha1:38ab7d4721b422547f7b46b9d68968863fa70573</id>
<content type='text'>
Escape ``\r``, ``\0`` and ``\x1a`` (end-of-file on Windows) in Unicode strings.
</content>
</entry>
</feed>
