Author ned.deily
Recipients ned.deily, olivier-mattelaer, ronaldoussoren
Date 2012-05-23.21:52:47
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
I took a quick look at this. It's not just OS X, the following also fails on FreeBSD 8.2:

$ python2.7 -c 'import readline'
$ python2.7 -c 'import readline' &
[1] + Stopped (tty output)    python2.7 -c ?import readline

It seems to be hanging on a read from stdin, as adding a redirect of stdin to /dev/null prevents the hang:

$ python2.7 -c 'import readline' </dev/null &
[1] 36178
[1]+  Done                    python2.7 -c 'import readline' < /dev/null

But, on Debian and Ubuntu, neither case hangs. Also, on OS X, the same hang behavior is observed when linked with either GNU readline or BSD libedit.  I'm not sure what the significant difference here is: possibly a BSDism vs Linuxism?
Date User Action Args
2012-05-23 21:52:48ned.deilysetrecipients: + ned.deily, ronaldoussoren, olivier-mattelaer
2012-05-23 21:52:48ned.deilysetmessageid: <>
2012-05-23 21:52:47ned.deilylinkissue14892 messages
2012-05-23 21:52:47ned.deilycreate