Did https://mail.python.org/pipermail/python-list/2008-June/467441.html get an answer?
I'd like to be able to robustly deal with PKG-INFO and METADATA in pbr, and right now we depend on locale.getpreferredencoding()... if we could depend on utf8 or something that would be great. -Rob -- Robert Collins <rbtcollins@hp.com> Distinguished Technologist HP Converged Cloud
It's a bug if bdist_wheel generates anything other than utf-8 METADATA. On Mon, Sep 21, 2015, 8:37 PM Robert Collins <robertc@robertcollins.net> wrote:
I'd like to be able to robustly deal with PKG-INFO and METADATA in pbr, and right now we depend on locale.getpreferredencoding()... if we could depend on utf8 or something that would be great.
-Rob
-- Robert Collins <rbtcollins@hp.com> Distinguished Technologist HP Converged Cloud _______________________________________________ Distutils-SIG maillist - Distutils-SIG@python.org https://mail.python.org/mailman/listinfo/distutils-sig
In wheel we had to jump through some hoops to do rfc822 style documents with utf-8, a task which can also be accomplished more easily with newer versions of the standard Python 3 email library (but not the versions we had to support at the time). https://bitbucket.org/pypa/wheel/src/1cb7374c9ea4d5c82992f1d9b24cf7168ca87707/wheel/pkginfo.py?at=default&fileviewer=file-view-default On Mon, Sep 21, 2015 at 9:44 PM Robert Collins <robertc@robertcollins.net> wrote:
On 22 September 2015 at 13:07, Daniel Holth <dholth@gmail.com> wrote:
It's a bug if bdist_wheel generates anything other than utf-8 METADATA.
Cool. And PKG-INFO ?
-Rob
-- Robert Collins <rbtcollins@hp.com> Distinguished Technologist HP Converged Cloud
participants (2)
-
Daniel Holth -
Robert Collins