[wxPython-users] Re: changes in keycodes between 2.6 and 2.8

jmf jfauth at bluewin.ch
Tue Jan 2 07:19:38 PST 2007


Hi,

Just to put a final note to this story. Josiah is right.

getattr() is far superior, in the sense it "properly hits" the
library.
eval() is more a general purpose solution, it uses what is
available in the namespace.

If one tries to test both in a test loop, one may notice getattr()
is +- 100 times faster!

Jean-Michel Fauth, Switzerland.




More information about the wxpython-users mailing list