[Python-checkins] cpython (2.7): Note that the #1548891 fix indirectly fixes shlex (#6988, #1170)
eric.araujo
python-checkins at python.org
Sun Oct 23 04:37:57 CEST 2011
http://hg.python.org/cpython/rev/0b39f2486314
changeset: 73060:0b39f2486314
branch: 2.7
parent: 73054:27ae7d4e1983
user: Éric Araujo <merwok at netwok.org>
date: Sun Oct 23 04:37:51 2011 +0200
summary:
Note that the #1548891 fix indirectly fixes shlex (#6988, #1170)
files:
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
--- a/Doc/library/shlex.rst
+++ b/Doc/library/shlex.rst
@@ -21,9 +21,7 @@
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
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -68,7 +68,8 @@
- 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.
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list