diff --git a/Doc/library/shlex.rst b/Doc/library/shlex.rst index f4622442e47..bb05c7d4610 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 b4f9be241c6..7b793b26908 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.