Marc Culler added the comment:

The attached patch simply decodes string options to the Font._set() method 
using the utf8 codec.  Other options (which will be numbers) are converted to 
ascii strings as currently happens.

This makes it possible to use the Font.copy() method without raising an 
exception when the font family name is not ascii encoded.

----------
keywords: +patch
Added file: http://bugs.python.org/file46855/tkFont.patch

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue30310>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to