- 04 Apr, 1999 1 commit
-
-
Greg Ward authored
and 'make_file()'-- that way, the verbose and dry-run flags are handled for free.
-
- 02 Apr, 1999 1 commit
-
-
Guido van Rossum authored
main() when imported (in other words, it is not usable as a module).
-
- 01 Apr, 1999 1 commit
-
-
Guido van Rossum authored
In test_cpickle.py, the module os got imported, but the line to remove the temp file has gone missing.
-
- 30 Mar, 1999 2 commits
-
-
Guido van Rossum authored
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 authored
-
- 29 Mar, 1999 12 commits
-
-
Guido van Rossum authored
""" - 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 authored
Patch largely based on changes by Andrew Dalke, as discussed in the distutils-sig.
-
Guido van Rossum authored
right thing "just happens" (basejoin() with old URL).
-
Guido van Rossum authored
The problem was reported by Moshe Zadka.
-
Guido van Rossum authored
-
Guido van Rossum authored
-
Guido van Rossum authored
""" 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 authored
works on non-seekable file-like objects, such as URLs. (Oops.)
-
Guido van Rossum authored
-
Guido van Rossum authored
middlename) Marangozov, patch coded by Greg Stein.
-
Fred Drake authored
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 authored
-
- 28 Mar, 1999 1 commit
-
-
Guido van Rossum authored
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 commits
-
-
Guido van Rossum authored
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 authored
-
- 26 Mar, 1999 8 commits
-
-
Fred Drake authored
killed. Discard the error in that case, but propogate it otherwise.
-
Greg Ward authored
-
Guido van Rossum authored
-
Guido van Rossum authored
Reformatted with 4-space indent.
-
Barry Warsaw authored
-
Barry Warsaw authored
-
Guido van Rossum authored
-
Guido van Rossum authored
The constructor now takes an optional dictionary. Use isinstance() where appropriate.
-
- 25 Mar, 1999 12 commits
-
-
Guido van Rossum authored
-
Fred Drake authored
-
Fred Drake authored
-
Fred Drake authored
-
Guido van Rossum authored
points out) it doesn't work in JPython Applets.
-
Andrew M. Kuchling authored
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 authored
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 authored
Lockwood).
-
Guido van Rossum authored
-
Andrew M. Kuchling authored
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 authored
argument. This closes TODO item 2.19.
-
Guido van Rossum authored
This change was made long ago but the documentation was never updated.
-