Message70319
| Author |
amaury.forgeotdarc |
| Recipients |
amaury.forgeotdarc, barry, donmez, giampaolo.rodola, gpolo, loewis, pitrou, teoliphant |
| Date |
2008年07月27日.08:38:02 |
| SpamBayes Score |
0.013676075 |
| 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") |
|