[New-bugs-announce] [issue17817] ¿Bug Python 2.7.4 and version 3.3.1?

Ricardo González report at bugs.python.org
Mon Apr 22 19:57:22 CEST 2013

New submission from Ricardo González:


There seems to be a bug in versions 2.7.4 and 3.3.1 by typing the following error in IDLE (Python GUI) Windows 8 64 bit:

Python 2.7.4 (default, Apr  6 2013, 19:55:15) [MSC v.1500 64 bit (AMD64)] on win32
Type "copyright", "credits" or "license()" for more information.
>>> exit()
>>> modules

Traceback (most recent call last):
  File "<pyshell#1>", line 1, in <module>
NameError: name 'modules' is not defined
>>> help()

Welcome to Python 2.7!  This is the online help utility.

If this is your first time using Python, you should definitely check out
the tutorial on the Internet at http://docs.python.org/2.7/tutorial/

Enter the name of any module, keyword, or topic to get help on writing
Python programs and using Python modules.  To quit this help utility and
return to the interpreter, just type "quit".

To get a list of available modules, keywords, or topics, type "modules",
"keywords", or "topics".  Each module also comes with a one-line summary
of what it does; to list the modules whose summaries contain a given word
such as "spam", type "modules spam".

Traceback (most recent call last):
  File "<pyshell#2>", line 1, in <module>
  File "C:\Python27\lib\site.py", line 467, in __call__
    return pydoc.help(*args, **kwds)
  File "C:\Python27\lib\pydoc.py", line 1751, in __call__
  File "C:\Python27\lib\pydoc.py", line 1763, in interact
    request = self.getline('help> ')
  File "C:\Python27\lib\pydoc.py", line 1774, in getline
    return raw_input(prompt)
  File "C:\Python27\lib\idlelib\PyShell.py", line 1347, in readline
    raise ValueError("read from closed file")
ValueError: read from closed file
>>> quit
Use quit() or Ctrl-Z plus Return to exit
>>> quit()

Pressing Ctrl-Z is not closed and if we write exit() or quit() either, this happens in both 2.7.4 and 3.3.1 versions.


components: IDLE, Windows
messages: 187575
nosy: Ricardo
priority: normal
severity: normal
status: open
title: ¿Bug Python 2.7.4 and version 3.3.1?
type: behavior
versions: Python 3.3

Python tracker <report at bugs.python.org>

More information about the New-bugs-announce mailing list