Distributes from pkg_resources.resource_string returns bytes under
Python 3, which is pretty surprising. :-)
Should we fix this? That would mean that we need to introduce a
pkg_resources.resource_bytes that returns bytes under Python 3 and str
(again) in Python 2. And probably we also need a
pkg_resources.resource_unicode that returns Unicode under Python 2 and
str under Python 3...


Opinions on that?
_______________________________________________
Distutils-SIG maillist  -  Distutils-SIG@python.org
http://mail.python.org/mailman/listinfo/distutils-sig

Reply via email to