A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2002-February/020030.html below:

[Python-Dev] SyntaxError tracebacks in 2.2

[Python-Dev] SyntaxError tracebacks in 2.2 [Python-Dev] SyntaxError tracebacks in 2.2Greg Ward gward@python.net
Tue, 12 Feb 2002 18:41:44 -0500
Has anyone else noticed that SyntaxError tracebacks no longer include
the name of the file where the error occurs?  Instead, they just say
"<file>".  Eg.

  $ python2.1 foo.py
    File "foo.py", line 1
      foo =
          ^
  SyntaxError: invalid syntax
  $ python2.2 foo.py
    File "<string>", line 1
      foo =
        ^
SyntaxError: invalid syntax

This is annoying enough that I just filed SF bug #516712:
  http://sourceforge.net/tracker/index.php?func=detail&aid=516712&group_id=5470&atid=105470

        Greg
-- 
Greg Ward - Linux nerd                                  gward@python.net
http://starship.python.net/~gward/
There are no stupid questions -- only stupid people.



RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4