- 19 Apr, 2001 4 commits
-
-
Tim Peters authored
-
Jeremy Hylton authored
-
Fred Drake authored
Weak*Dictionary.update(): No longer create a temporary list to hold the things that will be stuffed into the underlying dictionary. This had been done so that if any of the objects used as the weakly-held value was not weakly-referencable, no updates would take place (TypeError would be raised). With this change, TypeError will still be raised but a partial update could occur. This is more like other .update() implementations. Thoughout, use of the name "ref" as a local variable has been removed. The original use of the name occurred when the function to create a weak reference was called "new"; the overloaded use of the name could be confusing for someone reading the code. "ref" used as a variable name has been replaced with "wr" (for 'weak reference').
-
Fred Drake authored
used to be omitted (meaning use the current time) as of Python 2.1. Users who need cross-version portability need to know things like this.
-
- 18 Apr, 2001 23 commits
-
-
Tim Peters authored
installations.
-
Fred Drake authored
*DE*compression objects, not compression objects!
-
Fred Drake authored
support.
-
Fred Drake authored
module has been included since Python 2.0, and that is the preferred interface.
-
Fred Drake authored
introducing a new term ("regex") without defining it.
-
Martin v. Löwis authored
-
Fred Drake authored
(Note that the docs are also being maintained on the 2.1.1 maintenance branch, so users interested only in corrections and clarifications can get that.)
-
Fred Drake authored
\versionadded macro. Note: this should not be merged into the 2.1 maintenance branch.
-
Fred Drake authored
all reported by Bruce Smith.
-
Fred Drake authored
(Note that the docs are also being maintained on the 2.1.1 maintenance branch, so users interested only in corrections and clarifications can get that.)
-
Guido van Rossum authored
-
Guido van Rossum authored
it's 2.2 before the first alpha release.
-
Barry Warsaw authored
PyChecker.
-
Barry Warsaw authored
-
Barry Warsaw authored
variables reported by PyChecker. __togglegentype(): PyChecker accurately reported that the variable __gentypevar was unused -- actually this whole method is currently unused so comment it out.
-
Barry Warsaw authored
reported by PyChecker.
-
Barry Warsaw authored
-
Barry Warsaw authored
this tool was last touched! Update some of the introductory material and bump the version to 1.1.
-
Fred Drake authored
bite people interested in 1.5.2 compatibility.
-
Fred Drake authored
macro. Refactored do_cmd_versionadded() and do_cmd_versionchanged() to do most of the work in a helper function, with the do_cmd_*() wrappers just supplying a portion of the replacement text.
-
Fred Drake authored
the versioning information, similar to \versionchanged.
-
Jeremy Hylton authored
The changes cause compilation failures in any file in the Python installation lib directory to cause the install to fail. It looks like compileall.py intended to behave this way, but a change to py_compile.py and a separate bug defeated it. Fixes SF bug #412436 This change affects the test suite, which contains several files that contain intentional errors. The solution is to extend compileall.py with the ability to skip compilation of selected files. NB compileall.py is changed so that compile_dir() returns success only if all recursive calls to compile_dir() also check success.
-
Jeremy Hylton authored
The changes cause compilation failures in any file in the Python installation lib directory to cause the install to fail. It looks like compileall.py intended to behave this way, but a change to py_compile.py and a separate bug defeated it. Fixes SF bug #412436 This change affects the test suite, which contains several files that contain intentional errors. The solution is to extend compileall.py with the ability to skip compilation of selected files. In the test suite, rename nocaret.py and test_future[3..7].py to start with badsyntax_nocaret.py and badsyntax_future[3..7].py. Update the makefile to skip compilation of these files. Update the tests to use the name names for imports. NB compileall.py is changed so that compile_dir() returns success only if all recursive calls to compile_dir() also check success.
-
- 17 Apr, 2001 1 commit
-
-
Eric S. Raymond authored
-
- 16 Apr, 2001 12 commits
-
-
cvs2svn authored
-
Guido van Rossum authored
Hopefully this is the last checkin for 2.1!
-
Jeremy Hylton authored
Import OPT_ symbols from _symtable. Define has_exec() and has_import_star().
-
Jeremy Hylton authored
-
Tim Peters authored
-
Guido van Rossum authored
file was deleted by a previous call to the visitor function. This used to be the behavior in 1.5.2 and before, but a patch to avoid making two stat() calls accidentally broke this in 2.0. Moshe, this would be a good one for 2.0.1 too!
-
Guido van Rossum authored
-
Fred Drake authored
recently reported bug; also exposed some other bugs in the implementation.
-
Fred Drake authored
parameter. Weak*Dictionary.get(): Make the second parameter optional. WeakKeyDictionary.has_key(), .keys(): Make these actually work!
-
Guido van Rossum authored
its first return statement returns a single value while its caller always expects it to return a tuple of two items. Fix this by returning (s, 0) instead. This won't make the locale test on Irix succeed, but now it will fail because of a bug in the platform's en_US locale rather than because of a bug in the locale module.
-
Andrew M. Kuchling authored
-
cvs2svn authored
-