Commit e1f8ab4
committed
fix: gate asyncio import during init; disable it in cleanup CI to avoid early ssl load
PythonQt::init() unconditionally imported `asyncio`. On Python 3.12 this
pulls in `asyncio.sslproto` -> `ssl` -> the `_ssl` C extension. In our
"cleanup" test on Ubuntu 24.04 (with sanitizers and rapid finalize),
that early `_ssl` load segfaulted inside import/teardown.1 parent 43a3b9a commit e1f8ab4
2 files changed
+12
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
88 | 88 | | |
89 | 89 | | |
90 | 90 | | |
| 91 | + | |
91 | 92 | | |
92 | 93 | | |
93 | 94 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
102 | 102 | | |
103 | 103 | | |
104 | 104 | | |
105 | | - | |
106 | | - | |
107 | | - | |
108 | | - | |
109 | | - | |
110 | | - | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
111 | 116 | | |
112 | 117 | | |
113 | 118 | | |
| |||
0 commit comments