[Python-3000] PEP 3131 accepted
showell30 at yahoo.com
Thu May 24 04:26:03 CEST 2007
--- Guillaume Proux <gproux+py3000 at gmail.com> wrote:
> Regarding using looking-alike glyphs (in certain
> fonts) security
> issues, wouldn't it be a good thing for any project
> anyway to have a
> number of pre-conditions for any given contribution
> to a given project
> to be cleared. On of such litmus tests would be like
> the following.
> print("contribution accepted")
> except UnicodeDecodeError:
> print("contribution rejected. evil non-ascii
> characters lurking
> in your source. ")
Yep. Pychecker and automated unit tests could also
protect against bugs or holes caused by bad encodings
or typos (whether malicious or accidental).
____________________________________________________________________________________Ready for the edge of your seat?
Check out tonight's top picks on Yahoo! TV.
More information about the Python-3000