diff options
| author | Christian Tismer <tismer@stackless.com> | 2021-04-18 18:58:18 +0200 |
|---|---|---|
| committer | Christian Tismer <tismer@stackless.com> | 2021-06-29 14:11:37 +0000 |
| commit | 7a3d57d8400ff25ffc609f327fca2bf33e312b77 (patch) | |
| tree | c30e276e4750a1fd629ae0c276ca223c54c943a3 /sources/pyside6/tests/QtQml/javascript_exceptions.py | |
| parent | 98aef951920641dcdf4c217a0c51626cdf82caf8 (diff) | |
PyPySide: Do some preliminary cleanups before the transition
The transition to the future PyPy support needs some
cleanups, first.
The goal is to get rid of all macros which handle
type objects. This works in PySide on Python, but not
with PyPy, which is emulating the whole interface.
The shibokengenerator expression
if (type->isWrapperType() || type->isEnum() || type->isFlags())
return QString::fromLatin1("*PepType_SGTP(%1)->converter").arg(cpythonTypeNameExt(type));
builds a very unfortunate union of the three possible macro
type extensions that makes it impossible to do incremental
changes. `PepType_SGTP` is therefore now completely gone.
Finding this problem was a major showstopper.
Furthermore, the usage of the __builtins__ dict object
is not PyPy compatible and replaced by the builtins module.
Task-number: PYSIDE-535
Change-Id: Ic32431b665aae43bb8c9735f69a54f7b3fae8b48
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Diffstat (limited to 'sources/pyside6/tests/QtQml/javascript_exceptions.py')
0 files changed, 0 insertions, 0 deletions
