[issue18818] Empty PYTHONIOENCODING is not the same as nonexistent

2014-02-25 Thread Roundup Robot
Roundup Robot added the comment: New changeset 8ac9c3754d33 by R David Murray in branch 'default': whatsnew: encoding is now optional in PYTHONIOENCODING (#18818) http://hg.python.org/cpython/rev/8ac9c3754d33 -- ___ Python tracker

[issue18818] Empty PYTHONIOENCODING is not the same as nonexistent

2013-09-13 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Thank you Ezio and Vajrasky for the review. -- resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed type: behavior -> enhancement versions: -Python 2.7, Python 3.3 ___ Python track

[issue18818] Empty PYTHONIOENCODING is not the same as nonexistent

2013-09-13 Thread Roundup Robot
Roundup Robot added the comment: New changeset c7fdb0637d0b by Serhiy Storchaka in branch 'default': Issue #18818: The "encodingname" part of PYTHONIOENCODING is now optional. http://hg.python.org/cpython/rev/c7fdb0637d0b -- nosy: +python-dev ___ Pyth

[issue18818] Empty PYTHONIOENCODING is not the same as nonexistent

2013-09-11 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Nick, could you help me with documentation? I'm sure my wording needs improving. And there is one question left. Is this change appropriate for 2.7 and 3.3, or only for 3.4? -- ___ Python tracker

[issue18818] Empty PYTHONIOENCODING is not the same as nonexistent

2013-09-02 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- keywords: +needs review ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http:/

[issue18818] Empty PYTHONIOENCODING is not the same as nonexistent

2013-08-23 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Here is a patch with tests and documentation. For the documentation I hope on your help. -- Added file: http://bugs.python.org/file31447/empty_pythonioencoding_3.patch ___ Python tracker

[issue18818] Empty PYTHONIOENCODING is not the same as nonexistent

2013-08-23 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis : -- nosy: +Arfrever ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

[issue18818] Empty PYTHONIOENCODING is not the same as nonexistent

2013-08-23 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Second variant of the patch also supports empty error handler as the default error handler (i.e. strict). $ PYTHONIOENCODING=ascii: ./python Python 3.4.0a1+ (default:5b5ef012cd4e+, Aug 23 2013, 10:18:51) [GCC 4.6.3] on linux Type "help", "copyright", "credit

[issue18818] Empty PYTHONIOENCODING is not the same as nonexistent

2013-08-23 Thread STINNER Victor
STINNER Victor added the comment: Patch looks good to me, but you have to update Doc/using/cmdline.rst, at least to add a versionchanged section. Tests would also be nice :-) I really like the the "PYTHONIOENCODING=:surrogateescape" use case! -- ___

[issue18818] Empty PYTHONIOENCODING is not the same as nonexistent

2013-08-23 Thread Nick Coghlan
Nick Coghlan added the comment: Patch looks good to me. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http

[issue18818] Empty PYTHONIOENCODING is not the same as nonexistent

2013-08-22 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : Added file: http://bugs.python.org/file31433/empty_pythonioencoding.patch ___ Python tracker ___ ___ Python-bugs

[issue18818] Empty PYTHONIOENCODING is not the same as nonexistent

2013-08-22 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : Removed file: http://bugs.python.org/file31432/empty_pythonioencoding.patch ___ Python tracker ___ ___ Python-bu

[issue18818] Empty PYTHONIOENCODING is not the same as nonexistent

2013-08-22 Thread Serhiy Storchaka
New submission from Serhiy Storchaka: $ PYTHONIOENCODING= ./python Fatal Python error: Py_Initialize: can't initialize sys standard streams LookupError: unknown encoding: Aborted (core dumped) As a consequence we can't set only the error handler. $ PYTHONIOENCODING=:surrogateescape ./python Fa