Repository navigation
Commit e7dccf0
Fix handle leaks in test_tcl when the test is run with -R 3:3. Call
explicitly Tcl_FinalizeThread() in test_returning_deeply_nested() to
clean up explicitly per-thread state. The test is run in a thread
because of the @run_with_limited_c_stack() decorator.
On Windows, Tcl_CreateInterp() creates an event in the Tcl notifier
implementation. The event is stored in per-thread state which is only
cleaned up at exit.
Add the private _tkinter._finalize_thread() function.
(cherry picked from commit 2781ffe)
Co-authored-by: Victor Stinner <vstinner@python.org>
1 parent c632048 commit e7dccf0
3 files changed
Lines changed: 39 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
595 | 595 | | |
596 | 596 | | |
597 | 597 | | |
| 598 | + | |
| 599 | + | |
| 600 | + | |
| 601 | + | |
| 602 | + | |
598 | 603 | | |
599 | 604 | | |
600 | 605 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3399 | 3399 | | |
3400 | 3400 | | |
3401 | 3401 | | |
| 3402 | + | |
| 3403 | + | |
| 3404 | + | |
| 3405 | + | |
| 3406 | + | |
| 3407 | + | |
| 3408 | + | |
| 3409 | + | |
| 3410 | + | |
| 3411 | + | |
| 3412 | + | |
| 3413 | + | |
| 3414 | + | |
| 3415 | + | |
3402 | 3416 | | |
3403 | 3417 | | |
3404 | 3418 | | |
| |||
3490 | 3504 | | |
3491 | 3505 | | |
3492 | 3506 | | |
| 3507 | + | |
3493 | 3508 | | |
3494 | 3509 | | |
3495 | 3510 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments