From 10dd4cff4c333374b7942f0d0104669b280be09f Mon Sep 17 00:00:00 2001 From: Mark Pilgrim Date: Sun, 25 Jan 2009 23:11:21 -0500 Subject: [PATCH] mark which fixes require explicit mention when calling 2to3 (i.e. they are not run by default) --- porting-code-to-python-3-with-2to3.txt | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/porting-code-to-python-3-with-2to3.txt b/porting-code-to-python-3-with-2to3.txt index 42d27f7..cd426c4 100644 --- a/porting-code-to-python-3-with-2to3.txt +++ b/porting-code-to-python-3-with-2to3.txt @@ -109,20 +109,20 @@ MAPPING = {'urllib': [ - zip() - StandardError() - types module -- common idioms +- basestring type +- itertools functions +- itertools imports +- relative imports +- sys.exc_type, sys.exc_value, sys.exc_traceback +- list comprehensions over tuples +- os.getcwdu() +- metaclasses +- set literals (EXPLICIT) +- whitespace around commas (EXPLICIT) +- buffer() (EXPLICIT) +- common idioms (EXPLICIT) - while 1 - type(X) == T, type(X) != T - type(X) is T, type(X) is not T - T is type(X), T is not type(X) - list.sort() -- basestring type -- buffer() -- itertools functions -- itertools imports -- relative imports -- set literals -- sys.exc_type, sys.exc_value, sys.exc_traceback -- list comprehensions over tuples -- os.getcwdu() -- metaclasses -