[docs] [issue21580] PhotoImage(data=...) apparently has to be UTF-8 or Base-64 encoded

Serhiy Storchaka report at bugs.python.org
Thu May 29 16:27:25 CEST 2014


Serhiy Storchaka added the comment:

Here is a patch which fixes passing Python bytes to Tcl in Python 3. However it will be not easy to fix this issue in Python 2.

See also issue21605 which adds tests for Tkinter images (some of them fails without this patch).

----------
assignee: docs at python -> serhiy.storchaka
dependencies: +Add tests for Tkinter images
keywords: +patch
stage: test needed -> patch review
type:  -> behavior
versions: +Python 2.7, Python 3.5
Added file: http://bugs.python.org/file35402/tkinter_bytes.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue21580>
_______________________________________


More information about the docs mailing list