Message76784
Here is a patch nonetheless. It makes the code match the the documentation:
http://docs.python.org/library/multiprocessing.html#multiprocessing.sharedctypes.Arra
y
"""
- If lock is True (the default) then a new lock object is created to synchronize
access to the value.
- If lock is a Lock or RLock object then that will be used to synchronize access to
the value.
- If lock is False then access to the returned object will not be automatically
protected by a lock, so it will not necessarily be process-safe.
"""
I changed multiprocessing.sharedctypes.Array and multiprocessing. sharedctypes.Array
I had to change some tests: now "lock=None" is an error.
+ some markup fixes in the documentation. |
|
Date |
User |
Action |
Args |
2008-12-02 21:10:34 | amaury.forgeotdarc | set | recipients:
+ amaury.forgeotdarc, loewis, barry, christian.heimes, jnoller |
2008-12-02 21:10:34 | amaury.forgeotdarc | set | messageid: <1228252234.16.0.478280184221.issue4449@psf.upfronthosting.co.za> |
2008-12-02 21:10:33 | amaury.forgeotdarc | link | issue4449 messages |
2008-12-02 21:10:33 | amaury.forgeotdarc | create | |
|