Add mention of features added in 2.4 and thus to be avoided in 2.3 .

Also make all lines 70 characters or less.
This commit is contained in:
Brett Cannon 2005-12-11 23:33:53 +00:00
parent b554d339a8
commit 91a41916ba
1 changed files with 11 additions and 6 deletions

View File

@ -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