[PATCH V2] extensions: add notloaded method to return extensions failed to load

Yuya Nishihara yuya at tcha.org
Tue Feb 16 11:26:24 EST 2016


On Tue, 16 Feb 2016 15:48:56 +0000, Jun Wu wrote:
> On 02/16/2016 02:43 PM, Yuya Nishihara wrote:
> > LGTM. I'll change it to .iteritems() and push to the clowncopter,
> > thanks.
> 
> OpenStack also faces Python 2 to 3 issue like us. They have a style
> guide at https://wiki.openstack.org/wiki/Python3 (which recommends items
> over iteritems). I wonder if we want a similar style guide to make
> Python 3 transition easier.

We have lots of .iteritems(). I don't know if we can rewrite all of them,
so it doesn't make sense to switch to .items() right now.

But I agree we'll need something for Py3k support.


More information about the Mercurial-devel mailing list