]> 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:28:04 +0000 (17:28 -0700)
committerGitHub <noreply@github.com>
Sun, 14 Oct 2018 00:28:04 +0000 (17:28 -0700)
commit68299305c7898eb8eb0cea6cad19c299d0d1ba2d
tree15642ef0eabb2abc840393ac0e9ea06a384b6303
parent82ff58338866b935e3df0b3fba166ed885b8bbfe
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