[PyQt] Crash in sip_api_is_py_method() with PyQt 4.6

2009-10-13 Thread Victor Stinner
fixes the crash. But the new PyQt/SIP introduces a regression: I replaced contextMenu and mousePressEvent for some objects, and it doesn't work anymore. I don't know if this issue (sip_api_is_py_method() crash) is related. -- Victor Stinner http://www.haypocalc.com/ --- sip4-qt3-4.9.old/siplib

Re: [PyQt] Crash in sip_api_is_py_method() with PyQt 4.6

2009-10-13 Thread Victor Stinner
. It fixes both issues: crash related to PyClassObject and the number of arguments for the redefined methods. -- Victor Stinner http://www.haypocalc.com/ --- siplib/siplib.c.orig 2009-10-13 21:54:05.0 +0200 +++ siplib/siplib.c 2009-10-13 22:10:45.0 +0200 @@ -6029,8 +6029,12