]> granicus.if.org Git - python/commit
bpo-31993: Do not create frames for large bytes and str objects (#5114)
authorSerhiy Storchaka <storchaka@gmail.com>
Thu, 11 Jan 2018 11:03:20 +0000 (13:03 +0200)
committerGitHub <noreply@github.com>
Thu, 11 Jan 2018 11:03:20 +0000 (13:03 +0200)
commit0a2da50e1867831251fad75377d0f10713eb6301
tree4a4f07b2488a4eed222060dc45a05430340a0ad3
parentcb3ae5588bd7733e76dc09277bb7626652d9bb64
bpo-31993: Do not create frames for large bytes and str objects (#5114)

when serialize into memory buffer with C pickle implementations.

This optimization already is performed when serialize into memory
with Python pickle implementations or into a file with both
implementations.
Lib/test/pickletester.py
Lib/test/test_pickle.py
Modules/_pickle.c