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 lobais
Recipients gvanrossum, lobais
Date 2008-01-04.01:33:47
SpamBayes Score 0.1016371
Marked as misclassified No
Message-id <1199410427.74.0.466188498062.issue1731@psf.upfronthosting.co.za>
In-reply-to
Content
I run this now in the beginning of my code. As far as I can see it works
fine.

if not hasattr(Thread, "_Thread__bootstrap_inner"):
    class SafeThread (Thread):
        def encaps(self):
            try:
                self._Thread__bootstrap_inner()
            except:
                if self.__daemonic and sys_ is None:
                    return
                raise
    setattr(SafeThread, "_Thread__bootstrap_inner",
SafeThread._Thread__bootstrap)
    setattr(SafeThread, "_Thread__bootstrap", SafeThread.encaps)
    threading.Thread = SafeThread
History
Date User Action Args
2008-01-04 01:33:47lobaissetspambayes_score: 0.101637 -> 0.1016371
recipients: + lobais, gvanrossum
2008-01-04 01:33:47lobaissetspambayes_score: 0.101637 -> 0.101637
messageid: <1199410427.74.0.466188498062.issue1731@psf.upfronthosting.co.za>
2008-01-04 01:33:47lobaislinkissue1731 messages
2008-01-04 01:33:47lobaiscreate