[New-bugs-announce] [issue4449] AssertionError in Doc/includes/mp_benchmarks.py
Christian Heimes
report at bugs.python.org
Fri Nov 28 12:17:05 CET 2008
New submission from Christian Heimes <lists at cheimes.de>:
./python Doc/includes/mp_benchmarks.py
######## testing Array("i", ..., lock=False)
Traceback (most recent call last):
File "Doc/includes/mp_benchmarks.py", line 235, in <module>
test()
File "Doc/includes/mp_benchmarks.py", line 203, in test
test_seqspeed(multiprocessing.Array('i', range(10), lock=False))
File
"/home/heimes/dev/python/release26-maint/Lib/multiprocessing/__init__.py",
line 254, in Array
return Array(typecode_or_type, size_or_initializer, **kwds)
File
"/home/heimes/dev/python/release26-maint/Lib/multiprocessing/sharedctypes.py",
line 87, in Array
assert hasattr(lock, 'acquire')
AssertionError
The assertion error occurs when using Python 2.6 and our backports to
2.4 and 2.5.
----------
assignee: jnoller
components: Library (Lib)
messages: 76525
nosy: christian.heimes, jnoller
priority: high
severity: normal
stage: needs patch
status: open
title: AssertionError in Doc/includes/mp_benchmarks.py
type: behavior
versions: Python 2.6
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue4449>
_______________________________________
More information about the New-bugs-announce
mailing list