A RetroSearch Logo

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

Search Query:

Showing content from http://mail.python.org/pipermail/python-dev/2002-June/025032.html below:

[Python-Dev] 'compile' error message

[Python-Dev] 'compile' error message [Python-Dev] 'compile' error messageThomas Heller thomas.heller@ion-tof.com
Wed, 5 Jun 2002 19:04:42 +0200
> > >>> compile("1+*3", "myfile.py", "exec")
> > Traceback (most recent call last):
> >   File "<stdin>", line 1, in ?
> >   File "<string>", line 1
> >     1+*3
> >       ^
> > SyntaxError: invalid syntax
> > >>>
> > 
> > Shouldn't it print "myfile.py" instead of "<string>"?
> 
> Yes.
> 
> --Guido van Rossum (home page: http://www.python.org/~guido/)

Submitted as SF bug #564931.

Thomas





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