- 10 Jul, 2002 7 commits
-
-
Tim Peters authored
"special builds" I ever use. If you use others, document them here, or don't be surprised if I rip out the code for them <0.5 wink>.
-
Fred Drake authored
Closes SF bug #578308.
-
Tim Peters authored
-
Tim Peters authored
-
Tim Peters authored
that their uses can be prettier. I've come to despise the names I picked for these things, though, and expect to change all of them -- I changed a bunch of other files to use them (replacing #ifdef blocks), but the names were so obscure out of context that I backed that all out again.
-
Mark Hammond authored
-
Tim Peters authored
test_others(): httplib failed in two new ways. Blame Thumb Boy <wink>.
-
- 09 Jul, 2002 22 commits
-
-
Jeremy Hylton authored
The recent SSL changes resulted in important, but subtle changes to close() semantics. Since builtin socket makefile() is not called for SSL connections, we don't get separately closeable fds for connection and response. Comments in the code explain how to restore makefile semantics. Bug fix candidate.
-
Tim Peters authored
-
Tim Peters authored
-
Tim Peters authored
-
Guido van Rossum authored
-
Tim Peters authored
Incomplete. Add to it! Once it settles down, it would make a nice appendix in the real docs.
-
Tim Peters authored
Py_TRACE_REFS build, but wasn't referenced.
-
Barry Warsaw authored
.splitlines() on them, since they may be Header instances. test_multilingual(), test_header_ctor_default_args(): New tests of make_header() and that Header can take all default arguments.
-
Barry Warsaw authored
create a Header instance. Closes feature request #539481. Header.__init__(): Allow the initial string to be omitted. __eq__(), __ne__(): Support rich comparisons for equality of Header instances withy Header instances or strings. Also, update a bunch of docstrings.
-
Thomas Heller authored
-
Fred Drake authored
Closes SF bug #513666.
-
Fred Drake authored
-
Tim Peters authored
more trivial lexical helper macros so that uses of these guys expand to nothing at all when they're not enabled. This should help sub- standard compilers that can't do a good job of optimizing away the previous "(void)0" expressions. Py_DECREF: There's only one definition of this now. Yay! That was that last one in the family defined multiple times in an #ifdef maze. Py_FatalError(): Changed the char* signature to const char*. _Py_NegativeRefcount(): New helper function for the Py_REF_DEBUG expansion of Py_DECREF. Calling an external function cuts down on the volume of generated code. The previous inline expansion of abort() didn't work as intended on Windows (the program often kept going, and the error msg scrolled off the screen unseen). _Py_NegativeRefcount calls Py_FatalError instead, which captures our best knowledge of how to abort effectively across platforms.
-
Barry Warsaw authored
argument to the constructor -- defaulting to true -- which is different than Anthony's approach of using global state. parse(), parsestr(): Grow a `headersonly' argument which stops parsing once the header block has been seen, i.e. it does /not/ parse or even read the body of the message. This is used for parsing message/rfc822 type messages. We need test cases for the non-strict parsing. Anthony will supply these. _parsebody(): We can get rid of the isdigest end-of-line kludges, although we still need to know if we're parsing a multipart/digest so we can set the default type accordingly.
-
Barry Warsaw authored
text/plain but the RFCs state that inside a multipart/digest, the default type is message/rfc822. To preserve idempotency, we need a separate place to define the default type than the Content-Type: header. get_default_type(), set_default_type(): Accessor and mutator methods for the default type.
-
Barry Warsaw authored
boundary was given in the arguments, call set_boundary().
-
Barry Warsaw authored
recursive generation). _dispatch(): If the message object doesn't have a Content-Type: header, check its default type instead of assuming it's text/plain. This makes for correct generation of message/rfc822 containers. _handle_multipart(): We can get rid of the isdigest kludge. Just print the message as normal and everything will work out correctly. _handle_mulitpart_digest(): We don't need this anymore either.
-
Barry Warsaw authored
-
Barry Warsaw authored
to make public, but that others might still find useful.
-
Barry Warsaw authored
ndiff function, so just alias it to assertEqual in that case. Various: make sure all openfile()/read()'s are wrapped in try/finally's so the file gets closed. A bunch of new tests checking the corner cases for multipart/digest and message/rfc822.
-
Barry Warsaw authored
message/rfc822 compliance.
-
Barry Warsaw authored
the version number to 2.1.
-
- 08 Jul, 2002 11 commits
-
-
Tim Peters authored
Repair segfaults and infinite loops in COUNT_ALLOCS builds in the presence of new-style (heap-allocated) classes/types. Bugfix candidate. I'll backport this to 2.2. It's irrelevant in 2.1.
-
Jack Jansen authored
-enable-framework builds, but setup.py built them anyway. Fixed. Also normalized whitespace. Bugfix candidate.
-
Tim Peters authored
-
Neil Schemenauer authored
-
Fred Drake authored
-
Fred Drake authored
Clarify the return value when the parameter is a Unicode object.
-
Fred Drake authored
formatting PostScript documents. Reported by Dave Kuhlman.
-
Fred Drake authored
this file; the lack of this was causing the A4 version of tutorial to use really bad Type 3 fonts instead of Type 1 fonts, which also bloated the file size substantially. I thought there was a SourceForge bug for this, but couldn't find it.
-
Jack Jansen authored
which uses a .pth file to add the Mac/Lib from your source tree to sys.path. Also put the Python version number in a variable.Killed by signal 2.
-
Fred Drake authored
subclassing so many times it should simply be changed.
-
Jack Jansen authored
-