cpython/Tools
Guido van Rossum bbaba85402 Tim Peters again:
The new version (attached) is fast enough all the time in every real module
I have <whew!>.  You can make it slow by, e.g., creating an open list with
5,000 90-character identifiers (+ trailing comma) each on its own line, then
adding an item to the end -- but that still consumes less than a second on
my P5-166.  Response time in real code appears instantaneous.

Fixed some bugs.

New feature:  when hitting ENTER and the cursor is beyond the line's leading
indentation, whitespace is removed on both sides of the cursor; before
whitespace was removed only on the left; e.g., assuming the cursor is
between the comma and the space:

def something(arg1, arg2):
                   ^ cursor to the left of here, and hit ENTER
               arg2):   # new line used to end up here
              arg2):    # but now lines up the way you expect

New hack:  AutoIndent has grown a context_use_ps1 Boolean config option,
defaulting to 0 (false) and set to 1 (only) by PyShell.  Reason:  handling
the fancy stuff requires looking backward for a parsing synch point; ps1
lines are the only sensible thing to look for in a shell window, but are a
bad thing to look for in a file window (ps1 lines show up in my module
docstrings often).  PythonWin's shell should set this true too.

Persistent problem:  strings containing def/class can still screw things up
completely.  No improvement.  Simplest workaround is on the user's head, and
consists of inserting e.g.

def _(): pass

(or any other def/class) after the end of the multiline string that's
screwing them up.  This is especially irksome because IDLE's syntax coloring
is *not* confused, so when this happens the colors don't match the
indentation behavior they see.
1999-06-01 19:55:34 +00:00
..
audiopy updates for latest release 1999-05-01 16:27:23 +00:00
bgen New mixin class that defines cmp and hash that use 1999-03-15 16:37:54 +00:00
faqwiz Provide more detail when the commit button is not shown. 1998-12-23 21:33:09 +00:00
freeze Bug submitted by Wayne Knowles, who writes: 1999-03-12 22:07:05 +00:00
idle Tim Peters again: 1999-06-01 19:55:34 +00:00
modulator Comment out confusing write call. 1999-02-18 14:22:05 +00:00
pynche Use the much nicer tkFileDialog for loading color name database files 1999-04-27 19:51:55 +00:00
scripts Use re instead of regex. 1999-04-09 14:56:35 +00:00
versioncheck Reindented without tabs and with uniform 4 space indent. 1998-04-06 14:20:27 +00:00
webchecker Some changes (maybe not enough?) to make it work on Windows with local 1999-04-26 23:11:46 +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

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.