Skip to content
Branch: master
Find file History
pablogsal bpo-38870: Expose a function to unparse an ast object in the ast modu…
…le (GH-17302)

Add ast.unparse() as a function in the ast module that can be used to unparse an
ast.AST object and produce a string with code that would produce an equivalent ast.AST
object when parsed.
1
Latest commit 27fc3b6 Nov 25, 2019
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
buildbot
c-analyzer bpo-38419: fix "check-c-globals" path (GH-16680) Oct 23, 2019
ccbench bpo-38839: Fix some unused functions in tests (GH-17189) Nov 19, 2019
clinic bpo-27961: Replace PY_LONG_LONG with long long. (GH-15386) Oct 21, 2019
demo bpo-38539: Finish rename of ss1.py to spreadsheet.py (GH-16896) Oct 23, 2019
freeze bpo-22831: Use "with" to avoid possible fd leaks in tools (part 2). (G… Mar 30, 2019
gdb closes bpo-16637: libpython: construct integer object directly from g… Sep 24, 2019
i18n bpo-22831: Use "with" to avoid possible fd leaks in tools (part 2). (G… Mar 30, 2019
importbench Tools/importbench: Fix a misplaced stderr= (GH-12690) Apr 5, 2019
iobench Replace KB unit with KiB (#4293) Nov 8, 2017
msi bpo-38589: Fixes HTML Help shortcut when Windows is not installed to … Oct 28, 2019
nuget Enable building nuget packages for ARM32 (GH-12669) Apr 12, 2019
pynche Remove code commented for more than 10 years (GH-16965) Oct 28, 2019
scripts bpo-38347: find pathfix for Python scripts whose name contain a '-' (G… Oct 11, 2019
ssl bpo-38117: Test with OpenSSL 1.1.1d (GH-15983) Sep 11, 2019
stringbench Issue #19936: Added executable bits or shebang lines to Python script… Jan 16, 2014
test2to3 Issue #19936: Remove executable bits from C source files and several … Jan 16, 2014
tz bpo-29919: Remove unused imports found by pyflakes (#137) Mar 27, 2017
unicode bpo-37760: Convert from length-18 lists to a dataclass, in makeunicod… Sep 12, 2019
unittestgui Removed unintentional trailing spaces in text files. Mar 29, 2015
README bpo-34605: Avoid master/slave terms (GH-9101) Sep 7, 2018

README

This directory contains a number of Python programs that are useful
while building or extending Python.

buildbot        Batchfiles for running on Windows buildbot workers.

ccbench         A Python threads-based concurrency benchmark. (*)

demo            Several Python programming demos.

freeze          Create a stand-alone executable from a Python program.

gdb             Python code to be run inside gdb, to make it easier to
                debug Python itself (by David Malcolm).

i18n            Tools for internationalization. pygettext.py
                parses Python source code and generates .pot files,
                and msgfmt.py generates a binary message catalog
                from a catalog in text format.

iobench         Benchmark for the new Python I/O system. (*)

msi             Support for packaging Python as an MSI package on Windows.

parser          Un-parsing tool to generate code from an AST.

pynche          A Tkinter-based color editor.

scripts         A number of useful single-file programs, e.g. tabnanny.py
                by Tim Peters, which checks for inconsistent mixing of
                tabs and spaces, and 2to3, which converts Python 2 code
                to Python 3 code.

stringbench     A suite of micro-benchmarks for various operations on
                strings (both 8-bit and unicode). (*)

test2to3        A demonstration of how to use 2to3 transparently in setup.py.

unicode         Tools for generating unicodedata and codecs from unicode.org
                and other mapping files (by Fredrik Lundh, Marc-Andre Lemburg
                and Martin von Loewis).

unittestgui     A Tkinter based GUI test runner for unittest, with test
                discovery.


(*) A generic benchmark suite is maintained separately at https://github.com/python/performance
You can’t perform that action at this time.