[issue30409] locale.getpreferredencoding doesn't return result

2017-05-21 Thread Cheryl Sabella
Changes by Cheryl Sabella : -- pull_requests: -1780 ___ Python tracker ___ ___

[issue30409] locale.getpreferredencoding doesn't return result

2017-05-20 Thread STINNER Victor
STINNER Victor added the comment: Sean McCully: Thank you very much for both your bug report and for your pull request! You got your name into Python ;-) -- resolution: -> fixed status: open -> closed ___ Python tracker

[issue30409] locale.getpreferredencoding doesn't return result

2017-05-20 Thread STINNER Victor
STINNER Victor added the comment: New changeset cef8b1741c03a09ea7371947dc65f632c61ef8ad by Victor Stinner (Sean McCully) in branch '2.7': bpo-30409: locale.getpreferredencoding doesn't return result (#1672) https://github.com/python/cpython/commit/cef8b1741c03a09ea7371947dc65f632c61ef8ad

[issue30409] locale.getpreferredencoding doesn't return result

2017-05-20 Thread Cheryl Sabella
Changes by Cheryl Sabella : -- pull_requests: +1780 ___ Python tracker ___ ___

[issue30409] locale.getpreferredencoding doesn't return result

2017-05-20 Thread Decorater
Changes by Decorater : Added file: http://bugs.python.org/file46878/suggested_change.diff ___ Python tracker ___

[issue30409] locale.getpreferredencoding doesn't return result

2017-05-20 Thread STINNER Victor
STINNER Victor added the comment: > ok, is this a valid fix then? Yes, totally. Sorry, ignore my first comment. -- ___ Python tracker ___

[issue30409] locale.getpreferredencoding doesn't return result

2017-05-20 Thread Sean McCully
Sean McCully added the comment: ok,  is this a valid fix then? On Saturday, May 20, 2017 1:34 AM, STINNER Victor wrote: STINNER Victor added the comment: > In fact, it seems like I introduced a regression in bpo-6393, commit >

[issue30409] locale.getpreferredencoding doesn't return result

2017-05-19 Thread STINNER Victor
STINNER Victor added the comment: > In fact, it seems like I introduced a regression in bpo-6393, commit > 94a3694c3dda97e3bcb51264bf47d948c5424d84. I backported this commit, but I didn't notice the bug in the code... In fact, this commit was followed by the commit

[issue30409] locale.getpreferredencoding doesn't return result

2017-05-19 Thread STINNER Victor
STINNER Victor added the comment: In fact, it seems like I introduced a regression in bpo-6393, commit 94a3694c3dda97e3bcb51264bf47d948c5424d84. -- ___ Python tracker

[issue30409] locale.getpreferredencoding doesn't return result

2017-05-19 Thread STINNER Victor
STINNER Victor added the comment: Oh, I'm sorry, I read too fast. I didn't notice the pull request. It seems like a real bug in Python 2.7. -- resolution: third party -> status: closed -> open ___ Python tracker

[issue30409] locale.getpreferredencoding doesn't return result

2017-05-19 Thread STINNER Victor
STINNER Victor added the comment: File "/usr/lib/python2.7/site-packages/pip/utils/encoding.py", line 31, in auto_decode return data.decode(locale.getpreferredencoding(False)) TypeError: decode() argument 1 must be string, not None I'm sorry, but this issue looks like a bug in pip, not in

[issue30409] locale.getpreferredencoding doesn't return result

2017-05-19 Thread Sean McCully
New submission from Sean McCully: Exception: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/pip/basecommand.py", line 215, in main status = self.run(options, args) File "/usr/lib/python2.7/site-packages/pip/commands/install.py", line 312, in run