Python-Modernize v0.3 Release Notes
-
๐ Changes since 0.2:
- ๐ New fixer for
raise E, V, T
, changed tosix.reraise(E, V, T)
. - ๐ New fixer for metaclasses, using
six.with_metaclass
. - ๐จ Avoid adding redundant parentheses to
print(x)
. - python-modernize can now be installed and run on Python 3.
- Fixed a bug where
__future__
imports were added multiple times. - ๐ Fixed a bug where fixer for
zip()
was recognisingmap()
. - 0๏ธโฃ The default is now to leave Unicode literals unchanged.
(In previous versions this required the
--compat-unicode
option, which has now been removed.) A new--six-unicode
option has been added to obtain the previous behaviour of addingsix.u
wrappers around Unicode literals.
- ๐ New fixer for