[PATCH v3] py3: conditionalize the cPickle import

Pulkit Goyal 7895pulkit at gmail.com
Tue May 31 11:18:35 EDT 2016


On Tue, May 31, 2016 at 8:45 PM, Bryan O'Sullivan <bos at serpentine.com> wrote:
> I would suggest writing functions for loading and dumping pickles in util
> instead. This will eliminate all the duplicated code, and will also let you
> write the module loading code lazily.
>
There were just five files using the library, so adding it in the util
was an overkill. Most of the libraries added in util are used widely
in the codebase.


More information about the Mercurial-devel mailing list