adjust pure_python check for option that PyPy might have _pickle by mattip · Pull Request #461 · python/pyperformance

Conversation

@mattip

I am working on adding a _pickle RPython implementation to PyPy. I ran into a problem where the current benchmark will ignore that possibility and will always use the pure-python version on PyPy. This PR makes the logic work for the case that PyPy does have a _pickle module and, like CPython, it is activated by default, but retains backward compatibility.

1 participant

@mattip