@@ -81,6 +81,7 @@ The complete set of fixers applied by ``futurize --stage1`` is:
81
81
82
82
lib2to3.fixes.fix_apply
83
83
lib2to3.fixes.fix_except
84
+ lib2to3.fixes.fix_exec
84
85
lib2to3.fixes.fix_exitfunc
85
86
lib2to3.fixes.fix_funcattrs
86
87
lib2to3.fixes.fix_has_key
@@ -106,7 +107,6 @@ The complete set of fixers applied by ``futurize --stage1`` is:
106
107
libfuturize.fixes.fix_print_with_import
107
108
libfuturize.fixes.fix_raise
108
109
109
-
110
110
The following fixers from ``lib2to3 `` are not applied:
111
111
112
112
.. code-block :: python
@@ -224,23 +224,23 @@ becomes::
224
224
225
225
The complete list of fixers applied in Stage 2 is::
226
226
227
- lib2to3.fixes.fix_basestring
228
227
lib2to3.fixes.fix_dict
229
- lib2to3.fixes.fix_exec
228
+ lib2to3.fixes.fix_filter
230
229
lib2to3.fixes.fix_getcwdu
231
230
lib2to3.fixes.fix_input
232
231
lib2to3.fixes.fix_itertools
233
232
lib2to3.fixes.fix_itertools_imports
234
- lib2to3.fixes.fix_filter
235
233
lib2to3.fixes.fix_long
236
234
lib2to3.fixes.fix_map
235
+ lib2to3.fixes.fix_next
237
236
lib2to3.fixes.fix_nonzero
238
237
lib2to3.fixes.fix_operator
239
238
lib2to3.fixes.fix_raw_input
240
239
lib2to3.fixes.fix_zip
241
-
240
+
241
+ libfuturize.fixes.fix_basestring
242
242
libfuturize.fixes.fix_cmp
243
- libfuturize.fixes.fix_division
243
+ libfuturize.fixes.fix_division_safe
244
244
libfuturize.fixes.fix_execfile
245
245
libfuturize.fixes.fix_future_builtins
246
246
libfuturize.fixes.fix_future_standard_library
@@ -269,12 +269,6 @@ Not applied::
269
269
lib2to3.fixes.fix_xrange # Custom one because of a bug with Py3.3's lib2to3
270
270
271
271
272
- Fixes applied with the ``futurize --conservative `` option::
273
-
274
- libfuturize.fixes.fix_division_safe # instead of libfuturize.fixes.fix_division.
275
-
276
-
277
-
278
272
.. Ideally the output of this stage should not be a ``SyntaxError`` on either
279
273
.. Python 3 or Python 2.
280
274
0 commit comments