crash with python23 + wxpython2407 + py2exe

Hi Robin,

Robin wrote:

Python 2.3 added a DeprecationWarning when using the apply() builtin
function. By default the warning isn't displayed when you use
python.exe unless you supply an extra command line arg or turn it on
explicitly in the code, but I guess that py2exe turns it on.

For 2.4.1.2 I changed wxSWIG so that it doesn't use apply in the
generated proxy modules but since you don't want to switch to that
version then you'll either have to stick with Python 2.2 until the next
release of wxPython when the stc bugs are fixed, or go through your copy
of the generated .py files and change all

apply(module.function, (self,)+_args, _kwargs)

to
module.function(self, *_args, **_kwargs)

Thanks for the tip. This was exactly the point.
I have now wxPy 2.4.1.2 with a modified version of stc_.py from
wxPy 2.4.0.7. py2exe 2.4.1 for py2.3 seems to work fine
on my win98se platform.
I do not like to have such a mixture. Hope to see a wxPy 2.4.1.3 soon.

Regards
Jean-Michel Fauth, Switzerland