Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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. | ||||
* | Ack! It never defined HAVE_GETHOSTBYNAME_R so that code was never tested! | Guido van Rossum | 1999-03-23 | 2 | -28/+46 |
| | |||||
* | Changes to allow passing an open file to the constructor (to support | Greg Ward | 1999-03-23 | 1 | -14/+13 |
| | | | | | ProcessHierarchy's changes to support reading from a remote URL in ProcessDatabase). | ||||
* | Adding thread.h -- unused but for b/w compatibility. | Guido van Rossum | 1999-03-22 | 1 | -0/+62 |
| | | | | As requested by Bill Janssen. | ||||
* | Added bufferobject.c | Jack Jansen | 1999-03-22 | 5 | -0/+0 |
| | |||||
* | Add code to test for all sorts of gethostbyname_r variants, | Guido van Rossum | 1999-03-22 | 2 | -21/+315 |
| | | | | donated by David Arnold. | ||||
* | Add symbols for gethostbyname_r variants (sigh). | Guido van Rossum | 1999-03-22 | 2 | -3/+27 |
| | |||||
* | Clean up pass for the previous patches. | Guido van Rossum | 1999-03-22 | 1 | -23/+35 |
| | | | | | | | | | | | | | | | | | | - Use HAVE_GETHOSTBYNAME_R_6_ARG instead of testing for Linux and glibc2. - If gethostbyname takes 3 args, undefine HAVE_GETHOSTBYNAME_R -- don't know what code should be used. - New symbol USE_GETHOSTBYNAME_LOCK defined iff the lock should be used. - Modify the gethostbyaddr() code to also hold on to the lock until after it is safe to release, overlapping with the Python lock. (Note: I think that it could in theory be possible that Python code executed while gethostbyname_lock is held could attempt to reacquire the lock -- e.g. in a signal handler or destructor. I will simply say "don't do that then.") | ||||
* | Jonathan Giddy writes: | Guido van Rossum | 1999-03-22 | 1 | -8/+15 |
| | | | | | | | | Here's a patch to fix the race condition, which wasn't fixed by Rob's patch. It holds the gethostbyname lock until the results are copied out, which means that this lock and the Python global lock are held at the same time. This shouldn't be a problem as long as the gethostbyname lock is always acquired when the global lock is not held. | ||||
* | Fixed the flush() method of compression objects; the test for | Andrew M. Kuchling | 1999-03-22 | 1 | -12/+29 |
| | | | | | the end of loop was incorrect, and failed when the flushmode != Z_FINISH. Logic cleaned up and commented. |