- 10 Tem, 2002 6 kayıt (commit)
-
-
Fred Drake yazdı
Closes SF bug #578308.
-
Tim Peters yazdı
-
Tim Peters yazdı
-
Tim Peters yazdı
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 yazdı
-
Tim Peters yazdı
test_others(): httplib failed in two new ways. Blame Thumb Boy <wink>.
-
- 09 Tem, 2002 22 kayıt (commit)
-
-
Jeremy Hylton yazdı
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 yazdı
-
Tim Peters yazdı
-
Tim Peters yazdı
-
Guido van Rossum yazdı
-
Tim Peters yazdı
Incomplete. Add to it! Once it settles down, it would make a nice appendix in the real docs.
-
Tim Peters yazdı
Py_TRACE_REFS build, but wasn't referenced.
-
Barry Warsaw yazdı
.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 yazdı
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 yazdı
-
Fred Drake yazdı
Closes SF bug #513666.
-
Fred Drake yazdı
-
Tim Peters yazdı
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 yazdı
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 yazdı
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 yazdı
boundary was given in the arguments, call set_boundary().
-
Barry Warsaw yazdı
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 yazdı
-
Barry Warsaw yazdı
to make public, but that others might still find useful.
-
Barry Warsaw yazdı
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 yazdı
message/rfc822 compliance.
-
Barry Warsaw yazdı
the version number to 2.1.
-
- 08 Tem, 2002 12 kayıt (commit)
-
-
Tim Peters yazdı
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 yazdı
-enable-framework builds, but setup.py built them anyway. Fixed. Also normalized whitespace. Bugfix candidate.
-
Tim Peters yazdı
-
Neil Schemenauer yazdı
-
Fred Drake yazdı
-
Fred Drake yazdı
Clarify the return value when the parameter is a Unicode object.
-
Fred Drake yazdı
formatting PostScript documents. Reported by Dave Kuhlman.
-
Fred Drake yazdı
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 yazdı
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 yazdı
subclassing so many times it should simply be changed.
-
Jack Jansen yazdı
-
Jack Jansen yazdı
-