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 vstinner
Recipients pitrou, vstinner
Date 2016-03-21.10:53:20
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1458557600.47.0.721121273107.issue26590@psf.upfronthosting.co.za>
In-reply-to
Content
> Now that there is a safe finalizer, I wonder if it should release the GIL, as in sock_close().

Ah yes, good idea. I updated my patch.

I also changed the change to begin by setting the sock_fd attribute to -1, before closing the socket (since the GIL is now released, the order matters).
History
Date User Action Args
2016-03-21 10:53:20vstinnersetrecipients: + vstinner, pitrou
2016-03-21 10:53:20vstinnersetmessageid: <1458557600.47.0.721121273107.issue26590@psf.upfronthosting.co.za>
2016-03-21 10:53:20vstinnerlinkissue26590 messages
2016-03-21 10:53:20vstinnercreate