[Python-Dev] multiprocessing problems (original) (raw)
Georg Brandl g.brandl at gmx.net
Wed Jun 11 08:32:14 CEST 2008
- Previous message: [Python-Dev] bug or a feature?
- Next message: [Python-Dev] multiprocessing problems
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Currently, multiprocessing cannot be imported:
import multiprocessing Traceback (most recent call last): File "", line 1, in File "/home/gbr/devel/python/Lib/multiprocessing/init.py", line 63, in import _multiprocessing AttributeError: 'module' object has no attribute 'BufferTooShort'
The test suite passes (at least for some buildbots) because it imports _multiprocessing first, which then in its init function imports multiprocessing to get the BufferTooShort exception.
Since BufferTooShort and other exceptions inheriting from ProcessError are simple derived exceptions, why aren't they created in the C module in the first place?
Georg
- Previous message: [Python-Dev] bug or a feature?
- Next message: [Python-Dev] multiprocessing problems
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]