Message231164
putting something in Queue(multiprocessing.Queue) after closing it raises an AssertionError.
Getting something out of a Queue after closing it raises an OSError.
I expected both scenarios to raise the same exception.
To Reproduce:
>>> from multiprocessing import Queue
>>> q = Queue()
>>> q.close()
>>> q.put("ok")
Traceback (most recent call last):
...
AssertionError
>>> from multiprocessing import Queue
>>> q = Queue()
>>> q.close()
>>> q.get()
Traceback (most recent call last):
...
OSError: handle is closed |
|
Date |
User |
Action |
Args |
2014-11-14 17:34:48 | Joseph.Siddall | set | recipients:
+ Joseph.Siddall |
2014-11-14 17:34:48 | Joseph.Siddall | set | messageid: <1415986488.54.0.734820295311.issue22872@psf.upfronthosting.co.za> |
2014-11-14 17:34:48 | Joseph.Siddall | link | issue22872 messages |
2014-11-14 17:34:48 | Joseph.Siddall | create | |
|