Staging
v0.5.1
https://github.com/python/cpython

sort by:
Revision Author Date Message Commit Date
91c488c Replaced the last attempt at an "unreadline" with one that actually works on non-seekable file-like objects, such as URLs. (Oops.) 29 March 1999, 18:01:49 UTC
8e702d4 Jonathan Giddy discovered this file was missing. 29 March 1999, 15:28:54 UTC
cf95b0f Avoid warnings from AIX compiler. Reported by Vladimir (AIX is my middlename) Marangozov, patch coded by Greg Stein. 29 March 1999, 14:57:59 UTC
2c4e009 Fixed a lot of the smaller nits identified in Guido's comments. Filled in some of the "blank" areas, and added another large blank area for a LaTeX primer. (Still a lot to be done.) 29 March 1999, 14:55:55 UTC
825df2a At Tim Peters' recommendation, add a dummy flush() method to PseudoFile. 29 March 1999, 14:52:28 UTC
02ef28b Tim Peters writes: 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>. 28 March 1999, 17:55:32 UTC
a3433e8 Tim Peters writes: 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. 27 March 1999, 13:34:01 UTC
806a467 Where rfc822.Message is mentioned, add a link to the rfc822 module. 27 March 1999, 05:45:46 UTC
b091134 During display, if EPIPE is raised, it's probably because a pager was killed. Discard the error in that case, but propogate it otherwise. 26 March 1999, 22:36:00 UTC
787451b Added 'linestart' array and 'unreadline()' method (makes parsing a lot easier). 26 March 1999, 21:48:59 UTC
447b4a0 Test suite for UserList. 26 March 1999, 16:20:45 UTC
2a340b3 Use isinstance() where appropriate. Reformatted with 4-space indent. 26 March 1999, 16:20:18 UTC
ecb1a65 Helpwin.__init__(): The text widget should get focus. 26 March 1999, 16:11:40 UTC
61ba072 Removed unnecessary import `from PyncheWidget import PyncheWidget' 26 March 1999, 15:59:51 UTC
3eccc48 Test suite for UserDict 26 March 1999, 15:32:05 UTC
1697b9c Improved a bunch of things. The constructor now takes an optional dictionary. Use isinstance() where appropriate. 26 March 1999, 15:31:12 UTC
aa3828a Basic regr tests for pickle/cPickle 25 March 1999, 22:38:49 UTC
7c6a90d Added some rules that affect those little "See also:" sections. 25 March 1999, 22:22:45 UTC
bb584d3 Be more stylesheet friendly. 25 March 1999, 22:18:30 UTC
a608a1d Require the verbatim package (similar to the LaTeX version). 25 March 1999, 22:17:29 UTC
397032a Don't use "exec" in find_class(). It's slow, unnecessary, and (as AMK points out) it doesn't work in JPython Applets. 25 March 1999, 21:58:59 UTC
605ebdd Added a simple test suite for gzip. It simply opens a temp file, writes a chunk of compressed data, closes it, writes another chunk, and reads the contents back to verify that they are the same. 25 March 1999, 21:50:27 UTC
f4f119c Based on a suggestion from bruce@hams.com, make a trivial change to 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' 25 March 1999, 21:49:14 UTC
52a0d7d Add tests for float() and complex() with string args (Nick/Stephanie Lockwood). 25 March 1999, 21:25:01 UTC
cb1f242 Document complex() with string arg. 25 March 1999, 21:23:26 UTC
b95227d Add an .unused_data attribute to decompressor objects. If .unused_data 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. 25 March 1999, 21:21:08 UTC
1195023 Patch by Nick and Stephanie Lockwood to implement complex() with a string argument. This closes TODO item 2.19. 25 March 1999, 21:16:07 UTC
5fc9c86 SIGTERM is no longer caught to call sys.exitfunc. This change was made long ago but the documentation was never updated. 25 March 1999, 20:30:00 UTC
2cafcbb Remove \platformof support, since it's been removed from the LaTeX style sheet. Small nits. 25 March 1999, 16:57:04 UTC
e82f5b3 Added note about ftpmirror.py, since that seems to be one of the most requested Python tools/examples. 25 March 1999, 05:04:17 UTC
5450062 Added Samuel Bayer's new webchecker. 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.) 24 March 1999, 19:09:00 UTC
2bc1379 Vladimir Marangozov contributed updated comments. 24 March 1999, 19:06:42 UTC
cd037e7 Folded long lines. 24 March 1999, 19:05:31 UTC
a6386ce Added Jeremy's test code for the sha module. 24 March 1999, 19:04:32 UTC
29d2acc Added Greg Stein and Andrew Kuchling's sha module. Fix comments about zlib version and URL. 24 March 1999, 19:03:59 UTC
4ec2698 Remove the temp file when we're done. 24 March 1999, 19:03:01 UTC
d023a78 Conform to standard boilerplate. 24 March 1999, 19:02:09 UTC
6b9da45 Chris Herborth: the new compiler in R4.1 needs some new options to work... 24 March 1999, 17:48:12 UTC
e7de206 Implement two suggestions by Jonathan Giddy: (1) in AIX, clear the 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. 24 March 1999, 17:24:33 UTC
7b6c71f Vladimir Marangozov implements the AIX 3-arg gethostbyname_r code. 24 March 1999, 17:20:40 UTC
e256a0f Add readlines() to _Subfile class. Not clear who would need it, but Chris Lawrence sent me a broken version; this one is a tad simpler and more conforming to the standard. 24 March 1999, 16:20:45 UTC
9b8afde Use more recent option to \pdfdest to not change the zoom factor. This is in response to a comment from Wes Rishel <wes@rishel.com>. 24 March 1999, 14:16:17 UTC
c19f997 use struct instead of bit-manipulate in Python 23 March 1999, 23:05:34 UTC
8ad22c8 Add $(EXE) to various occurrences of python so it will work on Cygwin with egcs (after setting EXE=.exe). Patch by Norman Vine. 23 March 1999, 19:00:55 UTC
8db7d8b Ack! It never defined HAVE_GETHOSTBYNAME_R so that code was never tested! 23 March 1999, 16:40:33 UTC
782cdfe Changes to allow passing an open file to the constructor (to support ProcessHierarchy's changes to support reading from a remote URL in ProcessDatabase). 23 March 1999, 14:00:06 UTC
d709b48 Adding thread.h -- unused but for b/w compatibility. As requested by Bill Janssen. 22 March 1999, 22:25:39 UTC
012ae20 Added bufferobject.c 22 March 1999, 22:24:03 UTC
a96f0ba Add code to test for all sorts of gethostbyname_r variants, donated by David Arnold. 22 March 1999, 21:49:51 UTC
7152e9b Add symbols for gethostbyname_r variants (sigh). 22 March 1999, 21:46:06 UTC
3baaa13 Clean up pass for the previous patches. - 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.") 22 March 1999, 21:44:51 UTC
955becc Jonathan Giddy writes: 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. 22 March 1999, 20:14:53 UTC
173156f Fixed the flush() method of compression objects; the test for the end of loop was incorrect, and failed when the flushmode != Z_FINISH. Logic cleaned up and commented. 22 March 1999, 19:25:30 UTC
dca7e00 Added simple test for the flush() method of compression objects, trying the different flush values Z_NO_FLUSH, Z_SYNC_FLUSH, Z_FULL_FLUSH. 22 March 1999, 19:23:17 UTC
f247d75 Bug reported by Tobias Thelen: missing "self." in assignment target. 22 March 1999, 15:28:08 UTC
13ae1c8 First checkin of real Distutils command modules. 22 March 1999, 14:55:25 UTC
03f8c3c Obsolete source file -- command options are actually implemented in a much less formalistic way. Just keeping this around for possible future reference. 22 March 1999, 14:54:09 UTC
2689e3d First checkin of real Distutils code. 22 March 1999, 14:52:19 UTC
481ac88 Use an unsigned cast to avoid a warning in VC++. 19 March 1999, 21:50:11 UTC
8f0fa9e New code for split() by Tim Peters, behaves more like posixpath.split(). 19 March 1999, 21:05:12 UTC
d7b5fb8 Fix a problem with Vladimir's PyFloat_Fini code: clear the free list; if a block cannot be freed, add its free items back to the free list. This is necessary to avoid leaking when Python is reinitialized later. 19 March 1999, 20:59:40 UTC
51288bc Fix a problem with Vladimir's PyInt_Fini code: clear the free list; if a block cannot be freed, add its free items back to the free list, and add its valid ints back to the small_ints array if they are in range. This is necessary to avoid leaking when Python is reinitialized later. 19 March 1999, 20:30:39 UTC
8be2296 Document new builtin buffer(). Greg Stein. 19 March 1999, 19:10:14 UTC
36561c5 Added BufferType, the type returned by the new builtin buffer(). Greg Stein. 19 March 1999, 19:08:03 UTC
0daf022 New builtin buffer() creates a derived read-only buffer from any object that supports the buffer interface (e.g. strings, arrays). 19 March 1999, 19:07:19 UTC
49ded3e Added check for negative offset for PyBuffer_FromObject and check for negative size for PyBuffer_FromMemory. Greg Stein. 19 March 1999, 19:04:25 UTC
7d5f5dd Added htmldoc, to generate the HTML for "Documenting Python". 18 March 1999, 19:08:47 UTC
1468d77 Add "Documenting Python" to the list of processed documents. 18 March 1999, 19:07:04 UTC
03dffcc LaTeX2HTML support for the ltxmarkup package. 18 March 1999, 16:42:28 UTC
9466b9a Add some (commented out) macros to change the page size to the size of typical published manuals, so people can more easily see what they're really asking for. ;-) Revise the verbatim environment: simple implementation, but more compatible if a document also add \usepackage{verbatim} at the beginning. Declare \modindex, \bimodindex, \exmodindex, and \stmodindex obsolete. These still work just fine, but \declaremodule should be used instead. The obsolete macros will print a warning on standard out. 18 March 1999, 16:18:27 UTC
5967667 Documented FTP.set_pasv(). 18 March 1999, 16:08:54 UTC
f3963b1 Sjoerd Mullender writes: If a filename on Windows starts with \\, it is converted to a URL which starts with ////. If this URL is passed to urlparse.urlparse you get a path that starts with // (and an empty netloc). If you pass the result back to urlparse.urlunparse, you get a URL that starts with //, which is parsed differently by urlparse.urlparse. The fix is to add the (empty) netloc with accompanying slashes if the path in urlunparse starts with //. Do this for all schemes that use a netloc. 18 March 1999, 15:10:44 UTC
e3fd106 Make this simpler; don't care about the paper size. Require that the files exist in the current directory. Add "Documenting Python" to the list of documents listed. 18 March 1999, 14:57:53 UTC
a0fec16 Sjoerd Mullender writes: Pathnames of files on other hosts in the same domain (\\host\path\to\file) are not translated correctly to URLs and back. The URL should be something like file:////host/path/to/file. Note that a combination of drive letter and remote host is not possible. 18 March 1999, 14:21:41 UTC
81da9f1 Remove all owner resources from template, and if no owner resource contained in applet-specific rsrc file we add a "Pyta" owner resource. Owner resources have both id=0 and name="Owner resource" (is this always true?). 17 March 1999, 22:57:55 UTC
b8c9f01 Removed all owner resources except for "Pyth". 17 March 1999, 22:56:13 UTC
a2e1805 Delete non-standard-conforming code in urljoin() that would use the netloc from the base url as the default netloc for the resulting url even if the schemes differ. Once upon a time, when the web was wild, this was a valuable hack because some people had a URL referencing an ftp server colocated with an http server without having the host in the ftp URL (so they could replicate it or change the hostname easily). More recently, after the file: scheme got added back to the list of schemes that accept a netloc, it turns out that this caused weirdness when joining an http: URL with a file: URL -- the resulting file: URL would always inherit the host from the http: URL because the file: scheme supports a netloc but in practice never has one. There are two reasons to get rid of the old, once-valuable hack, instead of removing the file: scheme from the uses_netloc list. One, the RFC says that file: uses the netloc syntax, and does not endorse the old hack. Two, neither netscape 4.5 nor IE 4.0 support the old hack. 17 March 1999, 22:30:10 UTC
154d909 Note that abspath() was added in 1.5.2. 17 March 1999, 22:25:11 UTC
5744d2a For some reason these files had never been checked in. 17 March 1999, 21:45:35 UTC
cd219d5 For reasons unknown these files were never checked in to CVS. 17 March 1999, 21:44:07 UTC
8368453 Add DLL level b/w compat for PySequence_In and PyEval_CallObject 17 March 1999, 18:44:39 UTC
90fc0a7 Be sure "make" understands the "doc" target is phony. 17 March 1999, 16:06:51 UTC
eb354b3 Bug reported by Jim Robinson: An attempt to execute grid_slaves with arguments (0,0) results in *all* of the slaves being returned, not just the slave associated with row 0, column 0. This is because the test for arguments in the method does not test to see if row (and column) does not equal None, but rather just whether is evaluates to non-false. A value of 0 fails this test. 16 March 1999, 21:54:50 UTC
8d2c0c2 Fixed minor nits, added index entries to make these easier to find for people not familiar with Unix terminology. 16 March 1999, 16:40:01 UTC
c43e6a2 Ignore some more files kept by mkhowto --keep. 16 March 1999, 16:14:51 UTC
1508743 Add support for "Documenting Python". 16 March 1999, 16:11:27 UTC
8df362c Removed the embedded sections showing module documentation; just \input the module template. 16 March 1999, 16:10:31 UTC
acffaee New document: "Documenting Python". 16 March 1999, 16:09:13 UTC
1d8f07a Markup for documenting LaTeX macros and environments. 16 March 1999, 16:08:26 UTC
0e11c49 Docstring fix: acosh() returns the hyperbolic arccosine, not the hyperbolic cosine. Problem report via David Ascher by one of his students. 16 March 1999, 14:17:48 UTC
caa69fd Should test for gethost*by*name_r, not for gethostname_r (which doesn't exist and doesn't make sense). 15 March 1999, 21:40:59 UTC
e9cd07b Patch by Rob Riggs for Linux -- glibc2 has a different argument converntion for gethostbyname_r() etc. than Solaris! 15 March 1999, 21:40:14 UTC
701f25e Rob Riggs wrote: """ Spec says that on success pthread_create returns 0. It does not say that an error code will be < 0. Linux glibc2 pthread_create() returns ENOMEM (12) when one exceed process limits. (It looks like it should return EAGAIN, but that's another story.) For reference, see: http://www.opengroup.org/onlinepubs/7908799/xsh/pthread_create.html """ [I have a feeling that similar bugs were fixed before; perhaps someone could check that all error checks no check for != 0?] 15 March 1999, 20:27:53 UTC
c7e7c60 New mixin class that defines cmp and hash that use the ob_itself pointer. This allows (when using the mixin) different Python objects pointing to the same C object and behaving well as dictionary keys. Or so sez Jack Jansen... 15 March 1999, 16:37:54 UTC
3764595 Yet another patch by Sjoerd Mullender: Don't convert URLs to URLs using pathname2url. 15 March 1999, 16:16:29 UTC
f03fdbc Added the new sections from Skip Montanaro. 15 March 1999, 15:47:30 UTC
658cef0 Preliminary mhlib and telnetlib documents from Skip Montanaro -- thanks, Skip! 15 March 1999, 15:44:18 UTC
8387af6 If a control has no refcon pointing back to the Python object we create a new Python object. This needs a new bgenObjectDefinition.py, which implements compare and hash functions. 13 March 1999, 23:07:32 UTC
d5138ca Patch by Michael Scharf. He writes: The module cmd requires for each do_xxx command a help_xxx function. I think this is a little old fashioned. Here is a patch: use the docstring as help if no help_xxx function can be found. [I'm tempted to rip out all the help_* functions from pdb, but I'll resist it. Any takers? --Guido] 12 March 1999, 22:15:43 UTC
7039f50 Bug submitted by Wayne Knowles, who writes: Under Windows, python freeze.py -o hello hello.py creates all the correct files in the hello subdirectory, but the Makefile has the directory prefix in it for frozen_extensions.c nmake fails because it tries to locate hello/frozen_extensions.c (His fix adds a call to os.path.basename() in the appropriate place.) 12 March 1999, 22:07:05 UTC
back to top