[Python-3000] PEP 3131 accepted
Mike Klaas
mike.klaas at gmail.com
Fri May 25 01:03:30 CEST 2007
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
More information about the Python-3000
mailing list