[Python-3000] PEP 3131 accepted
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:
>> That's an image of a text editor containing some Python code. Can
>> tell whether running it (post-PEP-3131) will delete your .bashrc
> 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?
More information about the Python-3000