Author gregory.p.smith
Recipients csernazs, dagobert, doughellmann, gregory.p.smith, jednaszewski, loewis, pitrou, twouters
Date 2010-02-28.09:01:15
SpamBayes Score 4.83405e-09
Marked as misclassified No
Message-id <1267347680.21.0.908163106686.issue7242@psf.upfronthosting.co.za>
In-reply-to
Content
Using issue7242-gps01.diff on release26-maint and a freshly downloaded opensolaris 2009-06 VM test_thread, test_threading and test_subprocess all pass for me both before -and- after the patch.  Nor does the original thread_test.py cause the problem for me (meaning I'm unable to reproduce the problem in this VM in the first place so... someone else needs to)

Regardless, I altered patch_2 a bit in that diff to do what I though _PyImport_ReInitLock() should really do.  I also added the thread_unittest testcase to that diff.

% uname -a
SunOS opensolaris-vm 5.11 snv 111b i86pc i386 i86pc Solaris"

Can someone who could reproduce the problem in the first place please test that patch.

The logic change makes sense to me.  I don't know why test_threading.ThreadJoinOnShutdown.test_3_join_in_forked_from_thread would be changing behavior for you.
History
Date User Action Args
2010-02-28 09:01:20gregory.p.smithsetrecipients: + gregory.p.smith, loewis, twouters, csernazs, pitrou, doughellmann, dagobert, jednaszewski
2010-02-28 09:01:20gregory.p.smithsetmessageid: <1267347680.21.0.908163106686.issue7242@psf.upfronthosting.co.za>
2010-02-28 09:01:18gregory.p.smithlinkissue7242 messages
2010-02-28 09:01:17gregory.p.smithcreate