This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author martius
Recipients gvanrossum, martius, python-dev, vstinner, yselivanov
Date 2015-01-12.10:16:49
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1421057809.69.0.506205037647.issue23209@psf.upfronthosting.co.za>
In-reply-to
Content
I updated the selector patch so BaseSelector.get_key() raises KeyError if the mapping is None. All the (non skipped) tests in test_selectors.py passed.

Anyway, if there is an other problem with freeing the mapping object (I don't know, maybe "reopening" a loop may be considered?) this patch can probably be dropped. Since this cycle is broken when the loop is closed, the objects will likely be collected once the program terminates.
History
Date User Action Args
2015-01-12 10:16:49martiussetrecipients: + martius, gvanrossum, vstinner, python-dev, yselivanov
2015-01-12 10:16:49martiussetmessageid: <1421057809.69.0.506205037647.issue23209@psf.upfronthosting.co.za>
2015-01-12 10:16:49martiuslinkissue23209 messages
2015-01-12 10:16:49martiuscreate