PySide Bugzilla Closed for New Bugs

PySide is now a Qt Add-on and uses the Qt Project's JIRA Bug Tracker instead of this Bugzilla instance. This Bugzilla is left for reference purposes.

Bug 332 - QMutex fails with 'bad argument to internal function'
: QMutex fails with 'bad argument to internal function'
Status: CLOSED FIXED
Product: PySide
Classification: Unclassified
Component: QtCore
: HEAD
: All All
: P5 normal
Assigned To: renato filho
:
:
:
  Show dependency treegraph
 
Reported: 2010-09-01 03:55 EEST by Matti Airas
Modified: 2010-10-13 13:48 EEST (History)
9 users (show)

See Also:


Attachments
Testcase (182 bytes, text/x-python)
2010-09-01 03:55 EEST, Matti Airas
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Matti Airas 2010-09-01 03:55:26 EEST
Created attachment 74 [details]
Testcase

The attached testcase fails with:

Traceback (most recent call last):
  File "./mutex_bug.py", line 10, in <module>
    l.tryLock()
  File "./mutex_bug.py", line 7, in tryLock
    return QtCore.QMutex.tryLock(self,timeout)
SystemError: ../Objects/methodobject.c:120: bad argument to internal function


The same testcase works with PyQt4.
Comment 1 renato filho 2010-09-15 10:27:43 EEST
fixed on shiboken commit:

commit aa1b98fa000f90b9905fcb4a1f1eccefd3851105
Author: renatofilho <renato.filho@openbossa.org>
Date:   Tue Sep 14 18:33:21 2010 -0300

    Generate correct python function definitions.
Comment 2 renato filho 2010-10-13 13:48:31 EEST
released on PySide 0.4.2