Ezio Melotti added the comment: > The next logical step is to make all test classes in test_xml_etree > accept the ET module in some way and store it, using it to get classes > & function. I.e. no more global "ET" and "pyET" at all.
The idiom suggested by PEP 399 has the two modules (cmod and pymod) as globals, and then simply sets them as class attributes. Is there any reason why this should be avoided in this case? ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue15083> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com