]> granicus.if.org Git - python/commit
Issue #14777: In an X11 windowing environment, tkinter may return
authorNed Deily <nad@acm.org>
Wed, 16 May 2012 01:08:11 +0000 (18:08 -0700)
committerNed Deily <nad@acm.org>
Wed, 16 May 2012 01:08:11 +0000 (18:08 -0700)
commit4d377d98a1b4ab115bcd816553600e603e388831
treec7f71b285f862bc9f3d51e0945659e9f5cd019ee
parenta790c9b6d6b5b706f1b29be316f2e41d24eeb295
Issue #14777: In an X11 windowing environment, tkinter may return
undecoded UTF-8 bytes as a string when accessing the Tk clipboard.
Modify clipboad_get() to first request type UTF8_STRING when no
specific type is requested in an X11 windowing environment, falling
back to the current default type STRING if that fails.
Original patch by Thomas Kluyver.
Lib/tkinter/__init__.py
Misc/NEWS