From: Éric Araujo Date: Sun, 23 Oct 2011 02:37:51 +0000 (+0200) Subject: Note that the #1548891 fix indirectly fixes shlex (#6988, #1170) X-Git-Tag: v2.7.3rc1~385 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b21f51a9d0a55a7ab3af99da9f8c19dfc356c017;p=python Note that the #1548891 fix indirectly fixes shlex (#6988, #1170) --- diff --git a/Doc/library/shlex.rst b/Doc/library/shlex.rst index f4622442e4..bb05c7d461 100644 --- a/Doc/library/shlex.rst +++ b/Doc/library/shlex.rst @@ -21,9 +21,7 @@ syntaxes resembling that of the Unix shell. This will often be useful for writing minilanguages, (for example, in run control files for Python applications) or for parsing quoted strings. -.. note:: - - The :mod:`shlex` module currently does not support Unicode input. +Prior to Python 2.7.3, this module did not support Unicode input. The :mod:`shlex` module defines the following functions: diff --git a/Misc/NEWS b/Misc/NEWS index b4f9be241c..7b793b2690 100644 --- a/Misc/NEWS +++ b/Misc/NEWS @@ -68,7 +68,8 @@ Library - Issue #1548891: The cStringIO.StringIO() constructor now encodes unicode arguments with the system default encoding just like the write() method - does, instead of converting it to a raw buffer. + does, instead of converting it to a raw buffer. This also fixes handling of + unicode input in the shlex module (#6988, #1170). - Issue #9168: now smtpd is able to bind privileged port.