Staging
v0.5.1
https://github.com/python/cpython
Revision 5477f529d6f3b25e51ac6b321a6fe7b28fafe1f4 authored by Jeremy Hylton on 29 August 2001, 18:08:02 UTC, committed by Jeremy Hylton on 29 August 2001, 18:08:02 UTC
Add support for floor division (// and //=)

The implementation of getChildren() and getChildNodes() is intended to
be faster, because it avoids calling flatten() on every return value.
But it's not clear that it is a lot faster, because constructing a
tuple with just the right values ends up being slow.  (Too many
attribute lookups probably.)

The ast.txt file is much more complicated, with funny characters at
the ends of names (*, &, !) to indicate the types of each child node.

The astgen script is also much more complex, making me wonder if it's
still useful.
1 parent 96d68d5
Raw File
Tip revision: 5477f529d6f3b25e51ac6b321a6fe7b28fafe1f4 authored by Jeremy Hylton on 29 August 2001, 18:08:02 UTC
Revise implementations of getChildren() and getChildNodes().
Tip revision: 5477f52
README
This directory contains a number of Python programs that are useful
while building or extending Python.

audiopy		Audiopy is a program to control the Solaris audio
		device, allowing you to choose both the input and
		output devices, and to set the output volume, that can
		be run either as a command-line script, or as a
		Tkinter application.

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://www.python.org/cgi-bin/faqw.py
		for a live example.

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

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.

idle		A Tkinter-based Python IDE.

modulator	Interactively generate boiler plate for an extension
		module.	 Works easiest if you have Tk.

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.

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.

world		Script to take a list of Internet addresses and print
		out where in the world those addresses originate from,
		based on the top-level domain country code found in
		the address. 
back to top