Author sbt
Recipients Julien.Palard, joshpurvis, sbt, vinay.sajip
Date 2013-05-16.19:17:31
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Rather than

    self.sock = None

I would do


which should work better for non-refcounted Pythons.

Of course it would be better to do this immediately after forking (i.e. before any more fds are created), otherwise you could still accidentally zap the fd of some other object.

If you can't do this immediately after forking then maybe it is better to move inherited potentially broken objects to a garbage list to prevent garbage collection.
Date User Action Args
2013-05-16 19:17:31sbtsetrecipients: + sbt, vinay.sajip, Julien.Palard, joshpurvis
2013-05-16 19:17:31sbtsetmessageid: <>
2013-05-16 19:17:31sbtlinkissue17981 messages
2013-05-16 19:17:31sbtcreate