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 pitrou
Recipients Rhamphoryncus, amaury.forgeotdarc, benjamin.peterson, gregory.p.smith, jnoller, mikemccand, pitrou, tzot
Date 2008-07-23.15:29:24
SpamBayes Score 0.0011975486
Marked as misclassified No
Message-id <1216826966.42.0.816470343614.issue874900@psf.upfronthosting.co.za>
In-reply-to
Content
Greg, I'm not sure your improvement patch is right, since some code may
be holding a reference to the former _MainThread instance and expecting
it to still be part of the active threads container.

On the other hand there are things in the Thread class that may need
reinitializing after a fork (e.g. self.__block = Condition(Lock()), and
self.__ident = _get_ident() :-))... so perhaps your patch is a good
enough approximation of what is needed.
History
Date User Action Args
2008-07-23 15:29:27pitrousetspambayes_score: 0.00119755 -> 0.0011975486
recipients: + pitrou, gregory.p.smith, mikemccand, tzot, amaury.forgeotdarc, Rhamphoryncus, benjamin.peterson, jnoller
2008-07-23 15:29:26pitrousetspambayes_score: 0.00119755 -> 0.00119755
messageid: <1216826966.42.0.816470343614.issue874900@psf.upfronthosting.co.za>
2008-07-23 15:29:25pitroulinkissue874900 messages
2008-07-23 15:29:24pitroucreate