zopefoundation / zodbpickle

Fork of Python's pickle module to work with ZODB
Other
17 stars 15 forks source link

Support PyPy. Closes zopefoundation/zodbpickle#10 #11

Closed jamadden closed 9 years ago

jamadden commented 9 years ago

Supports installation and running under PyPy2 and PyPy3.

As-is, the line from zodbpickle import fastpickle will fail with an ImportError under PyPy (the other uses cases work). It would be possible to make that fall back to slowpickle, but it could be argued that's slightly disingenuous since the user is explicitly requesting the non-existent C implementation. However, if desired I can add a commit to make that happen.

mgedmin commented 9 years ago

LGTM

tseaver commented 9 years ago

Thanks very much!