New submission from Christian Heimes <li...@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 <rep...@bugs.python.org>
<https://bugs.python.org/issue37210>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to