]> granicus.if.org Git - python/commit
bpo-23403: Bump pickle.DEFAULT_PROTOCOL to 4 (#6355)
authorŁukasz Langa <lukasz@langa.pl>
Wed, 4 Apr 2018 06:06:53 +0000 (23:06 -0700)
committerGitHub <noreply@github.com>
Wed, 4 Apr 2018 06:06:53 +0000 (23:06 -0700)
commitc51d8c9ba6211d77db639487501f89aa9b4bcbb1
treecabc297cea85143550c1755cbd9a19ec9c2c2603
parent42ec190761a2e8503aaa06f0bfaaabe98749179b
bpo-23403: Bump pickle.DEFAULT_PROTOCOL to 4 (#6355)

This makes performance better and produces shorter pickles. This change is backwards compatible up to the oldest currently supported version of Python (3.4).
Doc/library/pickle.rst
Doc/whatsnew/3.8.rst
Lib/pickle.py
Misc/NEWS.d/next/Library/2018-04-02-16-10-12.bpo-23403.KG7ADV.rst [new file with mode: 0644]
Modules/_pickle.c
Modules/clinic/_pickle.c.h