[issue6936] Import needed to quit Python?

2009-09-18 Thread Georg Brandl

Georg Brandl  added the comment:

And fixed now (I used ``quit()``) in r74896.

--
resolution: works for me -> fixed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue6936] Import needed to quit Python?

2009-09-18 Thread Georg Brandl

Georg Brandl  added the comment:

They are meant for interactive use only.

--
resolution:  -> works for me
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue6936] Import needed to quit Python?

2009-09-17 Thread Mitchell Model

New submission from Mitchell Model :

Section 2.1 of the tutorial describes using import sys; sys.exit() if ^D
or ^Z doesn't work. However, both quit() and exit() work, as documented
in the "Built-in Constants" section of the Library documentation. Is
there something about them that should be hidden from the ordinary user
that they aren't used in place of the import sys; sys.exit()
combination? Seems easier to just say use "quit() or exit()", especially
for beginners following the tutorial who won't know what import or sys
are, or even the dot notation.

--
assignee: georg.brandl
components: Documentation
messages: 92799
nosy: MLModel, georg.brandl
severity: normal
status: open
title: Import needed to quit Python?
versions: Python 3.0, Python 3.1, Python 3.2

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com