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 earonesty
Recipients Billy McCulloch, JDM, Jeffrey.Kintscher, Paul Doom, aclover, earonesty, eryksun, georg.brandl, ncoghlan, paul.moore, python-dev, rocco.matano, rupole, serhiy.storchaka, steve.dower, takluyver, tim.golden, zach.ware
Date 2019-11-20.14:05:42
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1574258742.36.0.0691093919553.issue22107@roundup.psfhosted.org>
In-reply-to
Content
This is the fist of what I'm using: 
https://gist.github.com/earonesty/a052ce176e99d5a659472d0dab6ea361

Seems OK for my use cases.   There's probably issues with relying on __del__ this way.   But it solves the Windows close/reopen problem, too.
History
Date User Action Args
2019-11-20 14:05:42earonestysetrecipients: + earonesty, georg.brandl, paul.moore, ncoghlan, rupole, tim.golden, aclover, python-dev, takluyver, zach.ware, serhiy.storchaka, eryksun, steve.dower, rocco.matano, Billy McCulloch, Paul Doom, JDM, Jeffrey.Kintscher
2019-11-20 14:05:42earonestysetmessageid: <1574258742.36.0.0691093919553.issue22107@roundup.psfhosted.org>
2019-11-20 14:05:42earonestylinkissue22107 messages
2019-11-20 14:05:42earonestycreate