File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- What's New in Python 2.2a0 ?
1+ What's New in Python 2.2a1 ?
22===========================
33
44Core
55
6+ - Generators were added; this is a new way to create an iterator (see
7+ below) using what looks like a simple function containing one of
8+ more 'yield' statements. See PEP 255. Since this adds a new
9+ keyword to the language, this feature must be enabled by including a
10+ future statement: "from __future__ import generators" (see PEP 236).
11+ Generators will become a standard feature in a future release
12+ (probably 2.3). Without this future statement, 'yield' remains an
13+ ordinary identifier, but a warning is issued each time it is used.
14+ (These warnings currently don't conform to the warnings framework of
15+ PEP 230; we intend to fix this in 2.2a2.)
16+
617- The UTF-16 codec was modified to be more RFC compliant. It will now
718 only remove BOM characters at the start of the string and then
819 only if running in native mode (UTF-16-LE and -BE won't remove a
@@ -197,6 +208,9 @@ C API
197208 _PyTuple_Resize(). If this affects you, you were cheating.
198209
199210
211+ ======================================================================
212+
213+
200214What's New in Python 2.1 (final)?
201215=================================
202216
You can’t perform that action at this time.
0 commit comments