cpython/Misc
Barry Warsaw a0ee8cd982 Added comment about where to find details on python-mode.el, pointing
to the Web site.

(py-defun-start-re, py-class-start-re): Changed to defconst.

(py-traceback-line-re): Regular expression describing what traceback
lines look like.

(py-point): New defsubst copied from CC Mode.

(py-highlight-line): Function which does the work of making a
traceback line mouseable.  This only works on XEmacs.  Someone familar
with Emacs text properties and such will have to do that port.

(py-mode-map): Added C-c- bound to py-up-exception and C-c= bound to
py-down-exception.  Also, more concise form for mapcar.

(py-mode-output-map): New keymap for the *Python Output* buffer which
only has keybindings for py-mouseto-exception and py-goto-exception.
All other self-insert-command's are bound to beep.  This is actually
bogus because the buffer should really be made read-only and the
functions that insert in that buffer should bind inhibit-read-only.
Also, this map should be bound to highlighted extents in a *Python*
shell buffer, but this stuff hasn't been migrated into there.

(py-postprocess-output-buffer): New function which extentifies the
*Python Output* buffer.  The bogosities are that this only runs when
the synchronous process in the buffer is finished (so it doesn't work
for async procs), and it should also be merged into py-process-filter
so the *Python* shell gets mouseable too.

(py-shell): Added C-c- and C-c= to the comint buffer's keymap.  The
bogosity is that py-goto-exception should also be bound, but it cannot
be bound to C-cC-c (since that interferes with
comint-interrupt-subjob's typical binding).  Also, traceback lines
aren't mouseable in this buffer.

(py-execute-region): Support for traceback jumping.  This really is
quite a kludge, but necessary based on the way all this stuff works.
There's bound to be broken interactions here.

(py-jump-to-exception, py-mouseto-exception, py-goto-exception,
py-find-next-exception, py-down-exception, py-up-exception): All new
commands and functions to implement traceback jumping.

(py-compute-indentation): Hope this change doesn't get lost in all the
noise above!!!!  This fixes broken non-indentation of a line when TAB
is hit inside a string that isn't a multi-line string.
1997-11-26 01:04:44 +00:00
..
ACKS New names... 1997-11-24 17:50:47 +00:00
AIX-NOTES New version of Vladimir Marangozov's AIX hacks -- simpler etc. 1997-08-06 23:42:07 +00:00
BLURB Drop Capitalized Important Words. 1997-11-25 15:40:06 +00:00
BLURB.LUTZ Initial revision 1994-01-26 10:20:16 +00:00
BLURB.WINDOWS A nice blurb that Mark Hammond wrote, aimed at Windows users. 1997-11-05 17:15:02 +00:00
ccpy-style.el (python-cc-style): Added definitions for c-hanging-braces-alist which 1996-12-20 16:43:32 +00:00
cheatsheet Very useful file! 1994-08-05 15:57:31 +00:00
comparisons A comparison with several other languages that also appears in the 1997-11-20 21:15:28 +00:00
COPYRIGHT CNRI additions, approved by the boss and his wife :-) 1996-10-25 13:45:43 +00:00
editline-fix Added editline fix 1996-09-12 17:29:33 +00:00
faq2html.py /usr/local/bin/python -> /usr/bin/env python 1996-11-27 19:52:01 +00:00
Fixcprt.py /usr/local/bin/python -> /usr/bin/env python 1996-11-27 19:52:01 +00:00
fixfuncptrs.sh Initial revision 1994-01-26 10:20:16 +00:00
gMakefile Fix syntax of commented-out variables 1996-11-06 16:39:12 +00:00
HISTORY Moved the 1.4 NEWS file here (it had to happen someday...). 1997-05-23 04:05:31 +00:00
HPUX-NOTES Added note about libpython1.5.a. 1997-07-19 20:44:33 +00:00
HYPE Initial revision 1994-04-14 13:02:35 +00:00
indent.pro Some new files... 1994-09-14 14:06:46 +00:00
Makefile Initial revision 1994-01-26 10:20:16 +00:00
Makefile.pre.in Don Beaudry's changes to support SGI_ABI on Irix 6.x. 1997-10-09 20:24:13 +00:00
NEWS Final touch -- Don's SGI_ABI patches. 1997-10-09 23:32:24 +00:00
NEXT-NOTES PS: use -O2, not -O3 1996-09-06 23:31:18 +00:00
PURIFY.README Updated for Python 1.5, including my experiences with Purify on 1997-10-07 15:50:58 +00:00
python-mode.el Added comment about where to find details on python-mode.el, pointing 1997-11-26 01:04:44 +00:00
python.gif Initial revision 1994-01-26 10:20:16 +00:00
python.man Brought up to date with new options and env vars. 1997-09-08 04:06:15 +00:00
README Added vgrindefs. 1997-11-07 19:58:10 +00:00
RENAME Oops, another forgotten renaming: varobject -> PyVarObject. 1997-05-15 21:31:03 +00:00
renumber.py /usr/local/bin/python -> /usr/bin/env python 1996-11-27 19:52:01 +00:00
RFD Initial revision 1994-01-26 10:20:16 +00:00
setuid-prog.c Zap all env vars beginning with PYTHON to prevent an obvious form of attack. 1997-03-11 18:24:21 +00:00
vgrindefs New version from Neale... He promised it's the last. 1997-11-11 16:36:14 +00:00

Python Misc subdirectory
========================

This directory contains files that wouldn't fit in elsewhere, in
particular the UNIX manual page, an Emacs mode for Python source code,
and a list of Frequently Asked Questions (and their answers).  Some
documents are only of historic importance.

Files found here
----------------

ACKS		Acknowledgements
AIX-NOTES	Notes for building Python on AIX (all new!)
BLURB		A quick description of Python for newcomers
BLURB.LUTZ	A testimonial from a converted Tcl/Perl hacker :-)
COPYRIGHT	The Python copyright notice
FAQ		(deleted -- see http://www.python.org for the online FAQ)
Fixcprt.py	Fix the copyright message (a yearly chore :-)
HISTORY		News from previous releases -- oldest last
HPUX-NOTES	Notes about dynamic loading under HP-UX
HYPE		More hype about Python
Makefile	Used for administrative chores like cleaning up
Makefile.pre.in	Template for building extensions (static or dynamic)
NEWS		News for this release
README		The file you're reading now
RFD		Request For Discussion about a Python newsgroup
cheatsheet	Quick summary of Python by Ken Manheimer
editline-fix	A news article on how to fix R$'s editline for Python
fixfuncptrs.sh	Shell script to fix function pointer initializers
gMakefile	Generic Makefile for dynamically loadable modules
indent.pro	GNU indent profile approximating my C style
python-mode.el	Emacs mode for editing Python programs
python.man	UNIX man page for the python interpreter
renumber.py	Script to renumber the sections in the FAQ
setuid-prog.c	C helper program for set-uid Python scripts
vgrindefs	Python configuration for vgrind (a generic pretty printer)