[New-bugs-announce] [issue21990] saxutils defines an inner class where a normal one would do
Alex Gaynor
report at bugs.python.org
Wed Jul 16 16:28:48 CEST 2014
New submission from Alex Gaynor:
This makes things slower than they need to be (yes, even on CPython :-)), and is slightly confusing since usually inner classes are only used when a closure is needed.
Attached patch simply moves the class definition.
----------
components: Library (Lib)
files: sax.diff
keywords: patch
messages: 223209
nosy: alex
priority: normal
severity: normal
status: open
title: saxutils defines an inner class where a normal one would do
versions: Python 2.7
Added file: http://bugs.python.org/file35970/sax.diff
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue21990>
_______________________________________
More information about the New-bugs-announce
mailing list