Message233881
I propose to raise a RuntimeError exception on operations of a selector when the selector is closed.
I'm not sure that RuntimeError is the most common exception:
- io and gzip raise ValueError
- asyncio raises RuntimeError (and selectors is "linked" to asyncio)
- multiprocessing raises OSError
- dbm.dumb raises dbm.dumb.error
This issue is related to the issue #23209 which propopses to set the _map attribute to None when in the close() method. |
|
Date |
User |
Action |
Args |
2015-01-12 11:06:01 | vstinner | set | recipients:
+ vstinner, gvanrossum, neologix, yselivanov, martius |
2015-01-12 11:06:01 | vstinner | set | messageid: <1421060761.71.0.41386603707.issue23225@psf.upfronthosting.co.za> |
2015-01-12 11:06:01 | vstinner | link | issue23225 messages |
2015-01-12 11:06:01 | vstinner | create | |
|