Fixes IDLE crash on OSX: some versions of Tcl/Tk on OSX don't have a console object, avoid crashing in that case.
Fixes IDLE crash on OSX: some versions of Tcl/Tk on OSX don't have a
console object, avoid crashing in that case.

sk-/python2.7-type-annotator,sk-/python2.7-type-annotator,sk-/python2.7-type-annotator