[issue13114] check -r fails with non-ASCII unicode long_description
Changes by Кирилл Кузьминых sai...@mail.ru: -- versions: +3rd party ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13114 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue13114] check -r fails with non-ASCII unicode long_description
Changes by Кирилл Кузьминых sai...@mail.ru: -- type: crash - behavior ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13114 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue13114] check -r fails with non-ASCII unicode long_description
Кирилл Кузьминых sai...@mail.ru added the comment: I created the patch (in attachment) for Distutils from Python 2.7. PS: Python 3.2 does not contain this error, because there the entire text is stored in unicode. -- components: -Distutils2 keywords: +patch type: behavior - crash versions: -3rd party, Python 3.2, Python 3.3 Added file: http://bugs.python.org/file23335/check_rst.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13114 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue13114] check -r fails with non-ASCII unicode long_description
Changes by Кирилл Кузьминых sai...@mail.ru: -- components: +Distutils2 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13114 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue13114] UnicodeDecodeError in command `register` due to using not ASCII chars in long_description
New submission from Кирилл Кузьминых sai...@mail.ru: Command `register` (and `check -r` too) raises the exception UnicodeDecodeError if the long_description (stored as unicode) contains not ASCII chars. This is because the Docutils, called from Distutils, accepts only ASCII or Unicode. But Distutils passes to Docutils text as a `str` (ASCII or UTF-8). PS: sorry for my English -- assignee: tarek components: Distutils files: trace.log messages: 145007 nosy: Cykooz, eric.araujo, tarek priority: normal severity: normal status: open title: UnicodeDecodeError in command `register` due to using not ASCII chars in long_description type: crash versions: Python 2.7 Added file: http://bugs.python.org/file23327/trace.log ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13114 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue13114] UnicodeDecodeError in command `register` due to using not ASCII chars in long_description
Кирилл Кузьминых sai...@mail.ru added the comment: Can you give us a short setup.py that reproduces the bug? Ok. Command that reproduces the bug: python setup.py check -r PS: I use: Ubuntu 11.04 Python 2.7.1 Docutils 0.8.1 -- Added file: http://bugs.python.org/file23328/setup.py ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13114 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com