mirror of https://github.com/python/cpython
Mention patch id for the CJK part of the patch and
the name of the two new C functions.
This commit is contained in:
parent
17d25ca76d
commit
40108c97fb
11
Misc/NEWS
11
Misc/NEWS
|
@ -499,11 +499,12 @@ Library
|
|||
deprecated Message methods have been removed and lots of bugs have been
|
||||
fixed. More details can be found in the email package documentation.
|
||||
|
||||
- Patch #1436130: codecs.lookup() now returns a CodecInfo object (a subclass
|
||||
of tuple) that provides incremental decoders and encoders (a way to use
|
||||
stateful codecs without the stream API). Functions
|
||||
codecs.getincrementaldecoder() and codecs.getincrementalencoder() have
|
||||
been added.
|
||||
- Patches #1436130/#1443155: codecs.lookup() now returns a CodecInfo object
|
||||
(a subclass of tuple) that provides incremental decoders and encoders
|
||||
(a way to use stateful codecs without the stream API). Python functions
|
||||
codecs.getincrementaldecoder() and codecs.getincrementalencoder() as well
|
||||
as C functions PyCodec_IncrementalEncoder() and PyCodec_IncrementalDecoder()
|
||||
have been added.
|
||||
|
||||
- Patch #1359365: Calling next() on a closed StringIO.String object raises
|
||||
a ValueError instead of a StopIteration now (like file and cString.String do).
|
||||
|
|
Loading…
Reference in New Issue