Details
Description
When certain PySide classes are initialized, the wrong return code is used for the __init__ function.
In ignorance of the CPython API, not 0 = success and -1 = failure are used, but 1 and 0.
This has the effect that errors are undetected until they show up at a later command prompt.
The affected files are:
sources/pyside2/libpyside/pysideclassinfo.cpp sources/pyside2/libpyside/pysideproperty.cpp sources/pyside2/libpyside/pysidesignal.cpp sources/pyside2/libpyside/pysideslot.cpp sources/pyside2/PySide2/QtQml/pysideqmlregistertype.cpp
This error has been in the source since Nov 03, 2010.
Attachments
For Gerrit Dashboard: PYSIDE-1077 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
270865,3 | Fix wrong Python init return codes | 5.13 | pyside/pyside-setup | Status: MERGED | +2 | 0 |