New submission from Garrett Cooper <yaneg...@gmail.com>: I'm not sure why but my copy doesn't have a managers module. I'm really confused because multiprocessing.managers exists in Lib/multiprocessing/managers.py and it should have been installed with easy_install...
Please see the attached testcase (it shows the details verifying that I don't have support). I ran it against all copies of python I have besides 3.x (nose doesn't support 3.x because setuptools isn't there yet for 3.x support). -bash-3.00$ python2.4 `which nosetests` ~/test_managers_support.py Python version: 2.4.5 (#1, Mar 28 2009, 14:54:51) [GCC 3.4.6 20060404 (Red Hat 3.4.6-9)]F ====================================================================== FAIL: test_managers_support.test_has_managers ---------------------------------------------------------------------- Traceback (most recent call last): File "/ws/garrcoop-sjc/tools/lib/python2.4/site-packages/nose-0.10.4-py2.4.egg/nose/case.py", line 182, in runTest self.test(*self.arg) File "/users/garrcoop/test_managers_support.py", line 9, in test_has_managers assert hasattr(multiprocessing, 'managers') AssertionError ---------------------------------------------------------------------- Ran 1 test in 0.050s FAILED (failures=1) -bash-3.00$ python2.5 `which nosetests` ~/test_managers_support.py /ws/garrcoop-sjc/tools/lib/python2.4/site-packages/multiprocessing-2.6.1.1-py2.4-linux-i686.egg/multiprocessing/__init__.py:86: RuntimeWarning: Python C API version mismatch for module _multiprocessing: This Python has API version 1013, module _multiprocessing has version 1012. import _multiprocessing Python version: 2.5.4 (r254:67916, Mar 28 2009, 15:01:19) [GCC 3.4.6 20060404 (Red Hat 3.4.6-9)]F ====================================================================== FAIL: test_managers_support.test_has_managers ---------------------------------------------------------------------- Traceback (most recent call last): File "/ws/garrcoop-sjc/tools/lib/python2.4/site-packages/nose-0.10.4-py2.4.egg/nose/case.py", line 182, in runTest self.test(*self.arg) File "/users/garrcoop/test_managers_support.py", line 9, in test_has_managers assert hasattr(multiprocessing, 'managers') AssertionError ---------------------------------------------------------------------- Ran 1 test in 0.159s FAILED (failures=1) -bash-3.00$ python2.6 `which nosetests` ~/test_managers_support.py F ====================================================================== FAIL: test_managers_support.test_has_managers ---------------------------------------------------------------------- Traceback (most recent call last): File "/ws/garrcoop-sjc/tools/lib/python2.4/site-packages/nose-0.10.4-py2.4.egg/nose/case.py", line 182, in runTest self.test(*self.arg) File "/users/garrcoop/test_managers_support.py", line 7, in test_has_managers assert hasattr(multiprocessing, 'managers') AssertionError ---------------------------------------------------------------------- Ran 1 test in 0.029s FAILED (failures=1) ---------- components: Extension Modules, Installation files: test_managers_support.py messages: 85921 nosy: jnoller, yaneurabeya severity: normal status: open title: multiprocessing.managers not accessible even though docs say so versions: Python 2.4, Python 2.5, Python 2.6, Python 3.0 Added file: http://bugs.python.org/file13679/test_managers_support.py _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue5743> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com