Message164939
I added to _ssl.c:
PyErr_SetString(PyExc_ValueError, "Just a test");
return NULL;
Then I tried to import the module:
~/python/cpython3.x$ ./python -c "import ssl"
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/home/amauryfa/python/cpython3.x/Lib/ssl.py", line 60, in <module>
import _ssl # if we can't import it, let the error propagate
File "<frozen importlib._bootstrap>", line 1300, in _find_and_load
File "<frozen importlib._bootstrap>", line 1267, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 432, in _check_name_wrapper
File "<frozen importlib._bootstrap>", line 347, in set_package_wrapper
File "<frozen importlib._bootstrap>", line 360, in set_loader_wrapper
File "<frozen importlib._bootstrap>", line 878, in load_module
ValueError: Just a test |
|
Date |
User |
Action |
Args |
2012-07-07 21:15:13 | amaury.forgeotdarc | set | recipients:
+ amaury.forgeotdarc, gvanrossum, brett.cannon, georg.brandl, pitrou, Arfrever, r.david.murray, dmalcolm |
2012-07-07 21:15:12 | amaury.forgeotdarc | set | messageid: <1341695712.97.0.076889392944.issue15110@psf.upfronthosting.co.za> |
2012-07-07 21:15:12 | amaury.forgeotdarc | link | issue15110 messages |
2012-07-07 21:15:12 | amaury.forgeotdarc | create | |
|