[issue11276] 2to3: imports fixer doesn't update references to modules specified without attributes
Jason R. Coombs
report at bugs.python.org
Tue Mar 15 22:37:24 CET 2011
Jason R. Coombs <jaraco at jaraco.com> added the comment:
it looks like lib maintainers can work around the limitation by using the syntax:
import _winreg as winreg
And then reference the name winreg (or any other preferred name).
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue11276>
_______________________________________
More information about the Python-bugs-list
mailing list