Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | When run as a script, report failures in the exit code as well. | Fred Drake | 1999-03-29 | 1 | -4/+12 |
| | | | | | Patch largely based on changes by Andrew Dalke, as discussed in the distutils-sig. | ||||
* | Hack so that if a 302 or 301 redirect contains a relative URL, the | Guido van Rossum | 1999-03-29 | 1 | -0/+2 |
| | | | | right thing "just happens" (basejoin() with old URL). | ||||
* | Protection against picling to/from closed (real) file. | Guido van Rossum | 1999-03-29 | 1 | -0/+8 |
| | | | | The problem was reported by Moshe Zadka. | ||||
* | Test protection against picling to/from closed (real) file. | Guido van Rossum | 1999-03-29 | 1 | -0/+20 |
| | |||||
* | #$@%! Forgot to remove a #error directive used for testing. Sorry. | Guido van Rossum | 1999-03-29 | 1 | -1/+0 |
| | |||||
* | Chris Lawrence writes: | Guido van Rossum | 1999-03-29 | 1 | -18/+28 |
| | | | | | | | | | | | | | | | | | | | | | | """ 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.) """ | ||||
* | Replaced the last attempt at an "unreadline" with one that actually | Greg Ward | 1999-03-29 | 1 | -29/+18 |
| | | | | works on non-seekable file-like objects, such as URLs. (Oops.) | ||||
* | Jonathan Giddy discovered this file was missing. | Guido van Rossum | 1999-03-29 | 1 | -0/+1 |
| | |||||
* | Avoid warnings from AIX compiler. Reported by Vladimir (AIX is my | Guido van Rossum | 1999-03-29 | 1 | -3/+3 |
| | | | | middlename) Marangozov, patch coded by Greg Stein. | ||||
* | Fixed a lot of the smaller nits identified in Guido's comments. | Fred Drake | 1999-03-29 | 1 | -28/+68 |
| | | | | | Filled in some of the "blank" areas, and added another large blank area for a LaTeX primer. (Still a lot to be done.) | ||||
* | At Tim Peters' recommendation, add a dummy flush() method to PseudoFile. | Guido van Rossum | 1999-03-29 | 2 | -0/+6 |
| | |||||
* | Tim Peters writes: | Guido van Rossum | 1999-03-28 | 1 | -24/+53 |
| | | | | | | | | 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>. | ||||
* | Tim Peters writes: | Guido van Rossum | 1999-03-27 | 1 | -160/+88 |
| | | | | | | | 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. | ||||
* | Where rfc822.Message is mentioned, add a link to the rfc822 module. | Fred Drake | 1999-03-27 | 1 | -4/+5 |
| | |||||
* | During display, if EPIPE is raised, it's probably because a pager was | Fred Drake | 1999-03-26 | 1 | -3/+8 |
| | | | | killed. Discard the error in that case, but propogate it otherwise. | ||||
* | Added 'linestart' array and 'unreadline()' method (makes parsing a lot easier). | Greg Ward | 1999-03-26 | 1 | -1/+30 |
| | |||||
* | Test suite for UserList. | Guido van Rossum | 1999-03-26 | 2 | -0/+177 |
| | |||||
* | Use isinstance() where appropriate. | Guido van Rossum | 1999-03-26 | 1 | -49/+63 |
| | | | | Reformatted with 4-space indent. | ||||
* | Helpwin.__init__(): The text widget should get focus. | Barry Warsaw | 1999-03-26 | 1 | -0/+1 |
| | |||||
* | Removed unnecessary import `from PyncheWidget import PyncheWidget' | Barry Warsaw | 1999-03-26 | 1 | -1/+0 |
| | |||||
* | Test suite for UserDict | Guido van Rossum | 1999-03-26 | 2 | -0/+102 |
| | |||||
* | Improved a bunch of things. | Guido van Rossum | 1999-03-26 | 1 | -13/+16 |
| | | | | | The constructor now takes an optional dictionary. Use isinstance() where appropriate. | ||||
* | Basic regr tests for pickle/cPickle | Guido van Rossum | 1999-03-25 | 4 | -0/+172 |
| | |||||
* | Added some rules that affect those little "See also:" sections. | Fred Drake | 1999-03-25 | 1 | -0/+11 |
| | |||||
* | Be more stylesheet friendly. | Fred Drake | 1999-03-25 | 1 | -1/+2 |
| | |||||
* | Require the verbatim package (similar to the LaTeX version). | Fred Drake | 1999-03-25 | 2 | -4/+6 |
| | |||||
* | Don't use "exec" in find_class(). It's slow, unnecessary, and (as AMK | Guido van Rossum | 1999-03-25 | 1 | -5/+4 |
| | | | | points out) it doesn't work in JPython Applets. | ||||
* | Added a simple test suite for gzip. It simply opens a temp file, | Andrew M. Kuchling | 1999-03-25 | 1 | -0/+30 |
| | | | | | writes a chunk of compressed data, closes it, writes another chunk, and reads the contents back to verify that they are the same. | ||||
* | Based on a suggestion from bruce@hams.com, make a trivial change to | Andrew M. Kuchling | 1999-03-25 | 1 | -32/+67 |
| | | | | | | | | | | | | | 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' | ||||
* | Add tests for float() and complex() with string args (Nick/Stephanie | Guido van Rossum | 1999-03-25 | 1 | -0/+2 |
| | | | | Lockwood). | ||||
* | Document complex() with string arg. | Guido van Rossum | 1999-03-25 | 1 | -2/+4 |
| | |||||
* | Add an .unused_data attribute to decompressor objects. If .unused_data | Andrew M. Kuchling | 1999-03-25 | 1 | -0/+22 |
| | | | | | | 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. | ||||
* | Patch by Nick and Stephanie Lockwood to implement complex() with a string | Guido van Rossum | 1999-03-25 | 1 | -4/+133 |
| | | | | argument. This closes TODO item 2.19. | ||||
* | SIGTERM is no longer caught to call sys.exitfunc. | Guido van Rossum | 1999-03-25 | 2 | -7/+5 |
| | | | | This change was made long ago but the documentation was never updated. | ||||
* | Remove \platformof support, since it's been removed from the LaTeX | Fred Drake | 1999-03-25 | 1 | -24/+9 |
| | | | | | | style sheet. Small nits. | ||||
* | Added note about ftpmirror.py, since that seems to be one of the most | Fred Drake | 1999-03-25 | 1 | -0/+8 |
| | | | | requested Python tools/examples. | ||||
* | Added Samuel Bayer's new webchecker. | Guido van Rossum | 1999-03-24 | 1 | -0/+884 |
| | | | | | | | | 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.) | ||||
* | Vladimir Marangozov contributed updated comments. | Guido van Rossum | 1999-03-24 | 1 | -11/+8 |
| | |||||
* | Folded long lines. | Guido van Rossum | 1999-03-24 | 1 | -9/+18 |
| | |||||
* | Added Jeremy's test code for the sha module. | Guido van Rossum | 1999-03-24 | 2 | -0/+32 |
| | |||||
* | Added Greg Stein and Andrew Kuchling's sha module. | Guido van Rossum | 1999-03-24 | 2 | -1/+610 |
| | | | | Fix comments about zlib version and URL. | ||||
* | Remove the temp file when we're done. | Guido van Rossum | 1999-03-24 | 1 | -1/+6 |
| | |||||
* | Conform to standard boilerplate. | Guido van Rossum | 1999-03-24 | 1 | -3/+34 |
| | |||||
* | Chris Herborth: the new compiler in R4.1 needs some new options to work... | Guido van Rossum | 1999-03-24 | 4 | -254/+266 |
| | |||||
* | Implement two suggestions by Jonathan Giddy: (1) in AIX, clear the | Guido van Rossum | 1999-03-24 | 1 | -0/+19 |
| | | | | | | | | | | | | data struct before calling gethostby{name,addr}_r(); (2) ignore the 3/5/6 args determinations made by the configure script and switch on platform identifiers instead: AIX, OSF have 3 args Sun, SGI have 5 args Linux has 6 args On all other platforms, undef HAVE_GETHOSTBYNAME_R altogether. | ||||
* | Vladimir Marangozov implements the AIX 3-arg gethostbyname_r code. | Guido van Rossum | 1999-03-24 | 1 | -14/+32 |
| | |||||
* | Add readlines() to _Subfile class. Not clear who would need it, but | Guido van Rossum | 1999-03-24 | 1 | -0/+13 |
| | | | | | Chris Lawrence sent me a broken version; this one is a tad simpler and more conforming to the standard. | ||||
* | Use more recent option to \pdfdest to not change the zoom factor. | Fred Drake | 1999-03-24 | 1 | -1/+1 |
| | | | | This is in response to a comment from Wes Rishel <wes@rishel.com>. | ||||
* | use struct instead of bit-manipulate in Python | Jeremy Hylton | 1999-03-23 | 1 | -21/+3 |
| | |||||
* | Add $(EXE) to various occurrences of python so it will work on Cygwin | Guido van Rossum | 1999-03-23 | 1 | -2/+2 |
| | | | | with egcs (after setting EXE=.exe). Patch by Norman Vine. |