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:01vstinnersetrecipients: + vstinner, gvanrossum, neologix, yselivanov, martius
2015-01-12 11:06:01vstinnersetmessageid: <1421060761.71.0.41386603707.issue23225@psf.upfronthosting.co.za>
2015-01-12 11:06:01vstinnerlinkissue23225 messages
2015-01-12 11:06:01vstinnercreate