[issue30873] `SystemError: <built-in function create_builtin> returned NULL without setting an error` from importing _pickle

ppperry report at bugs.python.org
Sat Jul 8 09:27:49 EDT 2017


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 <report at bugs.python.org>
<http://bugs.python.org/issue30873>
_______________________________________


More information about the Python-bugs-list mailing list