- 28 Sep, 2001 6 commits
-
-
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 17 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.
-
Tim Peters authored
here means it has no more than one base class to rummage through (in which cases there's no potential confusion about resolution order).
-
Fred Drake authored
probably *should* be doing.
-
Tim Peters authored
-
Jeremy Hylton authored
Add raise_exception() to the _testcapi module. It isn't a test, but the C API exists only to support test_exceptions. raise_exception() takes two arguments -- an exception class and an integer specifying how many arguments it should be called with. test_exceptions uses BadException() to test the interpreter's behavior when there is a problem instantiating the exception. test_capi1() calls it with too many arguments. test_capi2() causes an exception to be raised in the Python code of the constructor.
-
Jeremy Hylton authored
If a new exception occurs while an exception instance is being created, try harder to make sure there is a traceback. If the original exception had a traceback associated with it and the new exception does not, keep the old exception. Of course, callers to PyErr_NormalizeException() must still be prepared to have tb set to NULL. XXX This isn't an ideal solution, but it's better than no traceback at all. It occurs if, for example, the exception occurs when the call to the constructor fails before any Python code is executed. Guido suggests that it there is Python code that was about to be executed -- but wasn't, say, because it was called with the wrong number of arguments -- then we should point at the first line of the code object anyway.
-
Jeremy Hylton authored
-
Jeremy Hylton authored
It's possible for PyErr_NormalizeException() to set the traceback pointer to NULL. I'm not sure how to provoke this directly from Python, although it may be possible. The error occurs when an exception is set using PyErr_SetObject() and another exception occurs while PyErr_NormalizeException() is creating the exception instance. XXX As a result of this change, it's possible for an exception to occur but sys.last_traceback to be left undefined. Not sure if this is a problem.
-
Fred Drake authored
In both the HTML and typeset versions of the documentation, add a colon after the name of a mail header so that it is more easily distinguished from other text.
-
Fred Drake authored
when using the \mailheader markup. Change a couple of inline examples to show the markup rather than the result.
-
Greg Ward authored
-
Fred Drake authored
Clarify the \mimetype description; it can be used to refer to a part of a MIME type name, so \mimetype{text} or \mimetype{plain} can be used, not just \mimetype{text/plain}.
-
Fred Drake authored
this before we finish the integration, along with some restructuring.
-
Thomas Wouters authored
a better place. Excessively fragile code, but at least it breaks when something in this area changes!
-
Barry Warsaw authored
added some new tests of message/delivery-status content type messages.
-