]> granicus.if.org Git - python/commit
bpo-37210: Fix pure Python pickle when _pickle is unavailable (GH-14016)
authorVictor Stinner <vstinner@redhat.com>
Thu, 13 Jun 2019 11:58:51 +0000 (13:58 +0200)
committerGitHub <noreply@github.com>
Thu, 13 Jun 2019 11:58:51 +0000 (13:58 +0200)
commit63ab4ba07b492448844940c347787ba30735b7f2
treee76e84e6bd8355398833353bf9afdf6f2a1b6da8
parent6f75c873752a16a7ad8f35855b1e29f59d048e84
bpo-37210: Fix pure Python pickle when _pickle is unavailable (GH-14016)

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.
Lib/pickle.py
Lib/test/test_pickle.py
Misc/NEWS.d/next/Library/2019-06-12-16-10-50.bpo-37210.r4yMg6.rst [new file with mode: 0644]