diff options
| author | Christian Tismer <tismer@stackless.com> | 2024-04-11 13:06:05 +0200 |
|---|---|---|
| committer | Christian Tismer <tismer@stackless.com> | 2024-04-11 15:16:08 +0200 |
| commit | 556bc8d158b06546343ae2f51b05f555d47442c0 (patch) | |
| tree | 8d0edf88d087780d9116996f62b0033911b59645 /build_scripts/setup_runner.py | |
| parent | 39449c4d63f125c65bb0559d732a3c2859d9878b (diff) | |
Lazy Import: Ensure type creation functions being idempotent
Under circumstances it was possible to create a type
twice. There would be many more changes necessary to
ensure that this can never happen.
Very simple to prevent this was by checking that
a second call of the creation function does nothing,
IOW making the functions idempotent.
Tested with and without laziness.
Task-number: PYSIDE-2404
Change-Id: I70e3335a12f0cbe1111febaace7275e87c843bd4
Fixes: PYSIDE-2674
Pick-to: 6.7
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Diffstat (limited to 'build_scripts/setup_runner.py')
0 files changed, 0 insertions, 0 deletions
