Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -266,10 +266,10 @@ def add_cmdline_args(cmd, args):
if options.pure_python:
name += "_pure_python"

if not (options.pure_python or IS_PYPY):
if not (options.pure_python):
# C accelerators are enabled by default on 3.x
import pickle
if not is_accelerated_module(pickle):
if not is_accelerated_module(pickle) and not IS_PYPY:
raise RuntimeError("Missing C accelerators for pickle")
else:
sys.modules['_pickle'] = None
Expand Down
Loading