Has anyone out there tried optimizing portions of their wxPython apps with
Python2C? If so, I would really like to get some advice. Basically, under
Linux I've Python2C-ed my main frame, due to some of the time intensive
algorithms it contains. When I go to run the application with its compiled
extension, I get something like the following:
.../wxPython/frames.py, line 108 in __init__, "self.this =
apply(framesc.new_wxFrame, _args, _kwargs"
TypeError: Illegal argument type for built in operation
Has anyone out there tried optimizing portions of their wxPython apps with
Python2C? If so, I would really like to get some advice. Basically,
under
Linux I've Python2C-ed my main frame, due to some of the time intensive
algorithms it contains. When I go to run the application with its
compiled
extension, I get something like the following:
.../wxPython/frames.py, line 108 in __init__, "self.this =
apply(framesc.new_wxFrame, _args, _kwargs"
TypeError: Illegal argument type for built in operation
You might try hacking frames.py to print out the values of _args and _kwargs
to see what the values/types are. If they don't match what new_wxFrame is
expecting then you'll get this error.
Does the same app work when you don't use Python2C?