Eric V. Smith added the comment:

Also, I assume this is a problem with all such syntax warnings: you only see 
this warning/error when the file is originally compiled. Once the .pyc file 
exists, you'll never see a warning or error. Maybe that's okay, but it means 
there's a certain class of installations (such as .pyc compiled at install 
time) that won't be able to know these warnings exist.

This screwed me up for a while when I was developing this patch. The warnings 


Python tracker <>
Python-bugs-list mailing list

Reply via email to