On Feb 12, 2009, at 10:58 AM, Neal Becker wrote:
Is it possible to get a better error message (regarding the pickle-
ability)?
Sure, most of the time it does have a better error msg.
___
Python-Dev mailing list
Python-Dev@python.org
http://mail
Hrvoje Niksic wrote:
> Calvin Spealman wrote:
>> I don't think it would be unreasonable to consider either 1) making
>> functools.partial picklable (I don't know how feasible this is)
>
> It's not only feasible, but quite easy and, I think, useful. A
> "partial" instance is a simple triplet of (
Calvin Spealman wrote:
I don't think it would be unreasonable to consider either 1) making
functools.partial picklable (I don't know how feasible this is)
It's not only feasible, but quite easy and, I think, useful. A
"partial" instance is a simple triplet of (function, args, kwds), and it
c
On Thu, Feb 12, 2009 at 9:22 AM, Calvin Spealman wrote:
> On Thu, Feb 12, 2009 at 9:06 AM, Christian Heimes wrote:
>> Neal Becker schrieb:
>>> If the argument to pool.map (f, args)
>>> is
>>> f = functional.partial (my_func, some_keyword_arg=whatever)
>>>
>>> I get:
>>>
>>> Traceback (most recent
On Thu, Feb 12, 2009 at 9:06 AM, Christian Heimes wrote:
> Neal Becker schrieb:
>> If the argument to pool.map (f, args)
>> is
>> f = functional.partial (my_func, some_keyword_arg=whatever)
>>
>> I get:
>>
>> Traceback (most recent call last):
>> File "/usr/lib/python2.5/site-packages/multiproce
Neal Becker schrieb:
> If the argument to pool.map (f, args)
> is
> f = functional.partial (my_func, some_keyword_arg=whatever)
>
> I get:
>
> Traceback (most recent call last):
> File "/usr/lib/python2.5/site-packages/multiprocessing-2.6.1.1-py2.5-linux-
> self.run()
> File "/usr/lib/pyt
If the argument to pool.map (f, args)
is
f = functional.partial (my_func, some_keyword_arg=whatever)
I get:
Traceback (most recent call last):
File "/usr/lib/python2.5/site-packages/multiprocessing-2.6.1.1-py2.5-linux-
self.run()
File "/usr/lib/python2.5/site-packages/multiprocessing-2.6.