From b21f51a9d0a55a7ab3af99da9f8c19dfc356c017 Mon Sep 17 00:00:00 2001 From: =?utf8?q?=C3=89ric=20Araujo?= Date: Sun, 23 Oct 2011 04:37:51 +0200 Subject: [PATCH] Note that the #1548891 fix indirectly fixes shlex (#6988, #1170) --- Doc/library/shlex.rst | 4 +--- Misc/NEWS | 3 ++- 2 files changed, 3 insertions(+), 4 deletions(-) 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. -- 2.50.0