Path to this page:
Subject: CVS commit: pkgsrc/devel/py-astor
From: Adam Ciarcinski
Date: 2019-05-22 23:06:44
Message id: 20190522210644.32AB3FBB7@cvs.NetBSD.org
Log Message:
py-astor: updated to 0.8.0
0.8.0:
New features
Support ast.Constant nodes being emitted by Python 3.8 (and initially created in \
Python 3.6).
Support Python 3.8's assignment expressions.
Support Python 3.8's f-string debugging syntax.
:func:astor.to_source now has a source_generator_class parameter to customize \
source code generation.
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.
Bug fixes
Fix string parsing when there is a newline inside an f-string.
Fixed code generation with escaped braces in f-strings.
Fixed code generation with attributes of integer literals, and with u-prefixed \
string literals.
Fixed code generation with very large integers.
Fixed :class:astor.tree_walk.TreeWalk when attempting to access attributes \
created by Python's type system (such as __dict__ and __weakref__)
Files: