Message233881
| Author |
vstinner |
| Recipients |
gvanrossum, martius, neologix, vstinner, yselivanov |
| Date |
2015年01月12日.11:06:00 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1421060761.71.0.41386603707.issue23225@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
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. |
|
History
|
|---|
| 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 |
|