This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author georg.brandl
Recipients georg.brandl, jnoller, kjohnson
Date 2008-10-02.17:10:08
SpamBayes Score 8.071521e-08
Marked as misclassified No
Message-id <1222967409.99.0.507002383711.issue4012@psf.upfronthosting.co.za>
In-reply-to
Content
I e.g. tried a minimal example with Pool.map():

>>> from multiprocessing import Pool
>>> p = Pool(5)
>>> def f(x):
...  return x*x
...
>>> p.map(f, [1,2,3])
Process PoolWorker-1:
Traceback (most recent call last):
  File "/home/gbr/devel/python/Lib/multiprocessing/process.py", line
231, in _bootstrap
    self.run()
  File "/home/gbr/devel/python/Lib/multiprocessing/process.py", line 88,
in run
    self._target(*self._args, **self._kwargs)
  File "/home/gbr/devel/python/Lib/multiprocessing/pool.py", line 57, in
worker
Process PoolWorker-2:

[some more exceptions]

    task = get()
  File "/home/gbr/devel/python/Lib/multiprocessing/queues.py", line 339,
in get
    return recv()
AttributeError: 'module' object has no attribute 'f'

And then the prompt doesn't reappear.
History
Date User Action Args
2008-10-02 17:10:10georg.brandlsetrecipients: + georg.brandl, kjohnson, jnoller
2008-10-02 17:10:09georg.brandlsetmessageid: <1222967409.99.0.507002383711.issue4012@psf.upfronthosting.co.za>
2008-10-02 17:10:08georg.brandllinkissue4012 messages
2008-10-02 17:10:08georg.brandlcreate