[Python-checkins] peps: PEP 400: typo
victor.stinner
python-checkins at python.org
Thu Jul 7 14:40:52 CEST 2011
http://hg.python.org/peps/rev/bd79ad755ca2
changeset: 3895:bd79ad755ca2
user: Victor Stinner <victor.stinner at haypocalc.com>
date: Thu Jul 07 14:40:48 2011 +0200
summary:
PEP 400: typo
files:
pep-0400.txt | 16 ++++++++--------
1 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/pep-0400.txt b/pep-0400.txt
--- a/pep-0400.txt
+++ b/pep-0400.txt
@@ -19,7 +19,7 @@
twice and that we may have subtle differences between the two
implementations.
-The codecs modules was introduced in Python 2.0, see the PEP 100. The
+The codecs module was introduced in Python 2.0, see the PEP 100. The
io module was introduced in Python 2.6 and 3.0 (see the PEP 3116), and
reimplemented in C in Python 2.7 and 3.1.
@@ -143,10 +143,10 @@
Possible improvements of StreamReader and StreamWriter
''''''''''''''''''''''''''''''''''''''''''''''''''''''
-It would be possible to add functions to StreamReader and StreamWriter
-to give access to the state of codec. And so it would be possible fix
-issues with stateful codecs in a base class instead of having to fix
-them is each stateful StreamReader and StreamWriter classes.
+By adding codec state read/write functions to the StreamReader and
+StreamWriter classes, it will become possible to fix issues with
+stateful codecs in a base class instead of in each stateful
+StreamReader and StreamWriter classes.
It would be possible to change StreamReader and StreamWriter to make
them use IncrementalDecoder and IncrementalEncoder.
@@ -196,9 +196,9 @@
Deprecate StreamReader and StreamWriter
'''''''''''''''''''''''''''''''''''''''
-Instanciate StreamReader or StreamWriter must raise a
-DeprecationWarning in Python 3.3. Implement a subclass don't raise a
-DeprecationWarning.
+Instanciating StreamReader or StreamWriter must raise a
+DeprecationWarning in Python 3.3. Implementing a subclass doesn't
+raise a DeprecationWarning.
codecs.open() will be changed to reuse the builtin open() function
(TextIOWrapper).
--
Repository URL: http://hg.python.org/peps
More information about the Python-checkins
mailing list