- 06 Feb, 1998 6 commits
-
-
Fred Drake authored
of "variable": each individual variable should be identified as a single variable and not a collection in the index.
-
Guido van Rossum authored
Code by David Ascher (docstring by me).
-
Guido van Rossum authored
(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.
-
Barry Warsaw authored
like default shell-mode behavior.
-
Guido van Rossum authored
-
Guido van Rossum authored
-
- 05 Feb, 1998 6 commits
-
-
Barry Warsaw authored
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.
-
Barry Warsaw authored
arguments past to py-python-command when invoking the Python shell.
-
Guido van Rossum authored
defs) need to be declared extern "C" -- it seems to have no basis in truth (any more?).
-
Guido van Rossum authored
- use the tempcache in the open() method, too. - use the "unwrap"ped url as key for the tempcache.
-
Guido van Rossum authored
(2) Provisional hack to avoid dying when trying to turn echo on or off on Macs, where os.system() doesn't exist.
-
Guido van Rossum authored
moved DLLs into their own directory (and added it to default path); install zlib.dll in SYS32; fixed location of help root.
-
- 04 Feb, 1998 5 commits
-
-
Fred Drake authored
-
Fred Drake authored
-
Fred Drake authored
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.
-
Fred Drake authored
requires "distill" from a FrameMaker installation. ;-) Would probably need to be different for Windows/Mac.
-
Fred Drake authored
"standard". This is mostly for documentation of modules outside the standard library.
-
- 03 Feb, 1998 1 commit
-
-
Fred Drake authored
-
- 02 Feb, 1998 2 commits
-
-
Guido van Rossum authored
-
Guido van Rossum authored
Remove references to regsub, which is obsolescent.
-
- 31 Jan, 1998 5 commits
-
-
Barry Warsaw authored
-
Barry Warsaw authored
-
Barry Warsaw authored
rrggbb_to_triplet(): New utility function
-
Barry Warsaw authored
-
Barry Warsaw authored
-
- 30 Jan, 1998 1 commit
-
-
Barry Warsaw authored
-
- 29 Jan, 1998 7 commits
-
-
Barry Warsaw authored
-
Guido van Rossum authored
-
Guido van Rossum authored
from regrtest.py (it still works there too, of course).
-
Guido van Rossum authored
Ok, I fixed the quotes, along with a bug or two. Also added another exception.
-
Guido van Rossum authored
-
Guido van Rossum authored
The main incompatibility is that the error reporting method is now called as parser.syntax_error(msg) instead of parser.syntax_error(lineno, msg) This new version also has some code to deal with the <?xml?> and <!DOCTYPE> tags at the start of an XML document. The documentation has been updated, and a small test module has been created.
-
Guido van Rossum authored
-
- 28 Jan, 1998 2 commits
-
-
Guido van Rossum authored
-
Fred Drake authored
-
- 27 Jan, 1998 3 commits
-
-
Guido van Rossum authored
Here's my suggested replacement for gzip.py for 1.5.1. I've re-implemeted methods readline and readlines, added an _unread, and tweaked read and _read. I tried a more complicated buffer scheme for unread (using a list of strings and string.join), but it was more complicated and slower. This version is a lot faster than the current version and is still pretty simple.
-
Guido van Rossum authored
number is the same as multiplying it with zero, and yields an empty sequence.
-
Barry Warsaw authored
-
- 26 Jan, 1998 2 commits
-
-
Barry Warsaw authored
Fixed problems when unpickling in restricted execution environments. These methods try to assign to an instance's __class__ attribute, or access the instances __dict__, which are prohibited in REE. For the first two methods, I re-implemented the old behavior when assignment to value.__class__ fails. For the load_build() I also re-implemented the old behavior when inst.__dict__.update() fails but this means that unpickling in REE is semantically different than unpickling in unrestricted mode.
-
Barry Warsaw authored
a copy of the defaults dictionary and merges the section's dictionary into it so that sections can override the defaults.
-