[Python-3000] PEP 3131 accepted (original) (raw)
Steve Howell showell30 at yahoo.com
Thu May 24 04:26:03 CEST 2007
- Previous message: [Python-3000] PEP 3131 accepted
- Next message: [Python-3000] PEP 3131 accepted
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
--- 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. 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/
- Previous message: [Python-3000] PEP 3131 accepted
- Next message: [Python-3000] PEP 3131 accepted
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]