question on the compile built in function. Filename ignored?

Martin v. Löwis martin at v.loewis.de
Wed Apr 30 14:31:25 EDT 2003


Alex <delete.this.part.alex.news at attbi.com> writes:

> From the docs I would expect the line 
> 
>   File "<string>", line 1
> 
> to read
> 
>   File "abc", line 1
> 
> 
> What am I missing?

You are right: this is what should have been printed. You have found a
bug.

Actually, you are not the first one to find this bug; it will be fixed
in Python 2.3.

Regards,
Martin





More information about the Python-list mailing list