Author amaury.forgeotdarc
Recipients amaury.forgeotdarc, barry, donmez, giampaolo.rodola, gpolo, loewis, pitrou, teoliphant
Date 2008-07-27.08:38:02
SpamBayes Score 0.0136761
Marked as misclassified No
Message-id <1217147884.43.0.470053411689.issue3139@psf.upfronthosting.co.za>
In-reply-to
Content
With the patch the following script crashes the 2.6 interpreter on Windows:

import sys, io, threading
stdout2 = io.open(sys.stdout.fileno(), mode="w")
def f(i):
    for i in range(10):
        stdout2.write(unicode((x, i)) + '\n')
for x in range(10):
    t = threading.Thread(target=f, args=(x,))
    t.start()

(with py3k, replace "stdout2.write" with a simple "print")
History
Date User Action Args
2008-07-27 08:38:04amaury.forgeotdarcsetrecipients: + amaury.forgeotdarc, loewis, barry, teoliphant, pitrou, giampaolo.rodola, donmez, gpolo
2008-07-27 08:38:04amaury.forgeotdarcsetmessageid: <1217147884.43.0.470053411689.issue3139@psf.upfronthosting.co.za>
2008-07-27 08:38:03amaury.forgeotdarclinkissue3139 messages
2008-07-27 08:38:02amaury.forgeotdarccreate