cpython/Tools
Jeremy Hylton 66a7e57c7e Fix several bugs and add two features.
Assertion error message had typos in arguments to string format.

.cover files for modules in packages are now put in the right place.

The code that generate .cover files seemed to prepend a "./" to many
absolute paths, causing them to fail.  The code now checks explicitly
for absolute paths and leaves them alone.

In trace/coverage code, recover from case where module has no __name__
attribute, when e.g. it is executed by PyRun_String().  In this case,
assign modulename to None and hope for the best.  There isn't anywhere
to write out coverage data for this code anyway.

Also, replace several sys.stderr.writes with print >> sys.stderr.

New features:

-C/--coverdir dir: Generate .cover files in specified directory
instead of in the directory where the .py file is.

-s: Print a short summary of files coverred (# lines, % coverage,
name)
2001-05-08 04:20:52 +00:00
..
audiopy __pushtodev(): Ignore transient sunaudiodev.errors when setting the 2000-03-29 21:05:53 +00:00
bgen Dialog and Window objects are (finally) different beasts. 2001-02-27 11:05:00 +00:00
compiler Pop loop off the loop stack before handling the loop's else clause. 2001-04-12 21:54:41 +00:00
faqwiz New version 1.0.4. I'm sure someone mailed me these patches but I 2000-03-31 00:58:00 +00:00
freeze Patch #409504: Fix regex problems, consider \-continuation lines in Makefile 2001-03-21 06:58:25 +00:00
i18n Added -o/--output-file option as per GNU msgfmt to specify the output 2001-03-02 16:53:54 +00:00
idle Remove BrowserControl module; this had been left in for Python 1.5.2 2001-04-18 18:43:34 +00:00
modulator REMOVED all CWI, CNRI and BeOpen copyright markings. 2000-09-01 23:29:29 +00:00
pynche update_yourself(): Removed unused local variable reported by 2001-04-18 03:53:29 +00:00
scripts Fix several bugs and add two features. 2001-05-08 04:20:52 +00:00
unicode Unicode nits: Don't include unicodedatabase.h no more. And make sure 2001-01-21 23:31:52 +00:00
versioncheck
webchecker Added more link attributes based on additonal information from Chris 2001-04-05 18:14:50 +00:00
world
README unicode database compression, step 3: 2000-09-25 17:59:57 +00:00

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.