[Kde-bindings] [Bug 219787] krosspython: crash when PyQt signal is connected to C++ method that calls a function in the script

Daniel Calviño Sánchez danxuliu at gmail.com
Tue Jan 19 22:23:53 UTC 2010


https://bugs.kde.org/show_bug.cgi?id=219787


Daniel Calviño Sánchez <danxuliu at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #39277|0                           |1
        is obsolete|                            |




--- Comment #4 from Daniel Calviño Sánchez <danxuliu gmail com>  2010-01-19 23:23:48 ---
Created an attachment (id=40061)
 --> (http://bugs.kde.org/attachment.cgi?id=40061)
Patch for unittest.py and TestObject showing the bug

I have extended the unit tests shown in comment #1 to check also what happens
when the Python function called raises an exception.

The assert in this case checks that no value was returned by the function, as
the return value is set by Kross to a QVariant() when there is a problem
execution a Python function.

The rest of the things explained in comment #1 still apply here.

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the Kde-bindings mailing list