------------------
New features
~~~~~~~~~~~~
* Added initial support for Python 3.7.0.
Note that if you have a subclass of ``astor.code_gen.SourceGenerator``, you
may need to rename the keyword argument ``async`` of the following methods
to ``is_async``:
- ``visit_FunctionDef(..., is_async=False)``
- ``visit_For(..., is_async=False)``
- ``visit_With(..., is_async=False)``
(Reported and fixed by Berker Peksag in `Issue 86`_.)
.. _`Issue 86`: https://github.com/berkerpeksag/astor/issues/86
* Dropped support for Python 2.6 and Python 3.3.
Bug fixes
~~~~~~~~~
* Fixed a bug where newlines would be inserted to a wrong place during
printing f-strings with trailing newlines.
(Reported by Felix Yan and contributed by Radomír Bosák in
`Issue 89`_.)
.. _`Issue 89`: https://github.com/berkerpeksag/astor/issues/89
* Improved code generation to support ``ast.Num`` nodes containing infinities
or NaNs.
(Reported and fixed by Kodi Arfer in `Issue 85`_ and `Issue 100`_.)
.. _`Issue 85`: https://github.com/berkerpeksag/astor/issues/85
.. _`Issue 100`: https://github.com/berkerpeksag/astor/issues/100
* Improved code generation to support empty sets.
(Reported and fixed by Kodi Arfer in `Issue 108`_.)
.. _`Issue 108`: https://github.com/berkerpeksag/astor/issues/108