summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Fixed a lot of the smaller nits identified in Guido's comments.Fred Drake1999-03-291-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 Rossum1999-03-292-0/+6
|
* Tim Peters writes:Guido van Rossum1999-03-281-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 Rossum1999-03-271-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 Drake1999-03-271-4/+5
|
* During display, if EPIPE is raised, it's probably because a pager wasFred Drake1999-03-261-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 Ward1999-03-261-1/+30
|
* Test suite for UserList.Guido van Rossum1999-03-262-0/+177
|
* Use isinstance() where appropriate.Guido van Rossum1999-03-261-49/+63
| | | | Reformatted with 4-space indent.
* Helpwin.__init__(): The text widget should get focus.Barry Warsaw1999-03-261-0/+1
|
* Removed unnecessary import `from PyncheWidget import PyncheWidget'Barry Warsaw1999-03-261-1/+0
|
* Test suite for UserDictGuido van Rossum1999-03-262-0/+102
|
* Improved a bunch of things.Guido van Rossum1999-03-261-13/+16
| | | | | The constructor now takes an optional dictionary. Use isinstance() where appropriate.
* Basic regr tests for pickle/cPickleGuido van Rossum1999-03-254-0/+172
|
* Added some rules that affect those little "See also:" sections.Fred Drake1999-03-251-0/+11
|
* Be more stylesheet friendly.Fred Drake1999-03-251-1/+2
|
* Require the verbatim package (similar to the LaTeX version).Fred Drake1999-03-252-4/+6
|
* Don't use "exec" in find_class(). It's slow, unnecessary, and (as AMKGuido van Rossum1999-03-251-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. Kuchling1999-03-251-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 toAndrew M. Kuchling1999-03-251-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/StephanieGuido van Rossum1999-03-251-0/+2
| | | | Lockwood).
* Document complex() with string arg.Guido van Rossum1999-03-251-2/+4
|
* Add an .unused_data attribute to decompressor objects. If .unused_dataAndrew M. Kuchling1999-03-251-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 stringGuido van Rossum1999-03-251-4/+133
| | | | argument. This closes TODO item 2.19.
* SIGTERM is no longer caught to call sys.exitfunc.Guido van Rossum1999-03-252-7/+5
| | | | This change was made long ago but the documentation was never updated.
* Remove \platformof support, since it's been removed from the LaTeXFred Drake1999-03-251-24/+9
| | | | | | style sheet. Small nits.
* Added note about ftpmirror.py, since that seems to be one of the mostFred Drake1999-03-251-0/+8
| | | | requested Python tools/examples.
* Added Samuel Bayer's new webchecker.Guido van Rossum1999-03-241-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 Rossum1999-03-241-11/+8
|
* Folded long lines.Guido van Rossum1999-03-241-9/+18
|
* Added Jeremy's test code for the sha module.Guido van Rossum1999-03-242-0/+32
|
* Added Greg Stein and Andrew Kuchling's sha module.Guido van Rossum1999-03-242-1/+610
| | | | Fix comments about zlib version and URL.
* Remove the temp file when we're done.Guido van Rossum1999-03-241-1/+6
|
* Conform to standard boilerplate.Guido van Rossum1999-03-241-3/+34
|
* Chris Herborth: the new compiler in R4.1 needs some new options to work...Guido van Rossum1999-03-244-254/+266
|
* Implement two suggestions by Jonathan Giddy: (1) in AIX, clear theGuido van Rossum1999-03-241-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 Rossum1999-03-241-14/+32
|
* Add readlines() to _Subfile class. Not clear who would need it, butGuido van Rossum1999-03-241-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 Drake1999-03-241-1/+1
| | | | This is in response to a comment from Wes Rishel <wes@rishel.com>.
* use struct instead of bit-manipulate in PythonJeremy Hylton1999-03-231-21/+3
|
* Add $(EXE) to various occurrences of python so it will work on CygwinGuido van Rossum1999-03-231-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 Rossum1999-03-232-28/+46
|
* Changes to allow passing an open file to the constructor (to supportGreg Ward1999-03-231-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 Rossum1999-03-221-0/+62
| | | | As requested by Bill Janssen.
* Added bufferobject.cJack Jansen1999-03-225-0/+0
|
* Add code to test for all sorts of gethostbyname_r variants,Guido van Rossum1999-03-222-21/+315
| | | | donated by David Arnold.
* Add symbols for gethostbyname_r variants (sigh).Guido van Rossum1999-03-222-3/+27
|
* Clean up pass for the previous patches.Guido van Rossum1999-03-221-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 Rossum1999-03-221-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 forAndrew M. Kuchling1999-03-221-12/+29
| | | | | the end of loop was incorrect, and failed when the flushmode != Z_FINISH. Logic cleaned up and commented.