[PATCH 8 of 8 v2] python3: handle __code__/func_code divergence

Julien Cristau jcristau at debian.org
Wed Mar 30 01:34:14 EDT 2016


On Tue, Mar 29, 2016 at 23:33:23 -0500, timeless wrote:

> # HG changeset patch
> # User timeless <timeless at mozdev.org>
> # Date 1459273403 0
> #      Tue Mar 29 17:43:23 2016 +0000
> # Node ID 4986c2a190dd3dfe38c40ddb121acef479c6cb78
> # Parent  7049e93dc5766ba35e91fd15755f4c5a899bfcc0
> python3: handle __code__/func_code divergence
> 
__code__ was added in 2.6, any reason you can't always use that and
forget about the divergence?

Cheers,
Julien


More information about the Mercurial-devel mailing list