diff --git a/pep-0291.txt b/pep-0291.txt index c11371936..152ce599c 100644 --- a/pep-0291.txt +++ b/pep-0291.txt @@ -58,19 +58,24 @@ Features to Avoid ------- ----------------- 1.5.2 string methods, Unicode, list comprehensions, augmented assignment (eg, +=), zip(), import x as y, - dict.setdefault(), print >> f, calling f(*args, **kw), - plus all features below + dict.setdefault(), print >> f, + calling f(*args, **kw), plus all features below - 2.0 nested scopes, rich comparisons, function attributes, - plus all features below + 2.0 nested scopes, rich comparisons, + function attributes, plus all features below 2.1 use of object or new-style classes, iterators, using generators, nested scopes, or // without from __future__ import ... statement, plus all features below - 2.2 bool, True, False, basestring, enumerate(), {}.pop(), - PendingDeprecationWarning, Universal Newlines + 2.2 bool, True, False, basestring, enumerate(), + {}.pop(), PendingDeprecationWarning, + Universal Newlines, plus all features below + + 2.3 generator expressions, multi-line imports, + decorators, int/long unification, set/frozenset, + reversed(), sorted(), "".rsplit() Backward Compatible Packages, Modules, and Tools