[issue12087] install_egg_info fails with UnicodeEncodeError depending on locale

2018-07-11 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Fixed in issue9561. -- nosy: +serhiy.storchaka resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> distutils: set encoding to utf-8 for input and output files type: crash -> behavior _

[issue12087] install_egg_info fails with UnicodeEncodeError depending on locale

2011-06-22 Thread Michał Górny
Changes by Michał Górny : -- nosy: +mgorny ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.o

[issue12087] install_egg_info fails with UnicodeEncodeError depending on locale

2011-05-16 Thread Éric Araujo
Éric Araujo added the comment: The pkg_resources module in setuptools or distribute reads those files. In 3.3, packaging.database reads them too (it’s an implementation of PEP 376 with b/w compat with egg-info). It may work just fine in 3.x (it uses text I/O), but when we backport packaging

[issue12087] install_egg_info fails with UnicodeEncodeError depending on locale

2011-05-16 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis : -- nosy: +Arfrever ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

[issue12087] install_egg_info fails with UnicodeEncodeError depending on locale

2011-05-16 Thread STINNER Victor
STINNER Victor added the comment: install_egg_info.run() uses f = open(target, 'w') to create the .egg-info file and so the file uses the locale encoding. I don't know which module/program reads the file, so I don't know if the "locale encoding" is a good choice. -- nosy: +haypo

[issue12087] install_egg_info fails with UnicodeEncodeError depending on locale

2011-05-16 Thread Hagen Fürstenau
New submission from Hagen Fürstenau : With issue 10419 fixed, I've run into the next distutils unicode bug: The command "install_egg_info" doesn't specify an encoding when opening the ".egg-info" file for writing. Depending on the locale, this may result in something like the following: $ pyt