- 28 Sep, 2001 20 commits
-
-
Fred Drake authored
Clean up a little; do not create an alias that is only used once, or store attributes with constant values in an instance.
-
Fred Drake authored
-
Tim Peters authored
error-reporting for the classic compare-expected-output tests. Curiously, the bug consisted of not simplifying the logic enough!
-
Fred Drake authored
-
Guido van Rossum authored
#424002. Refactor init_path_from_argv0() and rename to copy_absolute(); add absolutize() which does the same in-place. Clean up whitespace (leading tabs -> spaces, delete trailing spaces/tabs).
-
Fred Drake authored
depending on the cycle detector code in the library implementation. This is a *slightly* different patch than SF patch #417795, but takes the same approach. (This version avoids calling the __len__() method of the dict in the remove() functions.) This closes SF patch #417795.
-
Guido van Rossum authored
-
Guido van Rossum authored
rigmarole of __reduce__.
-
Guido van Rossum authored
fallback for objects that are neither supported by our dispatch table nor have a __copy__ or __deepcopy__ method. Changes to _reduce() in copy_reg.py to support reducing objects that don't have a __dict__ -- copy.copy(complex()) now invokes _reduce(). Add tests for copy.copy() and copy.deepcopy() to test_regrtest.py.
-
Fred Drake authored
-
Barry Warsaw authored
PY_VERSION => "2.2a4+"
-
Fred Drake authored
For the real document element, make sure the prolog is migrated into the document element so it isn't left stranded. Make fixup_trailing_whitespace() whitespace do what was really intended. Add the *desc environments used in the C API manual to the list of things that can exist at the paragraph level so they don't get wrapped in <para>...</para>.
-
Barry Warsaw authored
-
Fred Drake authored
-
Fred Drake authored
(string.join() lives!)
-
Fred Drake authored
This fixes SF bug #465447.
-
Fred Drake authored
if it does not already end with a newline. This fixes SF bug #463330.
-
Guido van Rossum authored
Apply patch from "china@thewrittenword.com" to put the correct location for ld_so_aix in BLDSHARED.
-
Barry Warsaw authored
-
Fred Drake authored
subclassing list to add the length and item() attributes.
-
- 27 Sep, 2001 17 commits
-
-
Guido van Rossum authored
-
Fred Drake authored
-
Fred Drake authored
-
Fred Drake authored
(Migrate to branch, along with new files compiler.tex and asttable.tex.)
-
Fred Drake authored
Changes made to make it work in the new location.
-
Fred Drake authored
whether or not a link will be generated will depend on the link database. Add a couple of explanatory comments for one of the stranger constructs (giving input an empty name).
-
Fred Drake authored
-
Fred Drake authored
This should fix a bug in how time is allocated during exception propogation (esp. in the presence of finally clauses).
-
Tim Peters authored
-
Fred Drake authored
of something ad-hoc.
-
Marc-André Lemburg authored
-
Fred Drake authored
Fixed a typo in a comment.
-
Andrew M. Kuchling authored
-
Fred Drake authored
-
Fred Drake authored
used with text as was done here. Fixed so that the typeset version wraps the warning text and the HTML version does not create images of the warning text.
-
Tim Peters authored
getting displayed, due to a special case here whose purpose I didn't understand. So just disabled the doc suppression here. Another special case here skips the docs when picking apart a method and finding that the im_func is also in the class __dict__ under the same name. That one I understood. It has a curious consequence, though, wrt inherited properties: a static class copies inherited stuff into the inheriting class's dict, and that affects whether or not this special case triggers. The upshoot is that pydoc doesn't show the function docstrings of getter/setter/deleter functions of inherited properties in the property section when the class is static, but does when the class is dynamic (bring up Lib/test/pydocfodder.py under GUI pydoc to see this).
-
Tim Peters authored
order of defining class's name.
-
- 26 Sep, 2001 3 commits
-
-
Tim Peters authored
Python since 1.5 (virtually everything I changed over the last week relies on "modern" features, particularly nested scopes).
-
Fred Drake authored
-
Barry Warsaw authored
organization.
-