r19916 - gnucash/trunk/src/optional/python-bindings - Add commodity price functions to bindings.

Mike Evans mikee at saxicola.idps.co.uk
Fri Dec 10 07:43:26 EST 2010


On Friday December 10 2010 10:24:19 Christian Stimming wrote:
> Am Donnerstag, 9. Dezember 2010 schrieb Derek Atkins:
> > Hi,
> > 
> > Mike Evans <mikee at saxicola.idps.co.uk> writes:
> > > With %feature("autodoc", "1"); and -Werror I get:
> > > 
> > > ../../../src/engine/Account.h:182: Warning(314): 'from' is a python
> > > keyword, renaming to '_from'
> > > ../../../src/libqof/qof/gnc-numeric.h:266: Warning(314): 'in' is a
> > > python keyword, renaming to '_in'
> > > ../../../src/engine/gnc-commodity.h:949: Warning(314): 'from' is a
> > > python keyword, renaming to '_from'
> > 
> > I think it's perfectly reasonable to change the name of these variables
> > in the three GnuCash headers in order to fix these warnings for you.
> 
> Absolutely. Feel free to rename this so that we don't use keyword, even if
> from another language.
> 
> Regards,
> 
> Christian
I'll do that then.  I should have taken more notice of the messages and dealt 
with it rather than just hiding them.  Sometimes though you just get immersed 
in the task in hand.
Mike E


-- 
GPG Key: 1024D/050895C2
Keyserver: http://pgp.mit.edu/          
Search String: 0x050895C2


More information about the gnucash-devel mailing list