- 06 Apr, 1999 3 commits
-
-
Guido van Rossum authored
(Some tests converted to splitunc() tests.)
-
Guido van Rossum authored
splitunc() parses UNC paths. The contributor of the UNC parsing in splitdrive() doesn't like it, but I haven't heard a good reason to keep it, and it causes some problems. (I think there's a philosophical problem -- to me, the split*() functions are purely syntactical, and the fact that \\foo is not a valid path doesn't mean that it shouldn't be considered an absolute path.) Also (quite separately, but strangely related to the philosophical issue above) fix abspath() so that if win32api exists, it doesn't fail when the path doesn't actually exist -- if GetFullPathName() fails, fall back on the old strategy (join with getcwd() if neccessary, and then use normpath()).
-
Guido van Rossum authored
-
- 05 Apr, 1999 15 commits
-
-
Fred Drake authored
-
Fred Drake authored
-
Jeremy Hylton authored
add note about module failing with old versions of the library. update comment that explains that this doc is *still* out of date
-
Guido van Rossum authored
#else/#endif are wrong, and that #if HAVE_TM_ZONE should be #ifdef.
-
Fred Drake authored
-
Fred Drake authored
-
Fred Drake authored
-
Fred Drake authored
added to the mode value for binary files to improve portability. Fixed latex2html weirdness with a couple of footnotes.
-
Guido van Rossum authored
reported by Fred.
-
Fred Drake authored
more references to other modules in the text hyperlinks for the HTML and PDF versions.
-
Fred Drake authored
-
Fred Drake authored
in!
-
Fred Drake authored
Bernhard Reiter <bernhard@csd.uwm.edu>.
-
Fred Drake authored
-
Fred Drake authored
support. (Based on comment on the documentation by Bernhard Reiter <bernhard@csd.uwm.edu>).
-
- 04 Apr, 1999 3 commits
-
-
Greg Ward authored
and dry-run flags consistently painless): 'execute()', 'mkpath()', 'copy_file()', 'copy_tree()', 'make_file()', and stub for 'make_files()' (not sure yet if it's useful).
-
Greg Ward authored
that wrap them in the Command class). Fixed 'copy_file()' to use '_copy_file_contents()', not 'copyfile()' from shutil module -- no reference to shutil anymore. Added "not copying" announcement in 'copy_file()'. Wee comment fix.
-
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
-