Commit b31fc2c
Remove incorrect Py_INCREF/DECREF on Model in catchEvent/dropEvent (#1190)
* Remove spurious Py_INCREF/DECREF on Model in catchEvent/dropEvent
* Apply suggestions from code review
Co-authored-by: DominikKamp <130753997+DominikKamp@users.noreply.github.com>
* Update tests/test_event.py
Co-authored-by: DominikKamp <130753997+DominikKamp@users.noreply.github.com>
* Update tests/test_event.py
Co-authored-by: DominikKamp <130753997+DominikKamp@users.noreply.github.com>
* Add changelog entries for unreleased changes
* Fix incomplete docstring in test_catchEvent_does_not_leak_model
* Update CHANGELOG.md
Co-authored-by: DominikKamp <130753997+DominikKamp@users.noreply.github.com>
---------
Co-authored-by: DominikKamp <130753997+DominikKamp@users.noreply.github.com>1 parent 3b49268 commit b31fc2c
3 files changed
+42
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| 5 | + | |
5 | 6 | | |
| 7 | + | |
6 | 8 | | |
7 | 9 | | |
8 | 10 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11268 | 11268 | | |
11269 | 11269 | | |
11270 | 11270 | | |
11271 | | - | |
11272 | 11271 | | |
11273 | 11272 | | |
11274 | 11273 | | |
| |||
11288 | 11287 | | |
11289 | 11288 | | |
11290 | 11289 | | |
11291 | | - | |
11292 | 11290 | | |
11293 | 11291 | | |
11294 | 11292 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
189 | 189 | | |
190 | 190 | | |
191 | 191 | | |
192 | | - | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
0 commit comments