-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Ali Polatel wrote:
> The attached patch makes how we import cPickle and pickle consistent.
> Importing it like:
> try:
> import cPickle as pickle
> except ImportError:
> import pickle
> eases 2to3's job because cPickle won't exist in py3k and 2
The attached patch makes how we import cPickle and pickle consistent.
Importing it like:
try:
import cPickle as pickle
except ImportError:
import pickle
eases 2to3's job because cPickle won't exist in py3k and 2to3 does
s/cPickle/pickle.
This is a patch to reduce the size of 2to3 patches¹