New submission from Matt Joiner <anacro...@gmail.com>:

There's a lingering StandardError referenced in the logging module.

StandardError was removed in Python 3, and execution across this code path 
generates a NameError:

  File "/home/matt/src/cpython/Lib/logging/__init__.py", line 291, in __init__
    except StandardError: #pragma: no cover
NameError: global name 'StandardError' is not defined

Patch attached.

----------
components: 2to3 (2.x to 3.x conversion tool), Library (Lib)
files: logging-uncovered-standarderror.patch
keywords: patch
messages: 151948
nosy: anacrolix
priority: normal
severity: normal
status: open
title: Lingering StandardError in logging module
type: behavior
versions: Python 3.3
Added file: 
http://bugs.python.org/file24322/logging-uncovered-standarderror.patch

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue13859>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to