Nicolas Grilly <[EMAIL PROTECTED]> added the comment:
It seems using protocol version 2 is not enough:
>>> s = pickle.dumps(partial_f, 2)
>>> f = pickle.loads(s)
Traceback (most recent call last):
...
TypeError: type 'partial' takes at least one argument
Am I missing something?
--
nosy: +ngrilly
___
Python tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue1398>
___
___
Python-bugs-list mailing list
Unsubscribe:
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com