summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Minor performance nits.Fred Drake1998-02-102-32/+36
|
* Initial revisionBarry Warsaw1998-02-101-0/+90
|
* Include indfix.py script in lib.dvi's processing.Fred Drake1998-02-091-1/+2
|
* Script to fix up the Library Reference index so it's less ugly. The docstring:Fred Drake1998-02-092-0/+178
| | | | | | | | | | | | | | | | | | | | | | """Combine similar index entries into an entry and subentries. For example: \item {foobar} (in module flotz), 23 \item {foobar} (in module whackit), 4323 becomes \item {foobar} \subitem in module flotz, 23 \subitem in module whackit, 4323 Note that an item which matches the format of a collapsable item but which isn't part of a group of similar items is not modified. """ This results in a much more readable index, with less repitition of text; especially for common method names.
* Oops, missed a \POSIX{} in an index entry.Fred Drake1998-02-092-2/+2
|
* Add some index entries; switch to logical markup.Fred Drake1998-02-092-194/+200
|
* Consistently use \POSIX{} to denote POSIX. There were at least two differentFred Drake1998-02-0918-60/+60
| | | | ways to do it previously (not counting module names).
* Do the right magic to make \ABC{} get sorted correctly in the index.Fred Drake1998-02-092-2/+2
|
* Do the right magic to make \UNIX{} get sorted correctly in the index.Fred Drake1998-02-092-4/+4
|
* Use the new RFC macros wherever RFCs are referenced by number. No otherFred Drake1998-02-0924-58/+56
| | | | changes.
* Add macros to insert RFC references much like the \manpage{} macro. Also aFred Drake1998-02-091-1/+5
| | | | | | macro to insert an RFC index reference. (RFC references were formatted three different ways.)
* Add a note about rounding up of readlines()' sizehint to 8K.Guido van Rossum1998-02-082-2/+4
|
* Document getrefcount().Guido van Rossum1998-02-072-0/+12
|
* \itembreak, \itemjoin: Remove unused macros.Fred Drake1998-02-061-18/+17
| | | | | | | | | \idxcode{}: New macro; used to mark things that would be \code{} for entry into the index. This allows easily switching things around for the font used in the index. (O'Reilly seems to keep it all plain roman in the index. Looks reasonable in the Python documentation as well.) \*index{}: Use \idxcode{} instead of {\codefont{}}.
* Forgot to return NULL in joinfields() when a type error was detectedGuido van Rossum1998-02-061-1/+3
| | | | in one of the sequence items.
* Updated URL for zlib.Guido van Rossum1998-02-061-1/+2
|
* Register Tcl_Finalize as a Python exit handler.Guido van Rossum1998-02-061-1/+4
|
* Don't store the exception info from an unhandled exception in a threadGuido van Rossum1998-02-061-1/+1
| | | | | in sys.last_*; it prevents proper calling of destructors of local variables.
* Set Py_FrozenFlag, to suppress error messages from getpath.c.Guido van Rossum1998-02-061-0/+2
|
* - Use Py_GetPythonHome() instead of getenv("PYTHONHOME").Guido van Rossum1998-02-061-2/+4
| | | | - Don't print error messages when Py_FrozenFlag is set.
* - Add Py_GetPythonHome() and Py_SetPythonHome(), intended to allowGuido van Rossum1998-02-061-0/+4
| | | | | | | | embedders to force a different PYTHONHOME. - Add new interface PyErr_PrintEx(flag); same as PyErr_Print() but flag determines whether sys.last_* are set or not. PyErr_Print() now simply calls PyErr_PrintEx(1).
* - Add Py_FrozenFlag, intended to suppress error messages fronGuido van Rossum1998-02-061-0/+1
| | | | getpath.c in frozen binaries.
* Ehm, three unrelated changes.Guido van Rossum1998-02-061-3/+31
| | | | | | | | | | | | - Add Py_FrozenFlag, intended to suppress error messages fron getpath.c in frozen binaries. - Add Py_GetPythonHome() and Py_SetPythonHome(), intended to allow embedders to force a different PYTHONHOME. - Add new interface PyErr_PrintEx(flag); same as PyErr_Print() but flag determines whether sys.last_* are set or not. PyErr_Print() now simply calls PyErr_PrintEx(1).
* Remove commented-out \itembreak.Fred Drake1998-02-062-2/+0
|
* Update two of the \indexsubitem values to use singular rather than plural formFred Drake1998-02-062-4/+4
| | | | | of "variable": each individual variable should be identified as a single variable and not a collection in the index.
* Added rmtree(), to recursively remove a directory tree.Guido van Rossum1998-02-061-0/+32
| | | | Code by David Ascher (docstring by me).
* Two more refinements of the cleanup process.Guido van Rossum1998-02-061-3/+52
| | | | | | | | | | | | (1) Explicitly clear __builtin__._ and sys.{last,exc}_* before clearing anything else. These are common places where user values hide and people complain when their destructors fail. Since the modules containing them are deleted *last* of all, they would come too late in the normal destruction order. Sigh. (2) Add some debugging aid to cleanup (after a suggestion by Marc Lemburg) -- print the names of the modules being cleaned, and (when -vv is used) print the names of the variables being cleared.
* (py-scroll-process-buffer): Default value changed to nil to act moreBarry Warsaw1998-02-061-1/+1
| | | | like default shell-mode behavior.
* Add ref to errno module, and change ref to posix.error to os.error.Guido van Rossum1998-02-062-2/+6
|
* Add ref to errno module.Guido van Rossum1998-02-062-0/+4
|
* (py-parse-state): When looking for landing inside triple-quotedBarry Warsaw1998-02-051-1/+1
| | | | | | string, don't check for indentation at column zero. This will falsely hit a line inside a docstring that starts at column zero but ends in a colon.
* (py-python-command-args): New variable, allows user to customize theBarry Warsaw1998-02-051-1/+6
| | | | arguments past to py-python-command when invoking the Python shell.
* Retract the statement that all functions called by Python (even methodGuido van Rossum1998-02-052-8/+6
| | | | | defs) need to be declared extern "C" -- it seems to have no basis in truth (any more?).
* Two suggested features by Sjoerd:Guido van Rossum1998-02-051-6/+7
| | | | | | - use the tempcache in the open() method, too. - use the "unwrap"ped url as key for the tempcache.
* (1) Use matchobj.groups(), not matchbj.group() to get all groups.Guido van Rossum1998-02-051-4/+8
| | | | | (2) Provisional hack to avoid dying when trying to turn echo on or off on Macs, where os.system() doesn't exist.
* Fixed bitmaps; added include files and libs;Guido van Rossum1998-02-051-19/+37
| | | | | moved DLLs into their own directory (and added it to default path); install zlib.dll in SYS32; fixed location of help root.
* Add *.pdf files to the clobber target (same target as *.ps).Fred Drake1998-02-041-1/+1
|
* Tell CVS to ignore PDF files.Fred Drake1998-02-041-0/+1
|
* Added description of "D" format for PyArg_ParseTuple(), including exampleFred Drake1998-02-042-6/+172
| | | | | | | use with function name provided as well. Wrapped up PyArg_ParseTupleAndKeywords() description and provided example based on Geoff Philbrick's example to the mailing list.
* Use implicit rules to perform DVI->PS and PS->PDF conversions. PDF conversionFred Drake1998-02-041-12/+11
| | | | | requires "distill" from a FrameMaker installation. ;-) Would probably need to be different for Windows/Mac.
* \modindex{}: New macro; index module without declaring it "built-in" orFred Drake1998-02-041-0/+1
| | | | | "standard". This is mostly for documentation of modules outside the standard library.
* Added missing "{" for "\code <?stuff?>}".Fred Drake1998-02-032-2/+2
|
* Fix typo in format for strftime() used by cookie code.Guido van Rossum1998-02-021-1/+1
|
* Clarify that capwords() removes leading/trailing whitespace.Guido van Rossum1998-02-022-10/+2
| | | | Remove references to regsub, which is obsolescent.
* Moved toplevel widget to PyncheWidget.pyBarry Warsaw1998-01-311-1/+92
|
* Initial revisionBarry Warsaw1998-01-311-0/+51
|
* BadColor: new exception classBarry Warsaw1998-01-311-3/+43
| | | | rrggbb_to_triplet(): New utility function
* Better implementation of nearest(). Not faster, but betterBarry Warsaw1998-01-311-1/+2
|
* Initial revisionBarry Warsaw1998-01-311-0/+151
|
* mered Greg's suggestions, added docstringBarry Warsaw1998-01-301-18/+26
|