Message4087
Logged In: YES
user_id=593130
Remove types.py from the list. As distributed with 2.2.1, it
has 5 'except xxxError:' statements but no offending bare
except:'s.
Skip (or anyone else): if/when you pursue this, I volunteer
to do occasional sleuthing and send reports with
suggestions and/or questions. Example: getpass.py has
one 'offense':
try:
fd = sys.stdin.fileno()
except:
return default_getpass(prompt)
According to lib doc 2.2.8 File Objects (as I interpret) fileno
() should either work without exception or *not* be
implemented. Suggestion: insert AttributeError . Question:
do we protect against pseudofile objects that ignore doc
and have fake .fileno() that raises NotImplementedError or
whatever?
|
|
Date |
User |
Action |
Args |
2007-08-23 13:53:44 | admin | link | issue411881 messages |
2007-08-23 13:53:44 | admin | create | |
|