Staging
v0.5.1
https://github.com/python/cpython
Revision bfb9184ba80fc14a6d773e72fc591250f668ed3a authored by Guido van Rossum on 22 March 2001, 21:59:20 UTC, committed by Guido van Rossum on 22 March 2001, 21:59:20 UTC
cmd.py uses raw_input(); eats SIGCLD:

  I discovered a rather nasty side effect of the standard cmd.py
  library today. If it's sitting inside raw_input(), any SIGCLDs that
  get sent to your application get silently eaten and ignored. I'm
  assuming that this is something that readline is thoughtfully doing
  for me.

  This patch adds an instance attr that allows the user to select to
  not use raw_input(), but instead use sys.stdin.readline()

[Changed slightly to catch EOFError only for raw_input().]
1 parent 4e262a9
History
Tip revision: bfb9184ba80fc14a6d773e72fc591250f668ed3a authored by Guido van Rossum on 22 March 2001, 21:59:20 UTC
This is SF patch #405952, by Anthony Baxter:
Tip revision: bfb9184
File Mode Size
Demo
Doc
Grammar
Include
Lib
Mac
Misc
Modules
Objects
PC
PCbuild
Parser
Python
RISCOS
Tools
.cvsignore -rw-r--r-- 79 bytes
.hgtags -rw-r--r-- 1.9 KB
LICENSE -rw-r--r-- 9.2 KB
Makefile.pre.in -rw-r--r-- 21.7 KB
README -rw-r--r-- 36.3 KB
acconfig.h -rw-r--r-- 6.0 KB
config.h.in -rw-r--r-- 16.5 KB
configure -rwxr-xr-x 176.8 KB
configure.in -rw-r--r-- 35.8 KB
install-sh -rwxr-xr-x 5.5 KB
setup.py -rw-r--r-- 24.5 KB

README

back to top