R. David Murray <[email protected]> added the comment:
To clarify Amaury's example:
rdmurray@hey:~/python/p32>./python -c "from distutils import msvc9compiler"
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/home/rdmurray/python/p32/Lib/distutils/msvc9compiler.py", line 27, in
<module>
import winreg
ImportError: No module named winreg
rdmurray@hey:~/python/p33>./python -c "from distutils import msvc9compiler"
Traceback (most recent call last):
File "<string>", line 1, in <module>
ImportError: cannot import name msvc9compiler
So there is definitely some lost information in 3.3 compared to 3.2 in the
'import from' case.
----------
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue15111>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com