aboutsummaryrefslogtreecommitdiffstats
path: root/sources/pyside-tools/deploy_lib/android/android_config.py
diff options
context:
space:
mode:
authorChristian Tismer <tismer@stackless.com>2024-01-30 11:59:03 +0100
committerChristian Tismer <tismer@stackless.com>2024-01-31 09:38:22 +0100
commit7f69d4d562e1d19efd2c505dceea387a4a87dcfe (patch)
tree8111a54694f6f170ad2d5d892d0fee8151f9596f /sources/pyside-tools/deploy_lib/android/android_config.py
parentac6c01d3d69af99da4bef66a4e20f07c9c15ffc6 (diff)
LazyInit: Make imports computable from offset constants
The function cpythonTypeNameExt uses getTypeIndexVariableName to compute the offset to a class variable. For LazyInit we want to change this, creating an expression that can compute the referenced types on demand when no value is found at the offset. These types are hidden in the offset expression. By no longer using "toUpper" here, we can easily compute the needed imports from the offset constant name. We will keep both versions until PySide7. [ChangeLog][PySide6] Type index constants are no longer in uppercase. Uppercase is retained until deprecation in PySide7. Task-number: PYSIDE-2404 Change-Id: I422ead0540a7bdcb4c7ac9905c8e6ab71b5b0634 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Diffstat (limited to 'sources/pyside-tools/deploy_lib/android/android_config.py')
0 files changed, 0 insertions, 0 deletions