cpython/Tools
Jeremy Hylton be317e615e patches from Mark Hammond
Attached is a set of diffs for the .py compiler that adds support
for the new extended call syntax.

compiler/ast.py:
CallFunc node gets 2 new children to support extended call syntax -
"star_args" (for "*args") and "dstar_args" (for "**args")

compiler/pyassem.py
It appear that self.lnotab is supposed to be responsible for
tracking line numbers, but self.firstlineno was still hanging
around.  Removed self.firstlineno completely.  NOTE - I didnt
actually test that the generated code has the correct line numbers!!

Stack depth tracking appeared a little broken - the checks never
made it beyond the "self.patterns" check - thus, the custom methods
were never called!  Fixed this.

(XXX Jeremy notes: I think this code is still broken because it
doesn't track stack effects across block bounaries.)

Added support for the new extended call syntax opcodes for depth
calculations.

compiler/pycodegen.py

Added support for the new extended call syntax opcodes.

compiler/transformer.py

Added support for the new extended call syntax.
2000-05-02 22:32:59 +00:00
..
audiopy __pushtodev(): Ignore transient sunaudiodev.errors when setting the 2000-03-29 21:05:53 +00:00
bgen Jack Jansen: A few new types needed by new API calls. 2000-04-24 14:56:00 +00:00
compiler patches from Mark Hammond 2000-05-02 22:32:59 +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 Sjoerd Mullender: 2000-05-02 13:49:13 +00:00
i18n Added an unused Unicode string for testing. 2000-05-02 19:28:30 +00:00
idle Two more items. 2000-04-11 15:30:19 +00:00
modulator Comment out confusing write call. 1999-02-18 14:22:05 +00:00
pynche make_view_popups(): Catch import error which can occur if a viewer is 1999-07-06 22:00:52 +00:00
scripts Of course, I forget how to type long ago... 2000-03-17 16:56:23 +00:00
versioncheck Reindented without tabs and with uniform 4 space indent. 1998-04-06 14:20:27 +00:00
webchecker Patch inspired by Just van Rossum: on the Mac, in savefilename(), make 2000-04-25 21:13:24 +00:00
world Eugene Dvurechenski <jno@glas.net> says: 1999-05-26 04:02:18 +00:00
README Change the example of what's in scripts/. 1998-04-10 20:58:53 +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!

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.

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.