]> granicus.if.org Git - python/commit
Issue #22770: Prevent some Tk segfaults on OS X when running gui tests.
authorNed Deily <nad@acm.org>
Sun, 2 Nov 2014 02:29:22 +0000 (19:29 -0700)
committerNed Deily <nad@acm.org>
Sun, 2 Nov 2014 02:29:22 +0000 (19:29 -0700)
commit91f01e175a4f8f21893401573bdc36c5004388dd
tree53a121b0ff45afa7115f5b1fc9af64d14ac4f2d0
parentaa3ea7ee78f35f1b88801b6a00833dcae384dc37
Issue #22770: Prevent some Tk segfaults on OS X when running gui tests.
When running tests in subprocesses with the regrtest -j option, a bug
in Cocoa Tk can result in a Tcl segfault.  Avoid the problem by forcing
Tk to fully initialize as an OS X gui process before destroying the
Tcl instance and creating another. (Original patch by Serhiy Storchaka)
Lib/test/support/__init__.py
Misc/NEWS