Brian Kearns <[email protected]> added the comment:

or, alternatively, if you prefer (happens to give nonsense rather than a 
segfault):

import os
import thread
import time

def f():
    while 1:
        os.getlogin()

thread.start_new_thread(f, ())
thread.start_new_thread(f, ())

while 1:
    time.sleep(1)

----------
status: unread -> chatting

________________________________________
PyPy bug tracker <[email protected]>
<https://bugs.pypy.org/issue1453>
________________________________________
_______________________________________________
pypy-issue mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-issue

Reply via email to