--- Guillaume Proux <[EMAIL PROTECTED]> 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.
> try:
>      codecs.open("contributedfile.py","r","ascii")
>      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. 
http://tv.yahoo.com/
_______________________________________________
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