[New-bugs-announce] [issue4727] pickle/copyreg doesn't support keyword only arguments in __new__

Erick Tryzelaar report at bugs.python.org
Tue Dec 23 03:35:03 CET 2008


New submission from Erick Tryzelaar <idadesub at users.sourceforge.net>:

According to both of these bugs:

http://bugs.python.org/issue1398
http://bugs.python.org/issue4331

pickle can't pickle functools.partial objects. It looks the underlying 
reason is that objects that pickle can't handle objects with __new__ and 
keyword only arguments. To support this, would this require a new pickle 
protocol and a __getnewfullargs__ that returns a tuple and dict?

----------
components: Library (Lib)
messages: 78222
nosy: erickt
severity: normal
status: open
title: pickle/copyreg doesn't support keyword only arguments in __new__
type: feature request
versions: Python 2.7, Python 3.1

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue4727>
_______________________________________


More information about the New-bugs-announce mailing list