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 <>
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:01vstinnersetrecipients: + vstinner, gvanrossum, neologix, yselivanov, martius
2015-01-12 11:06:01vstinnersetmessageid: <>
2015-01-12 11:06:01vstinnerlinkissue23225 messages
2015-01-12 11:06:01vstinnercreate