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 pitrou
Recipients jnoller, pitrou
Date 2008-09-01.17:11:33
SpamBayes Score 4.2184237e-08
Marked as misclassified No
Message-id <1220289102.61.0.301531617592.issue3731@psf.upfronthosting.co.za>
In-reply-to
Content
Indeed. _multiprocessing.so compiles fine but afterwards I get:

*** WARNING: importing extension "_multiprocessing" failed with <type
'exceptions.AttributeError'>: 'module' object has no attribute 'SemLock'


And if I try manually:

>>> import _multiprocessing
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/antoine/cpython/__svn__/Lib/multiprocessing/__init__.py",
line 148, in <module>
    from multiprocessing.synchronize import (Lock, RLock, Condition, Event,
  File
"/home/antoine/cpython/__svn__/Lib/multiprocessing/synchronize.py", line
29, in <module>
    SEM_VALUE_MAX = _multiprocessing.SemLock.SEM_VALUE_MAX
AttributeError: 'module' object has no attribute 'SemLock'


Removing the .pyc files doesn't help.
History
Date User Action Args
2008-09-01 17:11:42pitrousetrecipients: + pitrou, jnoller
2008-09-01 17:11:42pitrousetmessageid: <1220289102.61.0.301531617592.issue3731@psf.upfronthosting.co.za>
2008-09-01 17:11:34pitroulinkissue3731 messages
2008-09-01 17:11:33pitroucreate