mirror of
https://github.com/python/cpython.git
synced 2025-11-01 10:45:30 +00:00
Reformatting -- long lines, "[ ]" -> "[]", a few indentation nits. Replace calls to Node function (which constructed ast nodes) with calls to actual constructors imported from ast module. Optimize com_node (most frequently used method) for the common case -- the appropriate method is found in _dispatch. Fix com_augassign to use class object's rather than node names (rendered invalid by recent changes to ast) Remove expensive tests for sequence-ness in com_stmt and com_append_stmt. These tests should never fail; if they do, something is really broken and exception will be raised elsewhere. Fix com_stmt and com_append_stmt to use isinstance rather than testing's type slot of ast node (this slot disappeared with recent changes to ast). |
||
|---|---|---|
| .. | ||
| audiopy | ||
| bgen | ||
| compiler | ||
| faqwiz | ||
| freeze | ||
| i18n | ||
| idle | ||
| modulator | ||
| pynche | ||
| scripts | ||
| unicode | ||
| versioncheck | ||
| webchecker | ||
| world | ||
| README | ||
This directory contains a number of Python programs that are useful
while building or extending Python.
bgen Generate complete extension modules from a
description. Still under development!
compiler A Python source to bytecode compiler written in
Python, including an interface for manipulating
abstract syntax trees. Still under development.
faqwiz FAQ Wizard.
See http://grail.cnri.reston.va.us/cgi-bin/faqw.py
for a live example.
freeze Create a stand-alone executable from a Python program.
modulator Interactively generate boiler plate for an extension
module. Works easiest if you have Tk.
scripts A number of useful single-file programs, e.g. tabnanny.py
(by Tim Peters), which checks for inconsistent mixing
of tabs and spaces.
unicode Tools used to generate unicode database files for
Python 2.0 (by Fredrik Lundh).
versioncheck A tool to automate checking whether you have the latest
version of a package (by Jack Jansen).
webchecker A link checker for web sites.