Bug Fixes
---------
- fix_kwargs no longer breaks docstrings when adding code to fix parameters.
(Denis Zawada, #880389)
New Features
------------
- Format template strings, that use auto-numbered fields, are now converted
to use explicitly numbered fields, thus extending compatibility with
Python 2.6 even further. (Denis Zawada, #881113)
- Chained exceptions (raise E from E) are now included in the __cause__
attribute whenever possible. (Denis Zawada, #881136)
- Function annotations are now collected and set manually. You can access them
via the func_annotations property, exactly like in Python 3.
(Denis Zawada, #881134)
- New fixer fix_funcdecorator, fix_classdecorator equivalent for decorated
functions, is now available and auto-enabled (as a dependency for
fix_annotations) (Denis Zawada)
Other
-----
- __annotations__ attributes are now renamed to func_annotations.
- Attribute renamers with special names (e.g. __nonzero__) are now more
eager.
- Method renamers have been DRYed and marked as BM_compatible.
- Some minor issues with preserving whitespace in fix_classdecorator have
been resolved by switching to new implementation, that could be reused.
- Fix_str have been split into fix_str and fix_str_literals. This has allowed
to mark fix_str_literals as BM_compatible and shaved off almost 2 seconds
from the test suite run.