[issue2775] Implement PEP 3108

Georgij Kondratjev report at bugs.python.org
Sun Jun 29 23:34:24 CEST 2008


Georgij Kondratjev <smpuj at bk.ru> added the comment:

Not creating new bug entry because everybody can quickly fix it.

In urllib/request.py some instances of URLError are raised with "raise
urllib.error.URLError" and this works, buth there are lines with "raise
URLError" which produces "NameError: global name 'URLError' is not defined"

----------
nosy: +orivej

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue2775>
_______________________________________


More information about the Python-bugs-list mailing list