Message70319
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") |
|
Date |
User |
Action |
Args |
2008-07-27 08:38:04 | amaury.forgeotdarc | set | recipients:
+ amaury.forgeotdarc, loewis, barry, teoliphant, pitrou, giampaolo.rodola, donmez, gpolo |
2008-07-27 08:38:04 | amaury.forgeotdarc | set | messageid: <1217147884.43.0.470053411689.issue3139@psf.upfronthosting.co.za> |
2008-07-27 08:38:03 | amaury.forgeotdarc | link | issue3139 messages |
2008-07-27 08:38:02 | amaury.forgeotdarc | create | |
|