ppperry added the comment:
Interesting. For you, `_pickle` seems to be an extension module, which is thus
trying to call `imp.create_dynamic`, whereas for me it is a builtin module.
Perhaps that explains why you get a KeyError and I get a SystemError (my
traceback ends with):
File "C:\Program Files\Python36\lib\importlib\_bootstrap.py", line 560, in
module_from_spec
module = spec.loader.create_module(spec)
File "C:\Program Files\Python36\lib\importlib\_bootstrap.py", line 725, in
create_module
return _call_with_frames_removed(_imp.create_builtin, spec)
File "C:\Program Files\Python36\lib\importlib\_bootstrap.py", line 205, in
_call_with_frames_removed
return f(*args, **kwds)
SystemError: <built-in function create_builtin> returned NULL without setting
an error
(and is the same as your 3.6 traceback up to that point)
----------
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue30873>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com