[PATCH 1 of 7] util.h: Utility macros for handling different Python APIs

Antoine Pitrou solipsis at pitrou.net
Mon Jun 14 06:11:43 CDT 2010


Renato Cunha <renatoc <at> gmail.com> writes:
> Hello Eric,
> On Thu, Jun 10, 2010 at 14:36, Eric Eisner <ede <at> mit.edu> wrote:
> > Is there a reason that these names are in all caps to be different
> > from both python2 and python3? Couldn't the #define statements be used
> > to make the C code look like either python2 or python3 (preferably),
> > but work under both?
> I'm sorry, but I didn't quite get what you meant. My intent there was
> to make it clear that what was being called were macros, not
> functions.

More information about the Mercurial-devel mailing list