diff options
| author | Christian Tismer <tismer@stackless.com> | 2021-04-18 18:58:18 +0200 |
|---|---|---|
| committer | Christian Tismer <tismer@stackless.com> | 2021-07-06 18:06:25 +0200 |
| commit | fec1611e9f42c1f0a13eb33474df2ed8ee480842 (patch) | |
| tree | 01c5805889301c6002ceee4d3f7f5e89a098a29d /sources/pyside6/doc/tutorials/basictutorial | |
| parent | 10abd17ffb8826e4aa5861f89642c46c47b641a8 (diff) | |
PyPySide: Replace the type extension macros by functions
[ChangeLog][PySide6] The type extension macros are replaced by
normal function calls. This is not only a pre-requisite for PyPy
support but also an improvement of type safety.
PyPy cannot stand macro extensions to type objects,
because we are unable to patch the object size during
initialization.
This suggested to re-implement the type extension in
a clean way using functions.
The first idea was to keep the macro version for the
limited API, while the function version would be for PyPy
and no limited API, but the function version is much nicer
and allows further refinements.
The enum/flag alias problem is solved. Unfortunately, this
still does not fix the PYSIDE-229 problem.
Task-number: PYSIDE-535
Change-Id: I39270c6d326cb7d54bd58ceed601f5e1e9b0a8d6
Pick-to: 6.1
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Diffstat (limited to 'sources/pyside6/doc/tutorials/basictutorial')
0 files changed, 0 insertions, 0 deletions
