[issue1707] probable bug in code.py with Python 3.0a2

2008-01-01 Thread Guido van Rossum
Guido van Rossum added the comment: Good catch! Committed revision 59659. I wonder how many other places have the same problem... -- nosy: +gvanrossum resolution: - fixed status: open - closed __ Tracker [EMAIL PROTECTED]

[issue1707] probable bug in code.py with Python 3.0a2

2008-01-01 Thread Andre Roberge
Changes by Andre Roberge: __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1707 __ ___ Python-bugs-list mailing list Unsubscribe:

[issue1707] probable bug in code.py with Python 3.0a2

2008-01-01 Thread Andre Roberge
Andre Roberge added the comment: I did a quick search on the *.py files in the distribution. I only found two questionable places. 1. site.py has raw_input (python 2.5, line 311) replaced by the more complicated 3 lines (python 3.0a2, lines 313-315) rather than the simpler one-liner

[issue1707] probable bug in code.py with Python 3.0a2

2008-01-01 Thread Guido van Rossum
Guido van Rossum added the comment: site.py is already fixed in svn; it actually did cause problems, see issue #1667. I fixed pydoc.py. Committed revision 59660. __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1707 __

[issue1707] probable bug in code.py with Python 3.0a2

2007-12-28 Thread Andre Roberge
New submission from Andre Roberge: There appears to be a bug in code.py in Python 3.0a2/a1. I believe that the body of InteractiveConsole().raw_input() should be changed from sys.stdout.write(prompt) sys.stdout.flush() return sys.stdin.readline() to return