Message166124
An example patch that aims to put the "name" and "path" in str() and repr() representations of ImportError.
Output when _socket.pyd is not found:
>>> import socket
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "D:\pydev\hg\cpython3\lib\socket.py", line 47, in <module>
import _socket
ImportError: No module named '_socket', _socket,
>>> sys.last_value
<ImportError "No module named '_socket'", '_socket', None>
>>> |
|
Date |
User |
Action |
Args |
2012-07-22 11:28:32 | kristjan.jonsson | set | recipients:
+ kristjan.jonsson, loewis, georg.brandl, amaury.forgeotdarc, ncoghlan, techtonik, brian.curtin, cgohlke, python-dev, eric.snow, piotr.dobrogost |
2012-07-22 11:28:32 | kristjan.jonsson | set | messageid: <1342956512.26.0.241757810439.issue10854@psf.upfronthosting.co.za> |
2012-07-22 11:28:31 | kristjan.jonsson | link | issue10854 messages |
2012-07-22 11:28:31 | kristjan.jonsson | create | |
|