summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* When run as a script, report failures in the exit code as well.Fred Drake1999-03-291-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, theGuido van Rossum1999-03-291-0/+2
| | | | right thing "just happens" (basejoin() with old URL).
* Protection against picling to/from closed (real) file.Guido van Rossum1999-03-291-0/+8
| | | | The problem was reported by Moshe Zadka.
* Test protection against picling to/from closed (real) file.Guido van Rossum1999-03-291-0/+20
|
* #$@%! Forgot to remove a #error directive used for testing. Sorry.Guido van Rossum1999-03-291-1/+0
|
* Chris Lawrence writes:Guido van Rossum1999-03-291-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 actuallyGreg Ward1999-03-291-29/+18
| | | | works on non-seekable file-like objects, such as URLs. (Oops.)
* Jonathan Giddy discovered this file was missing.Guido van Rossum1999-03-291-0/+1
|
* Avoid warnings from AIX compiler. Reported by Vladimir (AIX is myGuido van Rossum1999-03-291-3/+3
| | | | middlename) Marangozov, patch coded by Greg Stein.
* 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.