Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #95896 > unrolled thread

Location of an Error Message

Started bystehlampen@arcor.de
First post2015-09-02 21:30 +0200
Last post2015-09-02 21:30 +0200
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python


Contents

  Location of an Error Message stehlampen@arcor.de - 2015-09-02 21:30 +0200

#95896 — Location of an Error Message

Fromstehlampen@arcor.de
Date2015-09-02 21:30 +0200
SubjectLocation of an Error Message
Message-ID<mailman.37.1441227822.8327.python-list@python.org>
Where are the error messages stored? E. g., in which (source code) file is the message "NameError: name 'sdfe' is not defined" stored (except for variable arguments like "sdfe")? I do know that I can throw exceptions for myself, but this question came to my mind in thinking about translating the error messages to improve Python's learning curve for newbies.
Additionally, I would be grateful if you would give to me the file name (e. g. in hg.python.org) which is the Interpreter's first piece of source code which deals with the error strings.

Many thanks in advance!

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web