Here is what was supposed to be the test case before i submitted the
bug, but, alas, it works. So i belive that what this can add to the
knowledge of the problem is that python has to exit so as to produce the
error?
Lucio
David Ascher wrote:
> Michael Watkins wrote:
>
>>
>> I've seen this too - long ago. I didn't bother looking for root
>> causes - when I make a syntax mistake and receive one of the
>> unhelpful unlink error messages, I run a windows cmd file that contains
>>
>> del /s *.pyc
>> del /s *.ptlc
>>
>> from the 'root' of my quixote application.
>
>
> Right. That's what we've been doing, but I'd like to get to the root
> of this problem, it's irritating me much more than it deserves to =).
>
> --david
>
>
>
> _______________________________________________
> Quixote-users mailing list
> Quixote-users@mems-exchange.org
> http://mail.mems-exchange.org/mailman/listinfo/quixote-users
from quixote import enable_ptl
enable_ptl()
correct = """
result = "correct!"
class foo:
pass
"""
wrong = """
class foo foo:
pass pass
"""
f = open("quix_p2.ptl","w")
f.write(wrong)
f.close()
try:
import quix_p2
except:
pass
f = open("quix_p2.ptl","w")
f.write(correct)
f.close()
import quix_p2
print quix_p2.result