This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author culler
Recipients culler
Date 2017-05-10.02:09:07
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1494382147.79.0.45936214074.issue30310@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2017-05-10 02:09:07cullersetrecipients: + culler
2017-05-10 02:09:07cullersetmessageid: <1494382147.79.0.45936214074.issue30310@psf.upfronthosting.co.za>
2017-05-10 02:09:07cullerlinkissue30310 messages
2017-05-10 02:09:07cullercreate