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 christian.heimes
Recipients christian.heimes, jnoller
Date 2008-11-28.11:17:02
SpamBayes Score 0.0089155715
Marked as misclassified No
Message-id <1227871025.54.0.693095684062.issue4449@psf.upfronthosting.co.za>
In-reply-to
Content
./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.
History
Date User Action Args
2008-11-28 11:17:05christian.heimessetrecipients: + christian.heimes, jnoller
2008-11-28 11:17:05christian.heimessetmessageid: <1227871025.54.0.693095684062.issue4449@psf.upfronthosting.co.za>
2008-11-28 11:17:03christian.heimeslinkissue4449 messages
2008-11-28 11:17:02christian.heimescreate