- 30 Mar, 1999 2 kayıt (commit)
-
-
Guido van Rossum yazdı
If you send something like "PUT / HTTP/1.0" to something derived from BaseHTTPServer that doesn't define do_PUT, you will get a response that begins like this: HTTP/1.0 501 Unsupported method ('do_PUT') Server: SimpleHTTP/0.3 Python/1.5 Date: Tue, 30 Mar 1999 18:53:53 GMT The server should complain about 'PUT' instead of 'do_PUT'. This patch should fix the problem.
-
Fred Drake yazdı
-
- 29 Mar, 1999 12 kayıt (commit)
-
-
Guido van Rossum yazdı
""" - It needlessly used the makefile() method for each response that is read from the SMTP server. - If the remote SMTP server closes the connection unexpectedly the code raised an IndexError. It now raises an SMTPServerDisconnected exception instead. - The code now checks that all lines in a multiline response actually contains an error code. """ The Dragon approves.
-
Fred Drake yazdı
Patch largely based on changes by Andrew Dalke, as discussed in the distutils-sig.
-
Guido van Rossum yazdı
right thing "just happens" (basejoin() with old URL).
-
Guido van Rossum yazdı
The problem was reported by Moshe Zadka.
-
Guido van Rossum yazdı
-
Guido van Rossum yazdı
-
Guido van Rossum yazdı
""" The GNU folks, in their infinite wisdom, have decided not to implement altzone in libc6; this would not be horrible, except that timezone (which is implemented) includes the current DST setting (i.e. timezone for Central is 18000 in summer and 21600 in winter). So Python's timezone and altzone variables aren't set correctly during DST. Here's a patch relative to 1.5.2b2 that (a) makes timezone and altzone show the "right" thing on Linux (by using the tm_gmtoff stuff available in BSD, which is how the GLIBC manual claims things should be done) and (b) should cope with the southern hemisphere. In pursuit of (b), I also took the liberty of renaming the "summer" and "winter" variables to "july" and "jan". This patch should also make certain time calculations on Linux actually work right (like the tz-aware functions in the rfc822 module). (It's hard to find DST that's currently being used in the southern hemisphere; I tested using Africa/Windhoek.) """
-
Greg Ward yazdı
works on non-seekable file-like objects, such as URLs. (Oops.)
-
Guido van Rossum yazdı
-
Guido van Rossum yazdı
middlename) Marangozov, patch coded by Greg Stein.
-
Fred Drake yazdı
Filled in some of the "blank" areas, and added another large blank area for a LaTeX primer. (Still a lot to be done.)
-
Guido van Rossum yazdı
-
- 28 Mar, 1999 1 kayıt (commit)
-
-
Guido van Rossum yazdı
I should have waited overnight <wink/sigh>. Nothing wrong with the one I sent, but I couldn't resist going on to add new -r1 / -r2 cmdline options for recreating the original files from ndiff's output. That's attached, if you're game! Us Windows guys don't usually have a sed sitting around <wink>.
-
- 27 Mar, 1999 2 kayıt (commit)
-
-
Guido van Rossum yazdı
Attached is a cleaned-up version of ndiff (added useful module docstring, now echo'ed in case of cmd line mistake); added -q option to suppress initial file identification lines; + other minor cleanups, & a slightly faster match engine.
-
Fred Drake yazdı
-
- 26 Mar, 1999 8 kayıt (commit)
-
-
Fred Drake yazdı
killed. Discard the error in that case, but propogate it otherwise.
-
Greg Ward yazdı
-
Guido van Rossum yazdı
-
Guido van Rossum yazdı
Reformatted with 4-space indent.
-
Barry Warsaw yazdı
-
Barry Warsaw yazdı
-
Guido van Rossum yazdı
-
Guido van Rossum yazdı
The constructor now takes an optional dictionary. Use isinstance() where appropriate.
-
- 25 Mar, 1999 14 kayıt (commit)
-
-
Guido van Rossum yazdı
-
Fred Drake yazdı
-
Fred Drake yazdı
-
Fred Drake yazdı
-
Guido van Rossum yazdı
points out) it doesn't work in JPython Applets.
-
Andrew M. Kuchling yazdı
writes a chunk of compressed data, closes it, writes another chunk, and reads the contents back to verify that they are the same.
-
Andrew M. Kuchling yazdı
allow using the 'a' flag as a mode for opening a GzipFile. gzip files, surprisingly enough, can be concatenated and then decompressed; the effect is to concatenate the two chunks of data. If we support it on writing, it should also be supported on reading. This *wasn't* trivial, and required rearranging the code in the reading path, particularly the _read() method. Raise IOError instead of RuntimeError in two cases, 'Not a gzipped file' and 'Unknown compression method'
-
Guido van Rossum yazdı
Lockwood).
-
Guido van Rossum yazdı
-
Andrew M. Kuchling yazdı
is not an empty string, this means that you have arrived at the end of the stream of compressed data, and the contents of .unused_data are whatever follows the compressed stream.
-
Guido van Rossum yazdı
argument. This closes TODO item 2.19.
-
Guido van Rossum yazdı
This change was made long ago but the documentation was never updated.
-
Fred Drake yazdı
style sheet. Small nits.
-
Fred Drake yazdı
requested Python tools/examples.
-
- 24 Mar, 1999 1 kayıt (commit)
-
-
Guido van Rossum yazdı
Unfortunately his code breaks wcgui.py in a way that's not easy to fix. I expect that this is a temporary situation -- eventually Sam's changes will be merged back in. (The changes add a -t option to specify exceptions to the -x option, and explicit checking for #foo style fragment ids.)
-