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 gregory.p.smith
Recipients Birne94, Connor.Wolf, Giovanni.Bajo, Winterflower, bobbyi, dan.oreilly, davin, emptysquare, forest_atq, gregory.p.smith, ionelmc, jcea, lesha, neologix, nirai, nirs, pitrou, sbt, sdaoden, tshepang, vinay.sajip, vstinner
Date 2017-10-21.20:27:53
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1508617673.07.0.213398074469.issue6721@psf.upfronthosting.co.za>
In-reply-to
Content
logging is pretty easy to deal with so I created a PR.

bufferedio.c is a little more work as we either need to use the posixmodule.c os.register_at_fork API or expose it as an internal C API to be able to call it to add acquires and releases around the buffer's self->lock member when non-NULL.  either way, that needs to be written safely so that it doesn't crash if fork happens after a buffered io struct is freed.  (unregister at fork handlers when freeing it? messy)
History
Date User Action Args
2017-10-21 20:27:53gregory.p.smithsetrecipients: + gregory.p.smith, vinay.sajip, jcea, nirs, pitrou, vstinner, nirai, forest_atq, ionelmc, bobbyi, neologix, Giovanni.Bajo, sdaoden, tshepang, sbt, lesha, emptysquare, dan.oreilly, davin, Connor.Wolf, Winterflower, Birne94
2017-10-21 20:27:53gregory.p.smithsetmessageid: <1508617673.07.0.213398074469.issue6721@psf.upfronthosting.co.za>
2017-10-21 20:27:53gregory.p.smithlinkissue6721 messages
2017-10-21 20:27:53gregory.p.smithcreate