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 MLModel
Recipients MLModel, georg.brandl
Date 2009-09-17.23:38:01
SpamBayes Score 1.5814826e-06
Marked as misclassified No
Message-id <1253230683.38.0.361310672505.issue6936@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2009-09-17 23:38:03MLModelsetrecipients: + MLModel, georg.brandl
2009-09-17 23:38:03MLModelsetmessageid: <1253230683.38.0.361310672505.issue6936@psf.upfronthosting.co.za>
2009-09-17 23:38:01MLModellinkissue6936 messages
2009-09-17 23:38:01MLModelcreate