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

Derek Atkins warlord at MIT.EDU
Thu Dec 9 10:07:28 EST 2010


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.

> Mike E

-derek

-- 
       Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
       Member, MIT Student Information Processing Board  (SIPB)
       URL: http://web.mit.edu/warlord/    PP-ASEL-IA     N1NWH
       warlord at MIT.EDU                        PGP key available


More information about the gnucash-devel mailing list