python-astor

Edit Package python-astor

astor is designed to allow easy manipulation of Python source via the AST.

Refresh
Refresh
Source Files
Filename Size Changed
astor-0.8.tar.gz 0000041000 40 KB
python-astor.changes 0000001884 1.84 KB
python-astor.spec 0000003284 3.21 KB
Revision 5 (latest revision is 34)
Tomáš Chvátal's avatar Tomáš Chvátal (scarabeus_iv) accepted request 707075 from Petr Gajdos's avatar Petr Gajdos (pgajdos) (revision 5)
- version update to 0.8
  * Support ``ast.Constant`` nodes being emitted by Python 3.8 (and initially
    created in Python 3.6).
    (Reported and fixed by Chris Rink in `Issue 120`_ and `PR 121`_.)
  * Support Python 3.8's assignment expressions.
    (Reported and fixed by Kodi Arfer in `Issue 126`_ and `PR 134`_.)
  * Support Python 3.8's f-string debugging syntax.
    (Reported and fixed by Batuhan Taskaya in `Issue 138`_ and `PR 139`_.)
  * :func:`astor.to_source` now has a *source_generator_class* parameter to
    customize source code generation.
    (Reported and fixed by matham in `Issue 113`_ and `PR 114`_.)
  * The :class:`~SourceGenerator` class can now be imported from the
    :mod:`astor` package directly. Previously, the ``astor.code_gen``
    submodule was needed to be imported.
  * Support Python 3.8's positional only arguments. See :pep:`570` for
    more details.
    (Reported and fixed by Batuhan Taskaya in `Issue 142`_ and `PR 143`_.)
  * bug fixes, see changelog.rst
- run the testsuite
Comments 0
openSUSE Build Service is sponsored by