[New-bugs-announce] [issue13859] Lingering StandardError in logging module

Matt Joiner report at bugs.python.org
Wed Jan 25 16:20:50 CET 2012

New submission from Matt Joiner <anacrolix at 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 <report at bugs.python.org>

More information about the New-bugs-announce mailing list