should boolean results be converted to True/False?

Since wxPython 2.5 and higher will require Python 2.2.2 or higher I wonder
whether boolean function and method results should be converted to
True/False instead of just showing up as integers 1 and 0? That might just
be needless conversion overhead since I don't know enough about Python and
SWIG to know what is involved.

ka

Kevin Altis wrote:

Since wxPython 2.5 and higher will require Python 2.2.2 or higher I wonder
whether boolean function and method results should be converted to
True/False instead of just showing up as integers 1 and 0? That might just
be needless conversion overhead since I don't know enough about Python and
SWIG to know what is involved.

I've thought about it a little, and never really came up with a good reason not to do it other than I was up to my ears in other things. It would be easy to do, probably just a one-line typemap and reSWIGing everthing... Want to try it out for the next preview build?

ยทยทยท

--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!