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 <rep...@bugs.python.org> <http://bugs.python.org/issue21990> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com