Message163234
Up to Python3.2, a nested ImportError was correctly displayed:
./python -c "import distutils.msvc9compiler"
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/home/amauryfa/python/cpython3.2/Lib/distutils/msvc9compiler.py", line 27, in <module>
import winreg
ImportError: No module named winreg
But with 3.3, the traceback is lost:
~/python/cpython3.x$ ./python -c "from distutils import msvc9compiler"
Traceback (most recent call last):
File "<string>", line 1, in <module>
ImportError: cannot import name msvc9compiler
Even though the failure is still on the "import winreg" line. Only ImportError seems affected, other exceptions are correctly displayed. |
|
Date |
User |
Action |
Args |
2012-06-20 00:17:27 | amaury.forgeotdarc | set | recipients:
+ amaury.forgeotdarc |
2012-06-20 00:17:26 | amaury.forgeotdarc | set | messageid: <1340151446.59.0.121813331775.issue15111@psf.upfronthosting.co.za> |
2012-06-20 00:17:25 | amaury.forgeotdarc | link | issue15111 messages |
2012-06-20 00:17:21 | amaury.forgeotdarc | create | |
|