Message297941
I get the following error on 3.7:
$ ./python issue30873.py
Traceback (most recent call last):
File "issue30873.py", line 44, in <module>
exec("import _pickle", dct)
File "<string>", line 1, in <module>
File "/home/serhiy/py/cpython/Lib/importlib/_bootstrap.py", line 1059, in __import__
module = _gcd_import(name)
File "/home/serhiy/py/cpython/Lib/importlib/_bootstrap.py", line 986, in _gcd_import
return _find_and_load(name, _gcd_import)
File "/home/serhiy/py/cpython/Lib/importlib/_bootstrap.py", line 963, in _find_and_load
return _find_and_load_unlocked(name, import_)
File "/home/serhiy/py/cpython/Lib/importlib/_bootstrap.py", line 948, in _find_and_load_unlocked
raise ModuleNotFoundError(_ERR_MSG.format(name), name=name)
ModuleNotFoundError: No module named '_pickle'
On 3.6:
$ ./python issue30873.py
Traceback (most recent call last):
File "issue30873.py", line 44, in <module>
exec("import _pickle", dct)
File "<string>", line 1, in <module>
File "/home/serhiy/py/cpython3.6/Lib/importlib/_bootstrap.py", line 1059, in __import__
module = _gcd_import(name)
File "/home/serhiy/py/cpython3.6/Lib/importlib/_bootstrap.py", line 986, in _gcd_import
return _find_and_load(name, _gcd_import)
File "/home/serhiy/py/cpython3.6/Lib/importlib/_bootstrap.py", line 963, in _find_and_load
return _find_and_load_unlocked(name, import_)
File "/home/serhiy/py/cpython3.6/Lib/importlib/_bootstrap.py", line 950, in _find_and_load_unlocked
module = _load_unlocked(spec)
File "/home/serhiy/py/cpython3.6/Lib/importlib/_bootstrap.py", line 648, in _load_unlocked
module = module_from_spec(spec)
File "/home/serhiy/py/cpython3.6/Lib/importlib/_bootstrap.py", line 560, in module_from_spec
module = spec.loader.create_module(spec)
File "<frozen importlib._bootstrap_external>", line 922, in create_module
File "/home/serhiy/py/cpython3.6/Lib/importlib/_bootstrap.py", line 205, in _call_with_frames_removed
return f(*args, **kwds)
KeyError: 'copyreg' |
|
Date |
User |
Action |
Args |
2017-07-08 05:33:08 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, brett.cannon, ncoghlan, eric.snow, ppperry |
2017-07-08 05:33:08 | serhiy.storchaka | set | messageid: <1499491988.23.0.34851339456.issue30873@psf.upfronthosting.co.za> |
2017-07-08 05:33:08 | serhiy.storchaka | link | issue30873 messages |
2017-07-08 05:33:07 | serhiy.storchaka | create | |
|