This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Ricardo
Recipients Ricardo
Date 2013-04-22.17:57:22
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1366653442.82.0.335522989154.issue17817@psf.upfronthosting.co.za>
In-reply-to
Content
Hello,

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>
    modules
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".

help>
Traceback (most recent call last):
  File "<pyshell#2>", line 1, in <module>
    help()
  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__
    self.interact()
  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.

Regards.
History
Date User Action Args
2013-04-22 17:57:22Ricardosetrecipients: + Ricardo
2013-04-22 17:57:22Ricardosetmessageid: <1366653442.82.0.335522989154.issue17817@psf.upfronthosting.co.za>
2013-04-22 17:57:22Ricardolinkissue17817 messages
2013-04-22 17:57:22Ricardocreate