From 0c6e68ed1ad0f64364b1b7c27090c6efa8697f37 Mon Sep 17 00:00:00 2001 From: David Goodger Date: Sat, 30 Nov 2002 01:50:39 +0000 Subject: [PATCH] Clarified the "Features to Avoid" table & text. --- pep-0291.txt | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/pep-0291.txt b/pep-0291.txt index 6a440c0a2..549c1051d 100644 --- a/pep-0291.txt +++ b/pep-0291.txt @@ -41,28 +41,27 @@ Features to Avoid to maintain backward compatibility with each version of Python. This list is not complete! It is only meant as a general guide. - Note the features to avoid were implemented in the following - version. For example, features listed next to 1.5.2 were - implemented in 2.0. + Note that the features below were implemented in the version + following the one listed. For example, features listed next to + 1.5.2 were implemented in 2.0. - Version Features - ------- -------- + Version 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 2.0 features + plus all features below 2.0 nested scopes, rich comparisons, function attributes, - plus 2.1 features + 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 2.2 features + plus all features below 2.2 bool, True, False, basestring, enumerate(), {}.pop(), - PendingDeprecationWarning, Universal Newlines, - plus 2.3 features + PendingDeprecationWarning, Universal Newlines Backward Compatible Packages, Modules, and Tools