]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-33656: Move pyshell ctypes import inside try block. (GH-9858)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Sun, 14 Oct 2018 00:19:22 +0000 (17:19 -0700)
committerGitHub <noreply@github.com>
Sun, 14 Oct 2018 00:19:22 +0000 (17:19 -0700)
commit77e0abe228564a5be23284bd8e963c11952eb55b
treed7763a463a718d6d80bc6067d0a6268b24af2494
parent6a1238cb44da5b4610fde6cbcbd15e2ad7340c99
bpo-33656: Move pyshell ctypes import inside try block. (GH-9858)

A Windows build with _tkinter, tkinter, and idlelib
but without ctypes is unlikely but apparently possible.
(cherry picked from commit d274afb5e579a5d9d990f68f9af856cf4c918779)

Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
Lib/idlelib/pyshell.py