thp / pyotherside

Python Bindings for Qt 5 and Qt 6. Allows you to access a CPython 3 interpreter directly from your Qt QML user interface code.
https://thp.io/2011/pyotherside/
Other
364 stars 49 forks source link

Python None results in undefined instead of null #50

Open kelvan opened 9 years ago

kelvan commented 9 years ago

Imo the intuitive equivalent of None is null, currently it is "translated" to undefined. Qml (afaik) often accepts null as false for boolean attributes, but throws errors if its undefined.