- 07 Jul, 2002 3 commits
-
-
Jeremy Hylton authored
If multiple header fields with the same name occur, they are combined according to the rules in RFC 2616 sec 4.2: Appending each subsequent field-value to the first, each separated by a comma. The order in which header fields with the same field-name are received is significant to the interpretation of the combined field value.
-
Tim Peters authored
mechanism is no longer evil: it no longer plays dangerous games with the type pointer or refcounts, and objects in extension modules can play along too without needing to edit the core first. Rewrote all the comments to explain this, and (I hope) give clear guidance to extension authors who do want to play along. Documented all the functions. Added more asserts (it may no longer be evil, but it's still dangerous <0.9 wink>). Rearranged the generated code to make it clearer, and to tolerate either the presence or absence of a semicolon after the macros. Rewrote _PyTrash_destroy_chain() to call tp_dealloc directly; it was doing a Py_DECREF again, and that has all sorts of obscure distorting effects in non-release builds (Py_DECREF was already called on the object!). Removed Christian's little "embedded change log" comments -- that's what checkin messages are for, and since it was impossible to correlate the comments with the code that changed, I found them merely distracting.
-
Tim Peters authored
+ I'm not sure what to do about configure.in. Left it alone. + Ditto pyexpat.c. Fred or Martin will know what to do.
-
- 06 Jul, 2002 6 commits
-
-
Jeremy Hylton authored
Subclasses of Exception that define an __init__ must call Exception.__init__ or define self.args. Otherwise, str() will fail. Bug fix candidate.
-
Jeremy Hylton authored
Section 19.6 of RFC 2616 (HTTP/1.1): It is beyond the scope of a protocol specification to mandate compliance with previous versions. HTTP/1.1 was deliberately designed, however, to make supporting previous versions easy.... And we would expect HTTP/1.1 clients to: - recognize the format of the Status-Line for HTTP/1.0 and 1.1 responses; - understand any valid response in the format of HTTP/0.9, 1.0, or 1.1. The changes to the code do handle response in the format of HTTP/0.9. Some users may consider this a bug because all responses with a sufficiently corrupted status line will look like an HTTP/0.9 response. These users can pass strict=1 to the HTTP constructors to get a BadStatusLine exception instead. While this is a new feature of sorts, it enhances the robustness of the code (be tolerant in what you accept). Thus, I consider it a bug fix candidate. XXX strict needs to be documented.
-
Kurt B. Kaiser authored
from both sides of the split debugger. M Debugger.py M EditorWindow.py
-
Kurt B. Kaiser authored
-
Kurt B. Kaiser authored
-
Kurt B. Kaiser authored
2. Remove extraneous comment
-
- 05 Jul, 2002 1 commit
-
-
unknown authored
M Debugger.py : Incorporate StackViewer, NamespaceViewer classes M StackViewer.py : remove import OldStackViewer U OldStackViewer.py : remove file
-
- 04 Jul, 2002 4 commits
-
-
Tim Peters authored
-
Michael W. Hudson authored
-
Greg Ward authored
standalone wrap() and fill() functions. This should address the misunderstanding that led to SF bug 577106.
-
Thomas Heller authored
-
- 03 Jul, 2002 7 commits
-
-
Steve Holden authored
-
Fred Drake authored
have changed. Uncomment a heading so that PendingDeprecationWarning doesn't seem so out of place.
-
Fred Drake authored
Further clarify the English-centricity of fix_sentence_endings.
-
Barry Warsaw authored
-
Kurt B. Kaiser authored
implementation.
-
Tim Peters authored
breaks other platforms (in this case, the hack for broken Cray systems in turn caused failure on a Mac system broken in a different way).
-
Mark Hammond authored
From patch: [ 574532 ] Update freeze to use zlib 1.1.4
-
- 02 Jul, 2002 19 commits
-
-
Fred Drake authored
attributes of the TestResult.
-
Fred Drake authored
TestResult object. Add an example of how to get even more information for apps that can use it. Closes SF bug #558278.
-
Tim Peters authored
binascii_crc32(): The previous patch forced this to return the same result across platforms. This patch deals with that, on a 64-bit box, the *entry* value may have "unexpected" bits in the high four bytes. Bugfix candidate.
-
Tim Peters authored
-
Greg Ward authored
classdesc -- just use "..." with prose explaining the correspondence between keyword args and instance attributes. Document 'width' along with the other instance attributes. Describe default values consistently. Typo fixes.
-
Fred Drake authored
don't include a " -> None" for functions that have no return value.
-
Fred Drake authored
Based on SF bug #574773.
-
Fred Drake authored
Change the markup to be more like the rest of the documentation.
-
Fred Drake authored
\py@sigline macro will wrap the argument list so it will not extend into the right margin. Substantially based on a contribution from Dave Cole. This addresses one of the comments in SF bug #574742.
-
Tim Peters authored
binascii_crc32(): Make this return a signed 4-byte result across platforms. The other way to make this platform-independent would be to make it return an unsigned unbounded int, but the evidence suggests other code out there treats it like a signed 4-byte int (e.g., existing code writing the result with struct.pack "l" format). Bugfix candidate.
-
Jeremy Hylton authored
-
Jeremy Hylton authored
-
Tim Peters authored
This was mostly a matter of adding comments and light code rearrangement. Upon untracking, gc_next is still set to NULL. It's a cheap way to provoke memory faults if calling code is insane. It's also used in some way by the trashcan mechanism.
-
Fred Drake authored
-
Fred Drake authored
line.
-
Fred Drake authored
PyErr_SetFromWindowsErrWithFilename().
-
Thomas Heller authored
PyErr_SetFromWindowsErr(). Fixes SF# 576016, with additional markup.
-
Fred Drake authored
it all inline.
-
Jack Jansen authored
-