[New-bugs-announce] [issue37210] Pure Python pickle module should not depend on _pickle.PickleBuffer

Christian Heimes report at bugs.python.org
Sun Jun 9 16:23:32 EDT 2019


New submission from Christian Heimes <lists at cheimes.de>:

In https://twitter.com/moreati/status/1137815804530049028 Alex Willmer wrote:

> In CPython 3.8dev the pure http://pickle.py  module now depends on the C _pickle module, but only for one class https://github.com/python/cpython/blob/c879ff247ae1b67a790ff98d2d59145302cd4e4e/Lib/pickle.py#L39

Antoine, would it make sense turn _pickle.PickleBuffer into an optional dependency? The class is only used for pickle 5 as described in PEP 574, https://www.python.org/dev/peps/pep-0574/

----------
components: Library (Lib)
keywords: 3.8regression
messages: 345088
nosy: christian.heimes, pitrou
priority: normal
severity: normal
status: open
title: Pure Python pickle module should not depend on _pickle.PickleBuffer
type: behavior
versions: Python 3.8, Python 3.9

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue37210>
_______________________________________


More information about the New-bugs-announce mailing list