On 24-May-07, at 3:33 PM, Martin v. Löwis wrote:

>> Alas, the coding directive is not good enough.  Have a look at this:
>>
>>     http://zesty.ca/python/tricky.png
>>
>> That's an image of a text editor containing some Python code.  Can  
>> you
>> tell whether running it (post-PEP-3131) will delete your .bashrc  
>> file?
>
> I would think that it doesn't (i.e. allowed should stay at 0).
>
> Why does os.remove get invoked?

Perhaps a letter in the encoding declaration is non-ascii, nullifying  
the encoding enforcement and allowing a cyrillic 'a' in  allowed = 0?

-Mike


_______________________________________________
Python-3000 mailing list
Python-3000@python.org
http://mail.python.org/mailman/listinfo/python-3000
Unsubscribe: 
http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com

Reply via email to