| Index | index by Group | index by Distribution | index by Vendor | index by creation date | index by Name | Mirrors | Help | Search |
| Name: python313-astor | Distribution: SUSE Linux 16 |
| Version: 0.8.1 | Vendor: SUSE LLC <https://www.suse.com/> |
| Release: 160000.2.2 | Build date: Thu Jul 4 14:06:42 2024 |
| Group: Development/Languages/Python | Build host: reproducible |
| Size: 280236 | Source RPM: python-astor-0.8.1-160000.2.2.src.rpm |
| Packager: https://www.suse.com/ | |
| Url: https://github.com/berkerpeksag/astor | |
| Summary: Read/rewrite/write Python ASTs | |
astor is designed to allow easy manipulation of Python source via the AST.
There are some other similar libraries, but astor focuses on the following areas:
- Round-trip an AST back to Python:
- Modified AST doesn't need linenumbers, ctx, etc. or otherwise
be directly compileable for the round-trip to work.
- Easy to read generated code as, well, code
- Can round-trip two different source trees to compare for functional
differences, using the astor.rtrip tool (for example, after PEP8 edits).
- Dump pretty-printing of AST
- Harder to read than round-tripped code, but more accurate to figure out what
is going on.
- Easier to read than dump from built-in AST module
- Non-recursive treewalk
- Sometimes you want a recursive treewalk (and astor supports that, starting
at any node on the tree), but sometimes you don't need to do that. astor
doesn't require you to explicitly visit sub-nodes unless you want to:
- You can add code that executes before a node's children are visited, and/or
- You can add code that executes after a node's children are visited, and/or
- You can add code that executes and keeps the node's children from being
visited (and optionally visit them yourself via a recursive call)
- Write functions to access the tree based on object names and/or attribute names
- Enjoy easy access to parent node(s) for tree rewriting
BSD-3-Clause
* Thu Jul 04 2024 daniel.garcia@suse.com
- Skip same tests for python-3.13
* Thu Sep 28 2023 daniel.garcia@suse.com
- Skip same tests for python-3.12
* Fri Apr 21 2023 dmueller@suse.com
- add sle15_python_module_pythons (jsc#PED-68)
* Thu Apr 13 2023 mcepl@suse.com
- Make calling of %{sle15modernpython} optional.
* Tue Jan 10 2023 daniel.garcia@suse.com
- Skip same tests for python-3.11
* Mon Sep 12 2022 mmachova@suse.com
- Skip test_huge_int due to new security feature in Python
* https://github.com/python/cpython/issues/95778
* Sun Dec 12 2021 code@bnavigator.de
- Also skip convert_stdlib in python310: still not fixed
* Fri Mar 19 2021 code@bnavigator.de
- Skip failing stdlib roundtrip test on python39
gh#berkerpeksag/astor#196
* Mon Jun 01 2020 tchvatal@suse.com
- Remove patch remove_unittest2.patch as we use pytest to load
stuff it is no longer really needed
* Fri May 29 2020 pgajdos@suse.com
- for python3, drop dependency on unittest2
- added patches
+ remove_unittest2.patch
* Fri Apr 03 2020 mrueckert@suse.de
- remove the shebang line from the rtrip.py otherwise the python3
package will require /usr/bin/python.
* Wed Mar 25 2020 info@paolostivanin.com
- Add remove_nose.patch
* test suite runs fine without nose, because it was written for unittest2
and, because nose won't work with Python 3.9/3.10, this patch removes
the requirement from setup.cfg and use unittest2 in the spec file
instead of nose
* Fri Jan 17 2020 mcalabkova@suse.com
- update to 0.8.1
* Create sdist before making a test release too
* remove expr_text handler from fstrings
- Drop obsolete python38.patch and setuptools-gt-41_1.patch
* Thu Nov 14 2019 mcepl@suse.com
- Add patch to build with setuptools >= 41.4:
* setuptools-gt-41_1.patch
* Tue Sep 10 2019 tchvatal@suse.com
- Add patch to build with py 3.8:
* python38.patch
* Mon Jun 03 2019 pgajdos@suse.com
- 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
* Fri Nov 09 2018 petr@cervinka.net
- Removed copied link reference from spec file
* Fri Nov 09 2018 cgoll@suse.com
- fixed rpmlint warnings
* Thu Nov 08 2018 cgoll@suse.com
- removed not needed module devel
* removed check section
* using license macro
* Wed Jul 25 2018 cgoll@suse.com
- initial commit of astor 0.7.1 for python2 and python3
* skipped check section, as this was faling
/usr/lib/python3.13/site-packages/astor /usr/lib/python3.13/site-packages/astor-0.8.1-py3.13.egg-info /usr/lib/python3.13/site-packages/astor-0.8.1-py3.13.egg-info/PKG-INFO /usr/lib/python3.13/site-packages/astor-0.8.1-py3.13.egg-info/SOURCES.txt /usr/lib/python3.13/site-packages/astor-0.8.1-py3.13.egg-info/dependency_links.txt /usr/lib/python3.13/site-packages/astor-0.8.1-py3.13.egg-info/top_level.txt /usr/lib/python3.13/site-packages/astor-0.8.1-py3.13.egg-info/zip-safe /usr/lib/python3.13/site-packages/astor/VERSION /usr/lib/python3.13/site-packages/astor/__init__.py /usr/lib/python3.13/site-packages/astor/__pycache__ /usr/lib/python3.13/site-packages/astor/__pycache__/__init__.cpython-313.opt-1.pyc /usr/lib/python3.13/site-packages/astor/__pycache__/__init__.cpython-313.pyc /usr/lib/python3.13/site-packages/astor/__pycache__/code_gen.cpython-313.opt-1.pyc /usr/lib/python3.13/site-packages/astor/__pycache__/code_gen.cpython-313.pyc /usr/lib/python3.13/site-packages/astor/__pycache__/codegen.cpython-313.opt-1.pyc /usr/lib/python3.13/site-packages/astor/__pycache__/codegen.cpython-313.pyc /usr/lib/python3.13/site-packages/astor/__pycache__/file_util.cpython-313.opt-1.pyc /usr/lib/python3.13/site-packages/astor/__pycache__/file_util.cpython-313.pyc /usr/lib/python3.13/site-packages/astor/__pycache__/node_util.cpython-313.opt-1.pyc /usr/lib/python3.13/site-packages/astor/__pycache__/node_util.cpython-313.pyc /usr/lib/python3.13/site-packages/astor/__pycache__/op_util.cpython-313.opt-1.pyc /usr/lib/python3.13/site-packages/astor/__pycache__/op_util.cpython-313.pyc /usr/lib/python3.13/site-packages/astor/__pycache__/rtrip.cpython-313.opt-1.pyc /usr/lib/python3.13/site-packages/astor/__pycache__/rtrip.cpython-313.pyc /usr/lib/python3.13/site-packages/astor/__pycache__/source_repr.cpython-313.opt-1.pyc /usr/lib/python3.13/site-packages/astor/__pycache__/source_repr.cpython-313.pyc /usr/lib/python3.13/site-packages/astor/__pycache__/string_repr.cpython-313.opt-1.pyc /usr/lib/python3.13/site-packages/astor/__pycache__/string_repr.cpython-313.pyc /usr/lib/python3.13/site-packages/astor/__pycache__/tree_walk.cpython-313.opt-1.pyc /usr/lib/python3.13/site-packages/astor/__pycache__/tree_walk.cpython-313.pyc /usr/lib/python3.13/site-packages/astor/code_gen.py /usr/lib/python3.13/site-packages/astor/codegen.py /usr/lib/python3.13/site-packages/astor/file_util.py /usr/lib/python3.13/site-packages/astor/node_util.py /usr/lib/python3.13/site-packages/astor/op_util.py /usr/lib/python3.13/site-packages/astor/rtrip.py /usr/lib/python3.13/site-packages/astor/source_repr.py /usr/lib/python3.13/site-packages/astor/string_repr.py /usr/lib/python3.13/site-packages/astor/tree_walk.py /usr/share/doc/packages/python313-astor /usr/share/doc/packages/python313-astor/AUTHORS /usr/share/doc/packages/python313-astor/README.rst /usr/share/doc/packages/python313-astor/changelog.rst /usr/share/doc/packages/python313-astor/index.rst /usr/share/licenses/python313-astor /usr/share/licenses/python313-astor/LICENSE
Generated by rpm2html 1.8.1
Fabrice Bellet, Tue Sep 30 22:36:46 2025