[pypy-issue] [issue1349] input+thread+readline = signal crash

Irmen de Jong tracker at bugs.pypy.org
Mon Dec 17 22:47:19 CET 2012

Irmen de Jong <irmen at razorvine.net> added the comment:

Ok, I've managed to produce a minimal test program that reproduces the error:

import threading, time
import readline   # without readline, no problems

class AsyncInput(threading.Thread):
    def run(self):
        raw_input("(from thread) Type something else: ")

# this input statement triggers the signal bug in pypy at the input in the thread
# removing it makes the problem go away...
raw_input("(from main) Type something: ")

async = AsyncInput()
async.daemon = True

release: 1.9 -> 2.0

PyPy bug tracker <tracker at bugs.pypy.org>

More information about the pypy-issue mailing list