[issue1398] Can't pickle partial functions

2008-08-15 Thread Nicolas Grilly

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



[issue3006] subprocess.Popen causes socket to remain open after close

2008-08-26 Thread Nicolas Grilly

Changes by Nicolas Grilly <[EMAIL PROTECTED]>:


--
nosy: +ngrilly

___
Python tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue3006>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com