mirror of https://github.com/python/cpython
63ce5af496
list of files to not extract docstrings from when the -D option is given. This isn't optimal, but I didn't want to change the semantics of -D, and it's bad form to allow optional switch arguments. Bumping __version__ to 1.4. TokenEater.__init__(): Initialize __curfile to None. __waiting(): In order to extract docstrings from the module, both the -D flag should be set, and the __curfile should not be named in the -X filename (i.e. it isn't in opts.nodocstrings). set_filename(): Fixed a bug where once the first module docstring is extracted, no subsequent module docstrings will be extracted. The bug was that the first extraction set __freshmodule to 0, but that flag was never reset back to 1. set_filename() is always called when the next file is being processed, so use it to reset the __freshmodule flag. main(): Add support for -X/--no-docstring. |
||
---|---|---|
.. | ||
audiopy | ||
bgen | ||
compiler | ||
faqwiz | ||
freeze | ||
i18n | ||
idle | ||
modulator | ||
pynche | ||
scripts | ||
unicode | ||
versioncheck | ||
webchecker | ||
world | ||
README |
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.