]> granicus.if.org Git - python/commit
Fix issue #1667. The _Printer() class was using sys.stdin.readline()
authorGuido van Rossum <guido@python.org>
Thu, 20 Dec 2007 18:42:56 +0000 (18:42 +0000)
committerGuido van Rossum <guido@python.org>
Thu, 20 Dec 2007 18:42:56 +0000 (18:42 +0000)
commit704b34d9e4481ef35cfe56daabb4a016da9e83aa
tree89520242a6d21bdbe602139046b26d542bdcae2b
parent7d85ba1baec7e0512ab2e904dd752698c1ebd0a2
Fix issue #1667.  The _Printer() class was using sys.stdin.readline()
instead of input() to read the user's input (since at some point in
the past raw_input() was removed), but the code used to decode the
input wasn't changed.  Fixed it by going back to input(), which has
since been added back with the same semantics as the old raw_input().
Lib/site.py