From fdrake@weyr.cnri.reston.va.us Tue Mar 2 15:56:22 1999 From: fdrake@weyr.cnri.reston.va.us (Fred L. Drake) Date: Tue, 2 Mar 1999 10:56:22 -0500 Subject: [Python-checkins] CVS: python/dist/src/Doc/html Makefile Message-ID: <199903021556.KAA07281@weyr.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Doc/html In directory weyr:/home/fdrake/projects/python/Doc/html Modified Files: Makefile Log Message: Only use 4 columns in the module index, to accomodate platform annotations. From fdrake@weyr.cnri.reston.va.us Tue Mar 2 15:58:21 1999 From: fdrake@weyr.cnri.reston.va.us (Fred L. Drake) Date: Tue, 2 Mar 1999 10:58:21 -0500 Subject: [Python-checkins] CVS: python/dist/src/Doc/html index.html style.css Message-ID: <199903021558.KAA07315@weyr.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Doc/html In directory weyr:/home/fdrake/projects/python/Doc/html Modified Files: index.html style.css Log Message: Changes to accomodate the global module index and platform annotations. From fdrake@weyr.cnri.reston.va.us Tue Mar 2 16:00:38 1999 From: fdrake@weyr.cnri.reston.va.us (Fred L. Drake) Date: Tue, 2 Mar 1999 11:00:38 -0500 Subject: [Python-checkins] CVS: python/dist/src/Doc/perl l2hinit.perl Message-ID: <199903021600.LAA07363@weyr.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Doc/perl In directory weyr:/home/fdrake/projects/python/Doc/perl Modified Files: l2hinit.perl Log Message: Improve handling of module index, to deal with platform annotations a little better. From fdrake@weyr.cnri.reston.va.us Tue Mar 2 16:05:37 1999 From: fdrake@weyr.cnri.reston.va.us (Fred L. Drake) Date: Tue, 2 Mar 1999 11:05:37 -0500 Subject: [Python-checkins] CVS: python/dist/src/Doc/perl python.perl Message-ID: <199903021605.LAA07388@weyr.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Doc/perl In directory weyr:/home/fdrake/projects/python/Doc/perl Modified Files: python.perl Log Message: swallow_newline(): Removed function; not really needed. Modified all call sites. do_cmd_ignorePlatformAnnotation(), do_cmd_platform(), do_cmd_platformof(): New functions to support platform dependency information. process_all_platformofs(): New function to post-process \platformof macros using information collected during the initial pass. process_python_state(): New function. Call all post-processing functions defined in this file to avoid having to have too much knowledge of the internals for this stuff in l2hinit.perl. From fdrake@weyr.cnri.reston.va.us Tue Mar 2 16:17:46 1999 From: fdrake@weyr.cnri.reston.va.us (Fred L. Drake) Date: Tue, 2 Mar 1999 11:17:46 -0500 Subject: [Python-checkins] CVS: python/dist/src/Doc/texinputs python.sty Message-ID: <199903021617.LAA07497@weyr.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Doc/texinputs In directory weyr:/home/fdrake/projects/python/Doc/texinputs Modified Files: python.sty Log Message: Added support for \platform, \platformof, and \ignorePlatformAnnotation. From fdrake@weyr.cnri.reston.va.us Tue Mar 2 16:19:39 1999 From: fdrake@weyr.cnri.reston.va.us (Fred L. Drake) Date: Tue, 2 Mar 1999 11:19:39 -0500 Subject: [Python-checkins] CVS: python/dist/src/Doc/paper-a4 .cvsignore Message-ID: <199903021619.LAA07532@weyr.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Doc/paper-a4 In directory weyr:/home/fdrake/projects/python/Doc/paper-a4 Modified Files: .cvsignore Log Message: Ignore *.pla -- the platform annotation information. From fdrake@weyr.cnri.reston.va.us Tue Mar 2 16:20:43 1999 From: fdrake@weyr.cnri.reston.va.us (Fred L. Drake) Date: Tue, 2 Mar 1999 11:20:43 -0500 Subject: [Python-checkins] CVS: python/dist/src/Doc/paper-letter .cvsignore Makefile Message-ID: <199903021620.LAA07564@weyr.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Doc/paper-letter In directory weyr:/home/fdrake/projects/python/Doc/paper-letter Modified Files: .cvsignore Makefile Log Message: Ignore *.pla -- the platform annotation information. Also, remove it for 'make clean'. From fdrake@weyr.cnri.reston.va.us Tue Mar 2 16:22:27 1999 From: fdrake@weyr.cnri.reston.va.us (Fred L. Drake) Date: Tue, 2 Mar 1999 11:22:27 -0500 Subject: [Python-checkins] CVS: python/dist/src/Doc/tools mkhowto.sh Message-ID: <199903021622.LAA07604@weyr.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Doc/tools In directory weyr:/home/fdrake/projects/python/Doc/tools Modified Files: mkhowto.sh Log Message: Clean up *.pla files -- platform annotation information. From fdrake@weyr.cnri.reston.va.us Tue Mar 2 16:22:57 1999 From: fdrake@weyr.cnri.reston.va.us (Fred L. Drake) Date: Tue, 2 Mar 1999 11:22:57 -0500 Subject: [Python-checkins] CVS: python/dist/src/Doc/tools mkmodindex Message-ID: <199903021622.LAA07634@weyr.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Doc/tools In directory weyr:/home/fdrake/projects/python/Doc/tools Modified Files: mkmodindex Log Message: Be more flexible to support platform annotations. From fdrake@weyr.cnri.reston.va.us Tue Mar 2 16:24:23 1999 From: fdrake@weyr.cnri.reston.va.us (Fred L. Drake) Date: Tue, 2 Mar 1999 11:24:23 -0500 Subject: [Python-checkins] CVS: python/dist/src/Doc/templates module.tex Message-ID: <199903021624.LAA07675@weyr.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Doc/templates In directory weyr:/home/fdrake/projects/python/Doc/templates Modified Files: module.tex Log Message: Add information about adding the portability statement. From fdrake@weyr.cnri.reston.va.us Tue Mar 2 16:36:39 1999 From: fdrake@weyr.cnri.reston.va.us (Fred L. Drake) Date: Tue, 2 Mar 1999 11:36:39 -0500 Subject: [Python-checkins] CVS: python/dist/src/Doc/mac libctb.tex libframework.tex libmac.tex libmacconsole.tex libmacdnr.tex libmacfs.tex libmacic.tex libmacos.tex libmacostools.tex libmacspeech.tex libmactcp.tex libmacui.tex libminiae.tex mac.tex Message-ID: <199903021636.LAA07720@weyr.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Doc/mac In directory weyr:/home/fdrake/projects/python/Doc/mac Modified Files: libctb.tex libframework.tex libmac.tex libmacconsole.tex libmacdnr.tex libmacfs.tex libmacic.tex libmacos.tex libmacostools.tex libmacspeech.tex libmactcp.tex libmacui.tex libminiae.tex mac.tex Log Message: Added \platform annotations. From fdrake@weyr.cnri.reston.va.us Tue Mar 2 16:37:18 1999 From: fdrake@weyr.cnri.reston.va.us (Fred L. Drake) Date: Tue, 2 Mar 1999 11:37:18 -0500 Subject: [Python-checkins] CVS: python/dist/src/Doc/lib libal.tex libamoeba.tex libcd.tex libcrypt.tex libdbm.tex libfcntl.tex libfl.tex libfm.tex libgdbm.tex libgl.tex libgrp.tex libimgfile.tex libjpeg.tex libmsvcrt.tex libpopen2.tex libposix.tex libposixfile.tex libpwd.tex libresource.tex libstat.tex libsunaudio.tex libsyslog.tex libtermios.tex libwinsound.tex Message-ID: <199903021637.LAA07775@weyr.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Doc/lib In directory weyr:/home/fdrake/projects/python/Doc/lib Modified Files: libal.tex libamoeba.tex libcd.tex libcrypt.tex libdbm.tex libfcntl.tex libfl.tex libfm.tex libgdbm.tex libgl.tex libgrp.tex libimgfile.tex libjpeg.tex libmsvcrt.tex libpopen2.tex libposix.tex libposixfile.tex libpwd.tex libresource.tex libstat.tex libsunaudio.tex libsyslog.tex libtermios.tex libwinsound.tex Log Message: Added \platform annotations. From fdrake@weyr.cnri.reston.va.us Tue Mar 2 17:03:43 1999 From: fdrake@weyr.cnri.reston.va.us (Fred L. Drake) Date: Tue, 2 Mar 1999 12:03:43 -0500 Subject: [Python-checkins] CVS: python/dist/src/Doc/lib libcrypt.tex libdbm.tex libfcntl.tex libgdbm.tex libgrp.tex libpopen2.tex libposix.tex libposixfile.tex libpwd.tex libresource.tex libstat.tex libsyslog.tex libtermios.tex Message-ID: <199903021703.MAA07909@weyr.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Doc/lib In directory weyr:/home/fdrake/projects/python/Doc/lib Modified Files: libcrypt.tex libdbm.tex libfcntl.tex libgdbm.tex libgrp.tex libpopen2.tex libposix.tex libposixfile.tex libpwd.tex libresource.tex libstat.tex libsyslog.tex libtermios.tex Log Message: "\platform{UNIX}" should really be spelled "\platform{Unix}". From fdrake@weyr.cnri.reston.va.us Wed Mar 3 16:21:37 1999 From: fdrake@weyr.cnri.reston.va.us (Fred L. Drake) Date: Wed, 3 Mar 1999 11:21:37 -0500 Subject: [Python-checkins] CVS: python/dist/src/Doc/perl l2hinit.perl Message-ID: <199903031621.LAA11810@weyr.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Doc/perl In directory weyr:/home/fdrake/projects/python/Doc/perl Modified Files: l2hinit.perl Log Message: Be a little more friendly for the generation of the text version: for "blank" navigation icons, use ALT="" instead of ALT="blank"; also add ALIGN=CENTER for the table, to get a slightly better affect in the text (the table is full-width, so this doesn't change the appearance when browsing the HTML). From fdrake@weyr.cnri.reston.va.us Wed Mar 3 19:25:58 1999 From: fdrake@weyr.cnri.reston.va.us (Fred L. Drake) Date: Wed, 3 Mar 1999 14:25:58 -0500 Subject: [Python-checkins] CVS: python/dist/src/Doc/tools toc2bkm.py Message-ID: <199903031925.OAA12339@weyr.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Doc/tools In directory weyr:/home/fdrake/projects/python/Doc/tools Modified Files: toc2bkm.py Log Message: process(): New function that contains the "orchestration" of the actual work. main(): Just handle the command line and filename determination, calling process() to do the work. These changes make this more import-friendly. From fdrake@weyr.cnri.reston.va.us Wed Mar 3 19:36:24 1999 From: fdrake@weyr.cnri.reston.va.us (Fred L. Drake) Date: Wed, 3 Mar 1999 14:36:24 -0500 Subject: [Python-checkins] CVS: python/dist/src/Doc/tools indfix.py Message-ID: <199903031936.OAA12408@weyr.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Doc/tools In directory weyr:/home/fdrake/projects/python/Doc/tools Modified Files: indfix.py Log Message: process(): New function that contains the "orchestration" of the actual work. main(): Just handle the command line and filename determination, calling process() to do the work. These changes make this more import-friendly. From fdrake@weyr.cnri.reston.va.us Wed Mar 3 20:24:32 1999 From: fdrake@weyr.cnri.reston.va.us (Fred L. Drake) Date: Wed, 3 Mar 1999 15:24:32 -0500 Subject: [Python-checkins] CVS: python/dist/src/Doc/tools mkhowto Message-ID: <199903032024.PAA13140@weyr.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Doc/tools In directory weyr:/home/fdrake/projects/python/Doc/tools Added Files: mkhowto Log Message: Re-written mkhowto in Python; this should be at least a little more portable. Several things that had been done by running a python script are now a matter of importing the right module and running a function with a few parameters. From fdrake@weyr.cnri.reston.va.us Wed Mar 3 20:27:10 1999 From: fdrake@weyr.cnri.reston.va.us (Fred L. Drake) Date: Wed, 3 Mar 1999 15:27:10 -0500 Subject: [Python-checkins] CVS: python/dist/src/Doc/html Makefile Message-ID: <199903032027.PAA13181@weyr.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Doc/html In directory weyr:/home/fdrake/projects/python/Doc/html Modified Files: Makefile Log Message: Switch to the Python version of mkhowto. From fdrake@weyr.cnri.reston.va.us Wed Mar 3 20:27:12 1999 From: fdrake@weyr.cnri.reston.va.us (Fred L. Drake) Date: Wed, 3 Mar 1999 15:27:12 -0500 Subject: [Python-checkins] CVS: python/dist/src/Doc/paper-letter Makefile Message-ID: <199903032027.PAA13191@weyr.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Doc/paper-letter In directory weyr:/home/fdrake/projects/python/Doc/paper-letter Modified Files: Makefile Log Message: Switch to the Python version of mkhowto. From fdrake@weyr.cnri.reston.va.us Wed Mar 3 20:28:18 1999 From: fdrake@weyr.cnri.reston.va.us (Fred L. Drake) Date: Wed, 3 Mar 1999 15:28:18 -0500 Subject: [Python-checkins] CVS: python/dist/src/Doc/tools mkhowto.sh Message-ID: <199903032028.PAA13238@weyr.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Doc/tools In directory weyr:/home/fdrake/projects/python/Doc/tools Removed Files: mkhowto.sh Log Message: Obsolete; use the Python version instead. From fdrake@weyr.cnri.reston.va.us Wed Mar 3 21:39:20 1999 From: fdrake@weyr.cnri.reston.va.us (Fred L. Drake) Date: Wed, 3 Mar 1999 16:39:20 -0500 Subject: [Python-checkins] CVS: python/dist/src/Doc README Message-ID: <199903032139.QAA13677@weyr.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Doc In directory weyr:/home/fdrake/projects/python/Doc Modified Files: README Log Message: Lots of small updates. From fdrake@weyr.cnri.reston.va.us Wed Mar 3 21:44:12 1999 From: fdrake@weyr.cnri.reston.va.us (Fred L. Drake) Date: Wed, 3 Mar 1999 16:44:12 -0500 Subject: [Python-checkins] CVS: python/dist/src/Doc README Message-ID: <199903032144.QAA13718@weyr.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Doc In directory weyr:/home/fdrake/projects/python/Doc Modified Files: README Log Message: Oops, missed version number for pdfTeX. Updated. From fdrake@weyr.cnri.reston.va.us Wed Mar 3 21:57:59 1999 From: fdrake@weyr.cnri.reston.va.us (Fred L. Drake) Date: Wed, 3 Mar 1999 16:57:59 -0500 Subject: [Python-checkins] CVS: python/dist/src/Doc/tools mkhowto Message-ID: <199903032157.QAA13877@weyr.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Doc/tools In directory weyr:/home/fdrake/projects/python/Doc/tools Modified Files: mkhowto Log Message: Record the value of $TEXINPUTS in the transcript. Job.message(): New method. Takes care of writing a message to the user and adding it to the transcript. From fdrake@weyr.cnri.reston.va.us Thu Mar 4 14:08:12 1999 From: fdrake@weyr.cnri.reston.va.us (Fred L. Drake) Date: Thu, 4 Mar 1999 09:08:12 -0500 Subject: [Python-checkins] CVS: python/dist/src/Doc/lib libos.tex Message-ID: <199903041408.JAA15527@weyr.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Doc/lib In directory weyr:/home/fdrake/projects/python/Doc/lib Modified Files: libos.tex Log Message: Fixed description of WSTOPSIG(), added WTERMSIG(). Problem reported by Jonathan Giddy . From fdrake@weyr.cnri.reston.va.us Thu Mar 4 18:41:20 1999 From: fdrake@weyr.cnri.reston.va.us (Fred L. Drake) Date: Thu, 4 Mar 1999 13:41:20 -0500 Subject: [Python-checkins] CVS: python/dist/src/Doc/perl l2hinit.perl Message-ID: <199903041841.NAA16512@weyr.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Doc/perl In directory weyr:/home/fdrake/projects/python/Doc/perl Modified Files: l2hinit.perl Log Message: add_module_idx(): If \ignorePlatformAnnotation is used, only ignore the specified annotation, not any annotation. From fdrake@weyr.cnri.reston.va.us Thu Mar 4 19:00:28 1999 From: fdrake@weyr.cnri.reston.va.us (Fred L. Drake) Date: Thu, 4 Mar 1999 14:00:28 -0500 Subject: [Python-checkins] CVS: python/dist/src/Doc/mac libmacic.tex Message-ID: <199903041900.OAA17488@weyr.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Doc/mac In directory weyr:/home/fdrake/projects/python/Doc/mac Modified Files: libmacic.tex Log Message: Added "Internet Config" to index. From fdrake@weyr.cnri.reston.va.us Thu Mar 4 21:19:59 1999 From: fdrake@weyr.cnri.reston.va.us (Fred L. Drake) Date: Thu, 4 Mar 1999 16:19:59 -0500 Subject: [Python-checkins] CVS: python/dist/src/Doc/tools mkmodindex Message-ID: <199903042119.QAA17917@weyr.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Doc/tools In directory weyr:/home/fdrake/projects/python/Doc/tools Modified Files: mkmodindex Log Message: Allow many more aspects of the generated page to be parameterized, and add a useful usage message. Use 'mkmodindex --help' to display it. From fdrake@weyr.cnri.reston.va.us Thu Mar 4 21:25:06 1999 From: fdrake@weyr.cnri.reston.va.us (Fred L. Drake) Date: Thu, 4 Mar 1999 16:25:06 -0500 Subject: [Python-checkins] CVS: python/dist/src/Doc/html Makefile Message-ID: <199903042125.QAA17953@weyr.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Doc/html In directory weyr:/home/fdrake/projects/python/Doc/html Modified Files: Makefile Log Message: Pass in the 'Send comments to ...' on the mkmodindex command line, just like we do for mkhowto. From fdrake@weyr.cnri.reston.va.us Thu Mar 4 21:33:57 1999 From: fdrake@weyr.cnri.reston.va.us (Fred L. Drake) Date: Thu, 4 Mar 1999 16:33:57 -0500 Subject: [Python-checkins] CVS: python/dist/src/Doc/tools mkmodindex Message-ID: <199903042133.QAA18011@weyr.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Doc/tools In directory weyr:/home/fdrake/projects/python/Doc/tools Modified Files: mkmodindex Log Message: Oops, missed a couple of substitutions in the templates. From fdrake@weyr.cnri.reston.va.us Fri Mar 5 18:30:24 1999 From: fdrake@weyr.cnri.reston.va.us (Fred L. Drake) Date: Fri, 5 Mar 1999 13:30:24 -0500 Subject: [Python-checkins] CVS: python/dist/src/Doc/ref ref2.tex Message-ID: <199903051830.NAA21128@weyr.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Doc/ref In directory weyr:/home/fdrake/projects/python/Doc/ref Modified Files: ref2.tex Log Message: Added note about __builtin__._ to section dicussing classes of reserved names, just to avoid confusion on the part of users. From guido@cnri.reston.va.us Tue Mar 9 16:05:29 1999 From: guido@cnri.reston.va.us (Guido van Rossum) Date: Tue, 9 Mar 1999 11:05:29 -0500 (EST) Subject: [Python-checkins] CVS: python/dist/src/Tools/bgen/bgen macsupport.py Message-ID: <199903091605.LAA17555@eric.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Tools/bgen/bgen In directory eric:/projects/python/develop/guido/src/Tools/bgen/bgen Modified Files: macsupport.py Log Message: Small change by Jack Jansen. Test for self.returntype behaving like OSErr rather than being it. From guido@cnri.reston.va.us Tue Mar 9 16:07:24 1999 From: guido@cnri.reston.va.us (Guido van Rossum) Date: Tue, 9 Mar 1999 11:07:24 -0500 (EST) Subject: [Python-checkins] CVS: python/dist/src/Modules timemodule.c Message-ID: <199903091607.LAA17576@eric.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Modules In directory eric:/projects/python/develop/guido/src/Modules Modified Files: timemodule.c Log Message: Patch by Chris Herborth for BeOS code. He writes: I had an off-by-1000 error in floatsleep(), and the problem with time.clock() is that it's not implemented properly on QNX... ANSI says it's supposed to return _CPU_ time used by the process, but on QNX it returns the amount of real time used... so I was confused. From guido@cnri.reston.va.us Tue Mar 9 16:16:48 1999 From: guido@cnri.reston.va.us (Guido van Rossum) Date: Tue, 9 Mar 1999 11:16:48 -0500 (EST) Subject: [Python-checkins] CVS: python/dist/src/Python ceval.c Message-ID: <199903091616.LAA18994@eric.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Python In directory eric:/projects/python/develop/guido/src/Python Modified Files: ceval.c Log Message: Always test for an error return (usually NULL or -1) without setting an exception. From guido@cnri.reston.va.us Tue Mar 9 17:07:27 1999 From: guido@cnri.reston.va.us (Guido van Rossum) Date: Tue, 9 Mar 1999 12:07:27 -0500 (EST) Subject: [Python-checkins] CVS: python/dist/src/Demo/embed demo.c Message-ID: <199903091707.MAA19369@eric.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Demo/embed In directory eric:/projects/python/develop/guido/src/Demo/embed Modified Files: demo.c Log Message: Call Py_SetProgramName() instead of redefining getprogramname(), reflecting changes in the runtime around 1.5 or earlier. From fdrake@weyr.cnri.reston.va.us Tue Mar 9 18:36:58 1999 From: fdrake@weyr.cnri.reston.va.us (Fred L. Drake) Date: Tue, 9 Mar 1999 13:36:58 -0500 Subject: [Python-checkins] CVS: python/dist/src/Doc/ext ext.tex Message-ID: <199903091836.NAA05559@weyr.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Doc/ext In directory weyr:/home/fdrake/projects/python/Doc/ext Modified Files: ext.tex Log Message: Fix a number of typos and small grammatical nits pointed out by Detlef Lannert . Added a comment explaining the cast in the method table for the keyword arguments sample code, in response to another comment by Detlef. From guido@cnri.reston.va.us Tue Mar 9 19:31:24 1999 From: guido@cnri.reston.va.us (Guido van Rossum) Date: Tue, 9 Mar 1999 14:31:24 -0500 (EST) Subject: [Python-checkins] CVS: python/dist/src/Lib urllib.py Message-ID: <199903091931.OAA19666@eric.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Lib In directory eric:/projects/python/develop/guido/src/Lib Modified Files: urllib.py Log Message: open_http also had the 'data is None' test backwards. don't call with the extra argument if data is None. From guido@cnri.reston.va.us Wed Mar 10 05:10:52 1999 From: guido@cnri.reston.va.us (Guido van Rossum) Date: Wed, 10 Mar 1999 00:10:52 -0500 (EST) Subject: [Python-checkins] CVS: python/dist/src/Tools/idle ScrolledList.py Message-ID: <199903100510.AAA21365@eric.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Tools/idle In directory eric:/projects/python/develop/guido/src/Tools/idle Modified Files: ScrolledList.py Log Message: - White background. - Display "(None)" (or text of your choosing) when empty. - Don't set the focus. From guido@cnri.reston.va.us Wed Mar 10 05:13:31 1999 From: guido@cnri.reston.va.us (Guido van Rossum) Date: Wed, 10 Mar 1999 00:13:31 -0500 (EST) Subject: [Python-checkins] CVS: python/dist/src/Tools/idle MultiScrolledLists.py Message-ID: <199903100513.AAA21393@eric.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Tools/idle In directory eric:/projects/python/develop/guido/src/Tools/idle Added Files: MultiScrolledLists.py Log Message: New utility: multiple scrolled lists in parallel From guido@cnri.reston.va.us Wed Mar 10 05:17:30 1999 From: guido@cnri.reston.va.us (Guido van Rossum) Date: Wed, 10 Mar 1999 00:17:30 -0500 (EST) Subject: [Python-checkins] CVS: python/dist/src/Tools/idle PathBrowser.py Message-ID: <199903100517.AAA21413@eric.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Tools/idle In directory eric:/projects/python/develop/guido/src/Tools/idle Added Files: PathBrowser.py Log Message: "Path browser" - 4 scrolled lists displaying: directories on sys.path modules in selected directory classes in selected module methods of selected class Sinlge clicking in a directory, module or class item updates the next column with info about the selected item. Double clicking in a module, class or method item opens the file (and selects the clicked item if it is a class or method). I guess eventually I should be using a tree widget for this, but the ones I've seen don't work well enough, so for now I use the old Smalltalk or NeXT style multi-column hierarchical browser. From guido@cnri.reston.va.us Wed Mar 10 05:18:03 1999 From: guido@cnri.reston.va.us (Guido van Rossum) Date: Wed, 10 Mar 1999 00:18:03 -0500 (EST) Subject: [Python-checkins] CVS: python/dist/src/Tools/idle Bindings.py EditorWindow.py Message-ID: <199903100518.AAA21432@eric.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Tools/idle In directory eric:/projects/python/develop/guido/src/Tools/idle Modified Files: Bindings.py EditorWindow.py Log Message: Add PathBrowser to File module From fdrake@weyr.cnri.reston.va.us Wed Mar 10 17:25:33 1999 From: fdrake@weyr.cnri.reston.va.us (Fred L. Drake) Date: Wed, 10 Mar 1999 12:25:33 -0500 Subject: [Python-checkins] CVS: python/dist/src/Doc/tut tut.tex Message-ID: <199903101725.MAA08442@weyr.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Doc/tut In directory weyr:/home/fdrake/projects/python/Doc/tut Modified Files: tut.tex Log Message: Lots of nits to respond to various comments from users. From guido@cnri.reston.va.us Wed Mar 10 22:55:27 1999 From: guido@cnri.reston.va.us (Guido van Rossum) Date: Wed, 10 Mar 1999 17:55:27 -0500 (EST) Subject: [Python-checkins] CVS: python/dist/src/Objects intobject.c Message-ID: <199903102255.RAA24063@eric.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Objects In directory eric:/projects/python/develop/guido/src/Objects Modified Files: intobject.c Log Message: Patch by Vladimir Marangoz to allow freeing of the allocated blocks of integers on finalization. From guido@cnri.reston.va.us Wed Mar 10 22:55:49 1999 From: guido@cnri.reston.va.us (Guido van Rossum) Date: Wed, 10 Mar 1999 17:55:49 -0500 (EST) Subject: [Python-checkins] CVS: python/dist/src/Objects floatobject.c Message-ID: <199903102255.RAA24084@eric.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Objects In directory eric:/projects/python/develop/guido/src/Objects Modified Files: floatobject.c Log Message: Patch by Vladimir Marangoz to allow freeing of the allocated blocks of floats on finalization. From guido@cnri.reston.va.us Thu Mar 11 01:47:04 1999 From: guido@cnri.reston.va.us (Guido van Rossum) Date: Wed, 10 Mar 1999 20:47:04 -0500 (EST) Subject: [Python-checkins] CVS: python/dist/src/Objects floatobject.c Message-ID: <199903110147.UAA27554@eric.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Objects In directory eric:/projects/python/develop/guido/src/Objects Modified Files: floatobject.c Log Message: Alas, Vladimir's patch caused a bus error (probably double alignment?), and I didn't test it. Withdrawing it for now. From guido@cnri.reston.va.us Thu Mar 11 13:26:23 1999 From: guido@cnri.reston.va.us (Guido van Rossum) Date: Thu, 11 Mar 1999 08:26:23 -0500 (EST) Subject: [Python-checkins] CVS: python/dist/src/Lib/test test_popen2.py Message-ID: <199903111326.IAA28082@eric.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Lib/test In directory eric:/projects/python/develop/guido/src/Lib/test Added Files: test_popen2.py Log Message: Test for popen2 module, by Chris Tismer. From guido@cnri.reston.va.us Thu Mar 11 13:26:25 1999 From: guido@cnri.reston.va.us (Guido van Rossum) Date: Thu, 11 Mar 1999 08:26:25 -0500 (EST) Subject: [Python-checkins] CVS: python/dist/src/Lib/test/output test_popen2 Message-ID: <199903111326.IAA28100@eric.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Lib/test/output In directory eric:/projects/python/develop/guido/src/Lib/test/output Added Files: test_popen2 Log Message: Test for popen2 module, by Chris Tismer. From fdrake@weyr.cnri.reston.va.us Thu Mar 11 16:04:06 1999 From: fdrake@weyr.cnri.reston.va.us (Fred L. Drake) Date: Thu, 11 Mar 1999 11:04:06 -0500 Subject: [Python-checkins] CVS: python/dist/src/Lib mimetypes.py Message-ID: <199903111604.LAA10548@weyr.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Lib In directory weyr:/home/fdrake/projects/python/Lib Modified Files: mimetypes.py Log Message: Added .rdf and .xsl as application/xml types. (.rdf is for the Resource Description Framework, a metadata encoding, and .xsl is for the Extensible Stylesheet Language.) From guido@cnri.reston.va.us Thu Mar 11 16:37:15 1999 From: guido@cnri.reston.va.us (Guido van Rossum) Date: Thu, 11 Mar 1999 11:37:15 -0500 (EST) Subject: [Python-checkins] CVS: python/dist/src/Tools/idle PathBrowser.py Message-ID: <199903111637.LAA28402@eric.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Tools/idle In directory eric:/projects/python/develop/guido/src/Tools/idle Modified Files: PathBrowser.py Log Message: - Don't crash in the case where a superclass is a string instead of a pyclbr.Class object; this can happen when the superclass is unrecognizable (to pyclbr), e.g. when module renaming is used. - Show a watch cursor when calling pyclbr (since it may take a while recursively parsing imported modules!). From guido@cnri.reston.va.us Thu Mar 11 16:51:25 1999 From: guido@cnri.reston.va.us (Guido van Rossum) Date: Thu, 11 Mar 1999 11:51:25 -0500 (EST) Subject: [Python-checkins] CVS: python/dist/src/Tools/idle Outline.py Message-ID: <199903111651.LAA28474@eric.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Tools/idle In directory eric:/projects/python/develop/guido/src/Tools/idle Removed Files: Outline.py Log Message: This file was never supposed to be part of IDLE. From fdrake@weyr.cnri.reston.va.us Thu Mar 11 17:35:14 1999 From: fdrake@weyr.cnri.reston.va.us (Fred L. Drake) Date: Thu, 11 Mar 1999 12:35:14 -0500 Subject: [Python-checkins] CVS: python/dist/src/Doc/tools/sgmlconv docfixer.py Message-ID: <199903111735.MAA11168@weyr.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Doc/tools/sgmlconv In directory weyr:/home/fdrake/projects/python/Doc/tools/sgmlconv Modified Files: docfixer.py Log Message: Add support for , some cleanup of module section after creating the . From guido@cnri.reston.va.us Thu Mar 11 23:21:26 1999 From: guido@cnri.reston.va.us (Guido van Rossum) Date: Thu, 11 Mar 1999 18:21:26 -0500 (EST) Subject: [Python-checkins] CVS: python/dist/src/Tools/idle PathBrowser.py Message-ID: <199903112321.SAA29235@eric.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Tools/idle In directory eric:/projects/python/develop/guido/src/Tools/idle Modified Files: PathBrowser.py Log Message: Don't crash when sys.path contains an empty string. From guido@cnri.reston.va.us Fri Mar 12 00:12:24 1999 From: guido@cnri.reston.va.us (Guido van Rossum) Date: Thu, 11 Mar 1999 19:12:24 -0500 (EST) Subject: [Python-checkins] CVS: python/dist/src/Objects floatobject.c Message-ID: <199903120012.TAA29456@eric.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Objects In directory eric:/projects/python/develop/guido/src/Objects Modified Files: floatobject.c Log Message: OK, try again. Vladimir gave me a fix for the alignment bus error, so here's his patch again. This time it works (at least on Solaris, Linux and Irix). From guido@cnri.reston.va.us Fri Mar 12 14:31:13 1999 From: guido@cnri.reston.va.us (Guido van Rossum) Date: Fri, 12 Mar 1999 09:31:13 -0500 (EST) Subject: [Python-checkins] CVS: python/dist/src/Lib urllib.py nturl2path.py Message-ID: <199903121431.JAA29895@eric.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Lib In directory eric:/projects/python/develop/guido/src/Lib Modified Files: urllib.py nturl2path.py Log Message: From: Sjoerd Mullender The filename to URL conversion didn't properly quote special characters. The URL to filename didn't properly unquote special chatacters. From fdrake@weyr.cnri.reston.va.us Fri Mar 12 15:27:37 1999 From: fdrake@weyr.cnri.reston.va.us (Fred L. Drake) Date: Fri, 12 Mar 1999 10:27:37 -0500 Subject: [Python-checkins] CVS: python/dist/src/Doc/lib libjpeg.tex Message-ID: <199903121527.KAA26319@weyr.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Doc/lib In directory weyr:/home/fdrake/projects/python/Doc/lib Modified Files: libjpeg.tex Log Message: Updates based on comments from /F. From fdrake@weyr.cnri.reston.va.us Fri Mar 12 16:24:24 1999 From: fdrake@weyr.cnri.reston.va.us (Fred L. Drake) Date: Fri, 12 Mar 1999 11:24:24 -0500 Subject: [Python-checkins] CVS: python/dist/src/Doc/lib libal.tex libfl.tex libgl.tex libpopen2.tex Message-ID: <199903121624.LAA27061@weyr.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Doc/lib In directory weyr:/home/fdrake/projects/python/Doc/lib Modified Files: libal.tex libfl.tex libgl.tex libpopen2.tex Log Message: Fixup the module keys. There were some problems with hosting / processing file HTML files on Windows machines do to case insensitivity. From fdrake@weyr.cnri.reston.va.us Fri Mar 12 18:21:35 1999 From: fdrake@weyr.cnri.reston.va.us (Fred L. Drake) Date: Fri, 12 Mar 1999 13:21:35 -0500 Subject: [Python-checkins] CVS: python/dist/src/Doc/tut tut.tex Message-ID: <199903121821.NAA27738@weyr.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Doc/tut In directory weyr:/home/fdrake/projects/python/Doc/tut Modified Files: tut.tex Log Message: Fixed grammatical error reported by Donald Wallace Rouse II . From fdrake@weyr.cnri.reston.va.us Fri Mar 12 18:34:22 1999 From: fdrake@weyr.cnri.reston.va.us (Fred L. Drake) Date: Fri, 12 Mar 1999 13:34:22 -0500 Subject: [Python-checkins] CVS: python/dist/src/Doc/lib libgetpass.tex Message-ID: <199903121834.NAA27789@weyr.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Doc/lib In directory weyr:/home/fdrake/projects/python/Doc/lib Modified Files: libgetpass.tex Log Message: Added availabililty annotations to respond to concerns of /F. From guido@cnri.reston.va.us Fri Mar 12 19:05:51 1999 From: guido@cnri.reston.va.us (Guido van Rossum) Date: Fri, 12 Mar 1999 14:05:51 -0500 (EST) Subject: [Python-checkins] CVS: python/dist/src/Demo/pdist rcsbump rcvs rrcs Message-ID: <199903121905.OAA01835@eric.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Demo/pdist In directory eric:/projects/python/develop/guido/src/Demo/pdist Modified Files: rcsbump rcvs rrcs Log Message: Change #! line to modern usage From guido@cnri.reston.va.us Fri Mar 12 19:08:00 1999 From: guido@cnri.reston.va.us (Guido van Rossum) Date: Fri, 12 Mar 1999 14:08:00 -0500 (EST) Subject: [Python-checkins] CVS: python/dist/src/Demo/zlib minigzip.py zlibdemo.py Message-ID: <199903121908.OAA01875@eric.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Demo/zlib In directory eric:/projects/python/develop/guido/src/Demo/zlib Modified Files: minigzip.py zlibdemo.py Log Message: Change #! line to modern usage; also chmod +x From guido@cnri.reston.va.us Fri Mar 12 19:31:49 1999 From: guido@cnri.reston.va.us (Guido van Rossum) Date: Fri, 12 Mar 1999 14:31:49 -0500 (EST) Subject: [Python-checkins] CVS: python/dist/src/Lib/plat-irix5 AWARE.py Message-ID: <199903121931.OAA02070@eric.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Lib/plat-irix5 In directory eric:/projects/python/develop/guido/src/Lib/plat-irix5 Removed Files: AWARE.py Log Message: Remove stuff with unsure copyright status From guido@cnri.reston.va.us Fri Mar 12 19:31:53 1999 From: guido@cnri.reston.va.us (Guido van Rossum) Date: Fri, 12 Mar 1999 14:31:53 -0500 (EST) Subject: [Python-checkins] CVS: python/dist/src/Lib/plat-irix6 AWARE.py Message-ID: <199903121931.OAA02085@eric.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Lib/plat-irix6 In directory eric:/projects/python/develop/guido/src/Lib/plat-irix6 Removed Files: AWARE.py Log Message: Remove stuff with unsure copyright status From guido@cnri.reston.va.us Fri Mar 12 19:43:02 1999 From: guido@cnri.reston.va.us (Guido van Rossum) Date: Fri, 12 Mar 1999 14:43:02 -0500 (EST) Subject: [Python-checkins] CVS: python/dist/src/Objects intobject.c Message-ID: <199903121943.OAA02133@eric.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Objects In directory eric:/projects/python/develop/guido/src/Objects Modified Files: intobject.c Log Message: Vladimir has restructured his code somewhat so that the blocks are now represented by an explicit structure. (There are still too many casts in the code, but that may be unavoidable.) Also added code so that with -vv it is very chatty about what it does. From guido@cnri.reston.va.us Fri Mar 12 19:43:19 1999 From: guido@cnri.reston.va.us (Guido van Rossum) Date: Fri, 12 Mar 1999 14:43:19 -0500 (EST) Subject: [Python-checkins] CVS: python/dist/src/Objects floatobject.c Message-ID: <199903121943.OAA02151@eric.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Objects In directory eric:/projects/python/develop/guido/src/Objects Modified Files: floatobject.c Log Message: Vladimir has restructured his code somewhat so that the blocks are now represented by an explicit structure. (There are still too many casts in the code, but that may be unavoidable.) Also added code so that with -vv it is very chatty about what it does. From fdrake@weyr.cnri.reston.va.us Fri Mar 12 19:57:40 1999 From: fdrake@weyr.cnri.reston.va.us (Fred L. Drake) Date: Fri, 12 Mar 1999 14:57:40 -0500 Subject: [Python-checkins] CVS: python/dist/src/Doc/lib libthreading.tex Message-ID: <199903121957.OAA29034@weyr.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Doc/lib In directory weyr:/home/fdrake/projects/python/Doc/lib Modified Files: libthreading.tex Log Message: Fixed tons of small markup problems. From guido@cnri.reston.va.us Fri Mar 12 22:07:08 1999 From: guido@cnri.reston.va.us (Guido van Rossum) Date: Fri, 12 Mar 1999 17:07:08 -0500 (EST) Subject: [Python-checkins] CVS: python/dist/src/Tools/freeze freeze.py Message-ID: <199903122207.RAA05985@eric.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Tools/freeze In directory eric:/projects/python/develop/guido/src/Tools/freeze Modified Files: freeze.py Log Message: 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.) From guido@cnri.reston.va.us Fri Mar 12 22:15:45 1999 From: guido@cnri.reston.va.us (Guido van Rossum) Date: Fri, 12 Mar 1999 17:15:45 -0500 (EST) Subject: [Python-checkins] CVS: python/dist/src/Lib cmd.py Message-ID: <199903122215.RAA06042@eric.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Lib In directory eric:/projects/python/develop/guido/src/Lib Modified Files: cmd.py Log Message: 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] From fdrake@weyr.cnri.reston.va.us Mon Mar 15 15:44:20 1999 From: fdrake@weyr.cnri.reston.va.us (Fred L. Drake) Date: Mon, 15 Mar 1999 10:44:20 -0500 Subject: [Python-checkins] CVS: python/dist/src/Doc/lib libmhlib.tex libtelnetlib.tex lib.tex Message-ID: <199903151544.KAA02116@weyr.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Doc/lib In directory weyr:/home/fdrake/projects/python/Doc/lib Modified Files: lib.tex Added Files: libmhlib.tex libtelnetlib.tex Log Message: Preliminary mhlib and telnetlib documents from Skip Montanaro -- thanks, Skip! From fdrake@weyr.cnri.reston.va.us Mon Mar 15 15:47:32 1999 From: fdrake@weyr.cnri.reston.va.us (Fred L. Drake) Date: Mon, 15 Mar 1999 10:47:32 -0500 Subject: [Python-checkins] CVS: python/dist/src/Doc Makefile.deps Message-ID: <199903151547.KAA02157@weyr.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Doc In directory weyr:/home/fdrake/projects/python/Doc Modified Files: Makefile.deps Log Message: Added the new sections from Skip Montanaro. From guido@cnri.reston.va.us Mon Mar 15 16:16:32 1999 From: guido@cnri.reston.va.us (Guido van Rossum) Date: Mon, 15 Mar 1999 11:16:32 -0500 (EST) Subject: [Python-checkins] CVS: python/dist/src/Lib urllib.py Message-ID: <199903151616.LAA07532@eric.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Lib In directory eric:/projects/python/develop/guido/src/Lib Modified Files: urllib.py Log Message: Yet another patch by Sjoerd Mullender: Don't convert URLs to URLs using pathname2url. From guido@cnri.reston.va.us Mon Mar 15 16:37:56 1999 From: guido@cnri.reston.va.us (Guido van Rossum) Date: Mon, 15 Mar 1999 11:37:56 -0500 (EST) Subject: [Python-checkins] CVS: python/dist/src/Tools/bgen/bgen bgenObjectDefinition.py Message-ID: <199903151637.LAA07652@eric.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Tools/bgen/bgen In directory eric:/projects/python/develop/guido/src/Tools/bgen/bgen Modified Files: bgenObjectDefinition.py Log Message: 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... From guido@cnri.reston.va.us Mon Mar 15 20:27:56 1999 From: guido@cnri.reston.va.us (Guido van Rossum) Date: Mon, 15 Mar 1999 15:27:56 -0500 (EST) Subject: [Python-checkins] CVS: python/dist/src/Python thread_pthread.h Message-ID: <199903152027.PAA08154@eric.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Python In directory eric:/projects/python/develop/guido/src/Python Modified Files: thread_pthread.h Log Message: 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?] From guido@cnri.reston.va.us Mon Mar 15 21:40:16 1999 From: guido@cnri.reston.va.us (Guido van Rossum) Date: Mon, 15 Mar 1999 16:40:16 -0500 (EST) Subject: [Python-checkins] CVS: python/dist/src/Modules socketmodule.c Message-ID: <199903152140.QAA12423@eric.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Modules In directory eric:/projects/python/develop/guido/src/Modules Modified Files: socketmodule.c Log Message: Patch by Rob Riggs for Linux -- glibc2 has a different argument converntion for gethostbyname_r() etc. than Solaris! From guido@cnri.reston.va.us Mon Mar 15 21:41:01 1999 From: guido@cnri.reston.va.us (Guido van Rossum) Date: Mon, 15 Mar 1999 16:41:01 -0500 (EST) Subject: [Python-checkins] CVS: python/dist/src configure.in Message-ID: <199903152141.QAA12446@eric.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src In directory eric:/projects/python/develop/guido/src Modified Files: configure.in Log Message: Should test for gethost*by*name_r, not for gethostname_r (which doesn't exist and doesn't make sense). From fdrake@weyr.cnri.reston.va.us Tue Mar 16 14:17:49 1999 From: fdrake@weyr.cnri.reston.va.us (Fred L. Drake) Date: Tue, 16 Mar 1999 09:17:49 -0500 Subject: [Python-checkins] CVS: python/dist/src/Modules cmathmodule.c Message-ID: <199903161417.JAA03873@weyr.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Modules In directory weyr:/home/fdrake/projects/python/Modules Modified Files: cmathmodule.c Log Message: Docstring fix: acosh() returns the hyperbolic arccosine, not the hyperbolic cosine. Problem report via David Ascher by one of his students. From fdrake@weyr.cnri.reston.va.us Tue Mar 16 15:49:53 1999 From: fdrake@weyr.cnri.reston.va.us (Fred L. Drake) Date: Tue, 16 Mar 1999 10:49:53 -0500 Subject: [Python-checkins] CVS: python/dist/src/Doc/doc - New directory Message-ID: <199903161549.KAA04171@weyr.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Doc/doc In directory weyr:/home/fdrake/projects/python/Doc/doc Log Message: Directory /projects/cvsroot/python/dist/src/Doc/doc added to the repository From fdrake@weyr.cnri.reston.va.us Tue Mar 16 16:08:28 1999 From: fdrake@weyr.cnri.reston.va.us (Fred L. Drake) Date: Tue, 16 Mar 1999 11:08:28 -0500 Subject: [Python-checkins] CVS: python/dist/src/Doc/texinputs ltxmarkup.sty Message-ID: <199903161608.LAA04356@weyr.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Doc/texinputs In directory weyr:/home/fdrake/projects/python/Doc/texinputs Added Files: ltxmarkup.sty Log Message: Markup for documenting LaTeX macros and environments. From fdrake@weyr.cnri.reston.va.us Tue Mar 16 16:09:15 1999 From: fdrake@weyr.cnri.reston.va.us (Fred L. Drake) Date: Tue, 16 Mar 1999 11:09:15 -0500 Subject: [Python-checkins] CVS: python/dist/src/Doc/doc doc.tex Message-ID: <199903161609.LAA04379@weyr.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Doc/doc In directory weyr:/home/fdrake/projects/python/Doc/doc Added Files: doc.tex Log Message: New document: "Documenting Python". From fdrake@weyr.cnri.reston.va.us Tue Mar 16 16:10:33 1999 From: fdrake@weyr.cnri.reston.va.us (Fred L. Drake) Date: Tue, 16 Mar 1999 11:10:33 -0500 Subject: [Python-checkins] CVS: python/dist/src/Doc/templates howto.tex Message-ID: <199903161610.LAA04409@weyr.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Doc/templates In directory weyr:/home/fdrake/projects/python/Doc/templates Modified Files: howto.tex Log Message: Removed the embedded sections showing module documentation; just \input the module template. From fdrake@weyr.cnri.reston.va.us Tue Mar 16 16:11:27 1999 From: fdrake@weyr.cnri.reston.va.us (Fred L. Drake) Date: Tue, 16 Mar 1999 11:11:27 -0500 Subject: [Python-checkins] CVS: python/dist/src/Doc Makefile Makefile.deps Message-ID: <199903161611.LAA04437@weyr.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Doc In directory weyr:/home/fdrake/projects/python/Doc Modified Files: Makefile Makefile.deps Log Message: Add support for "Documenting Python". From fdrake@weyr.cnri.reston.va.us Tue Mar 16 16:11:28 1999 From: fdrake@weyr.cnri.reston.va.us (Fred L. Drake) Date: Tue, 16 Mar 1999 11:11:28 -0500 Subject: [Python-checkins] CVS: python/dist/src/Doc/paper-letter Makefile Message-ID: <199903161611.LAA04447@weyr.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Doc/paper-letter In directory weyr:/home/fdrake/projects/python/Doc/paper-letter Modified Files: Makefile Log Message: Add support for "Documenting Python". From fdrake@weyr.cnri.reston.va.us Tue Mar 16 16:14:51 1999 From: fdrake@weyr.cnri.reston.va.us (Fred L. Drake) Date: Tue, 16 Mar 1999 11:14:51 -0500 Subject: [Python-checkins] CVS: python/dist/src/Doc/paper-letter .cvsignore Message-ID: <199903161614.LAA04500@weyr.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Doc/paper-letter In directory weyr:/home/fdrake/projects/python/Doc/paper-letter Modified Files: .cvsignore Log Message: Ignore some more files kept by mkhowto --keep. From fdrake@weyr.cnri.reston.va.us Tue Mar 16 16:14:53 1999 From: fdrake@weyr.cnri.reston.va.us (Fred L. Drake) Date: Tue, 16 Mar 1999 11:14:53 -0500 Subject: [Python-checkins] CVS: python/dist/src/Doc/paper-a4 .cvsignore Message-ID: <199903161614.LAA04511@weyr.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Doc/paper-a4 In directory weyr:/home/fdrake/projects/python/Doc/paper-a4 Modified Files: .cvsignore Log Message: Ignore some more files kept by mkhowto --keep. From fdrake@weyr.cnri.reston.va.us Tue Mar 16 16:40:02 1999 From: fdrake@weyr.cnri.reston.va.us (Fred L. Drake) Date: Tue, 16 Mar 1999 11:40:02 -0500 Subject: [Python-checkins] CVS: python/dist/src/Doc/lib libfnmatch.tex libglob.tex Message-ID: <199903161640.LAA04572@weyr.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Doc/lib In directory weyr:/home/fdrake/projects/python/Doc/lib Modified Files: libfnmatch.tex libglob.tex Log Message: Fixed minor nits, added index entries to make these easier to find for people not familiar with Unix terminology. From guido@cnri.reston.va.us Tue Mar 16 21:54:53 1999 From: guido@cnri.reston.va.us (Guido van Rossum) Date: Tue, 16 Mar 1999 16:54:53 -0500 (EST) Subject: [Python-checkins] CVS: python/dist/src/Lib/lib-tk Tkinter.py Message-ID: <199903162154.QAA13999@eric.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Lib/lib-tk In directory eric:/projects/python/develop/guido/src/Lib/lib-tk Modified Files: Tkinter.py Log Message: 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. From fdrake@weyr.cnri.reston.va.us Wed Mar 17 16:06:53 1999 From: fdrake@weyr.cnri.reston.va.us (Fred L. Drake) Date: Wed, 17 Mar 1999 11:06:53 -0500 Subject: [Python-checkins] CVS: python/dist/src/Doc Makefile Message-ID: <199903171606.LAA08056@weyr.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Doc In directory weyr:/home/fdrake/projects/python/Doc Modified Files: Makefile Log Message: Be sure "make" understands the "doc" target is phony. From guido@cnri.reston.va.us Wed Mar 17 18:44:42 1999 From: guido@cnri.reston.va.us (Guido van Rossum) Date: Wed, 17 Mar 1999 13:44:42 -0500 (EST) Subject: [Python-checkins] CVS: python/dist/src/Include abstract.h ceval.h Message-ID: <199903171844.NAA23444@eric.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Include In directory eric:/projects/python/develop/guido/src/Include Modified Files: abstract.h ceval.h Log Message: Add DLL level b/w compat for PySequence_In and PyEval_CallObject From fdrake@weyr.cnri.reston.va.us Wed Mar 17 22:25:13 1999 From: fdrake@weyr.cnri.reston.va.us (Fred L. Drake) Date: Wed, 17 Mar 1999 17:25:13 -0500 Subject: [Python-checkins] CVS: python/dist/src/Doc/lib libposixpath.tex Message-ID: <199903172225.RAA08896@weyr.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Doc/lib In directory weyr:/home/fdrake/projects/python/Doc/lib Modified Files: libposixpath.tex Log Message: Note that abspath() was added in 1.5.2. From guido@cnri.reston.va.us Wed Mar 17 22:30:11 1999 From: guido@cnri.reston.va.us (Guido van Rossum) Date: Wed, 17 Mar 1999 17:30:11 -0500 (EST) Subject: [Python-checkins] CVS: python/dist/src/Lib urlparse.py Message-ID: <199903172230.RAA23739@eric.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Lib In directory eric:/projects/python/develop/guido/src/Lib Modified Files: urlparse.py Log Message: 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. From guido@cnri.reston.va.us Thu Mar 18 14:21:44 1999 From: guido@cnri.reston.va.us (Guido van Rossum) Date: Thu, 18 Mar 1999 09:21:44 -0500 (EST) Subject: [Python-checkins] CVS: python/dist/src/Lib nturl2path.py Message-ID: <199903181421.JAA25782@eric.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Lib In directory eric:/projects/python/develop/guido/src/Lib Modified Files: nturl2path.py Log Message: 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. From fdrake@weyr.cnri.reston.va.us Thu Mar 18 14:57:56 1999 From: fdrake@weyr.cnri.reston.va.us (Fred L. Drake) Date: Thu, 18 Mar 1999 09:57:56 -0500 Subject: [Python-checkins] CVS: python/dist/src/Doc/tools getpagecounts Message-ID: <199903181457.JAA10891@weyr.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Doc/tools In directory weyr:/home/fdrake/projects/python/Doc/tools Modified Files: getpagecounts Log Message: 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. From guido@cnri.reston.va.us Thu Mar 18 15:10:45 1999 From: guido@cnri.reston.va.us (Guido van Rossum) Date: Thu, 18 Mar 1999 10:10:45 -0500 (EST) Subject: [Python-checkins] CVS: python/dist/src/Lib urlparse.py Message-ID: <199903181510.KAA25958@eric.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Lib In directory eric:/projects/python/develop/guido/src/Lib Modified Files: urlparse.py Log Message: 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. From fdrake@weyr.cnri.reston.va.us Thu Mar 18 16:08:56 1999 From: fdrake@weyr.cnri.reston.va.us (Fred L. Drake) Date: Thu, 18 Mar 1999 11:08:56 -0500 Subject: [Python-checkins] CVS: python/dist/src/Doc/lib libftplib.tex Message-ID: <199903181608.LAA11408@weyr.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Doc/lib In directory weyr:/home/fdrake/projects/python/Doc/lib Modified Files: libftplib.tex Log Message: Documented FTP.set_pasv(). From fdrake@weyr.cnri.reston.va.us Thu Mar 18 16:18:29 1999 From: fdrake@weyr.cnri.reston.va.us (Fred L. Drake) Date: Thu, 18 Mar 1999 11:18:29 -0500 Subject: [Python-checkins] CVS: python/dist/src/Doc/texinputs python.sty Message-ID: <199903181618.LAA11451@weyr.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Doc/texinputs In directory weyr:/home/fdrake/projects/python/Doc/texinputs Modified Files: python.sty Log Message: 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. From fdrake@weyr.cnri.reston.va.us Thu Mar 18 16:42:30 1999 From: fdrake@weyr.cnri.reston.va.us (Fred L. Drake) Date: Thu, 18 Mar 1999 11:42:30 -0500 Subject: [Python-checkins] CVS: python/dist/src/Doc/perl ltxmarkup.perl Message-ID: <199903181642.LAA11629@weyr.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Doc/perl In directory weyr:/home/fdrake/projects/python/Doc/perl Added Files: ltxmarkup.perl Log Message: LaTeX2HTML support for the ltxmarkup package. From fdrake@weyr.cnri.reston.va.us Thu Mar 18 19:07:05 1999 From: fdrake@weyr.cnri.reston.va.us (Fred L. Drake) Date: Thu, 18 Mar 1999 14:07:05 -0500 Subject: [Python-checkins] CVS: python/dist/src/Doc/html Makefile Message-ID: <199903181907.OAA11915@weyr.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Doc/html In directory weyr:/home/fdrake/projects/python/Doc/html Modified Files: Makefile Log Message: Add "Documenting Python" to the list of processed documents. From fdrake@weyr.cnri.reston.va.us Thu Mar 18 19:08:49 1999 From: fdrake@weyr.cnri.reston.va.us (Fred L. Drake) Date: Thu, 18 Mar 1999 14:08:49 -0500 Subject: [Python-checkins] CVS: python/dist/src/Doc Makefile Message-ID: <199903181908.OAA11937@weyr.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Doc In directory weyr:/home/fdrake/projects/python/Doc Modified Files: Makefile Log Message: Added htmldoc, to generate the HTML for "Documenting Python". From guido@cnri.reston.va.us Fri Mar 19 19:04:28 1999 From: guido@cnri.reston.va.us (Guido van Rossum) Date: Fri, 19 Mar 1999 14:04:28 -0500 (EST) Subject: [Python-checkins] CVS: python/dist/src/Objects bufferobject.c Message-ID: <199903191904.OAA29020@eric.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Objects In directory eric:/projects/python/develop/guido/src/Objects Modified Files: bufferobject.c Log Message: Added check for negative offset for PyBuffer_FromObject and check for negative size for PyBuffer_FromMemory. Greg Stein. From guido@cnri.reston.va.us Fri Mar 19 19:07:21 1999 From: guido@cnri.reston.va.us (Guido van Rossum) Date: Fri, 19 Mar 1999 14:07:21 -0500 (EST) Subject: [Python-checkins] CVS: python/dist/src/Python bltinmodule.c Message-ID: <199903191907.OAA29039@eric.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Python In directory eric:/projects/python/develop/guido/src/Python Modified Files: bltinmodule.c Log Message: New builtin buffer() creates a derived read-only buffer from any object that supports the buffer interface (e.g. strings, arrays). From guido@cnri.reston.va.us Fri Mar 19 19:08:05 1999 From: guido@cnri.reston.va.us (Guido van Rossum) Date: Fri, 19 Mar 1999 14:08:05 -0500 (EST) Subject: [Python-checkins] CVS: python/dist/src/Lib types.py Message-ID: <199903191908.OAA29058@eric.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Lib In directory eric:/projects/python/develop/guido/src/Lib Modified Files: types.py Log Message: Added BufferType, the type returned by the new builtin buffer(). Greg Stein. From guido@cnri.reston.va.us Fri Mar 19 19:10:15 1999 From: guido@cnri.reston.va.us (Guido van Rossum) Date: Fri, 19 Mar 1999 14:10:15 -0500 (EST) Subject: [Python-checkins] CVS: python/dist/src/Doc/lib libfuncs.tex Message-ID: <199903191910.OAA29078@eric.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Doc/lib In directory eric:/projects/python/develop/guido/Doc/lib Modified Files: libfuncs.tex Log Message: Document new builtin buffer(). Greg Stein. From guido@cnri.reston.va.us Fri Mar 19 20:30:41 1999 From: guido@cnri.reston.va.us (Guido van Rossum) Date: Fri, 19 Mar 1999 15:30:41 -0500 (EST) Subject: [Python-checkins] CVS: python/dist/src/Objects intobject.c Message-ID: <199903192030.PAA03238@eric.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Objects In directory eric:/projects/python/develop/guido/src/Objects Modified Files: intobject.c Log Message: 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. From guido@cnri.reston.va.us Fri Mar 19 20:59:43 1999 From: guido@cnri.reston.va.us (Guido van Rossum) Date: Fri, 19 Mar 1999 15:59:43 -0500 (EST) Subject: [Python-checkins] CVS: python/dist/src/Objects floatobject.c Message-ID: <199903192059.PAA03395@eric.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Objects In directory eric:/projects/python/develop/guido/src/Objects Modified Files: floatobject.c Log Message: 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. From guido@cnri.reston.va.us Fri Mar 19 21:03:56 1999 From: guido@cnri.reston.va.us (Guido van Rossum) Date: Fri, 19 Mar 1999 16:03:56 -0500 (EST) Subject: [Python-checkins] CVS: python/dist/src/Lib ntpath.py Message-ID: <199903192103.QAA03446@eric.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Lib In directory eric:/projects/python/develop/guido/src/Lib Modified Files: ntpath.py Log Message: New code for split() by Tim Peters, behaves more like posixpath.split(). From guido@cnri.reston.va.us Fri Mar 19 21:05:14 1999 From: guido@cnri.reston.va.us (Guido van Rossum) Date: Fri, 19 Mar 1999 16:05:14 -0500 (EST) Subject: [Python-checkins] CVS: python/dist/src/Lib dospath.py Message-ID: <199903192105.QAA03468@eric.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Lib In directory eric:/projects/python/develop/guido/src/Lib Modified Files: dospath.py Log Message: New code for split() by Tim Peters, behaves more like posixpath.split(). From guido@cnri.reston.va.us Fri Mar 19 21:50:12 1999 From: guido@cnri.reston.va.us (Guido van Rossum) Date: Fri, 19 Mar 1999 16:50:12 -0500 (EST) Subject: [Python-checkins] CVS: python/dist/src/Modules arraymodule.c Message-ID: <199903192150.QAA04267@eric.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Modules In directory eric:/projects/python/develop/guido/src/Modules Modified Files: arraymodule.c Log Message: Use an unsigned cast to avoid a warning in VC++. From guido@cnri.reston.va.us Mon Mar 22 15:28:11 1999 From: guido@cnri.reston.va.us (Guido van Rossum) Date: Mon, 22 Mar 1999 10:28:11 -0500 (EST) Subject: [Python-checkins] CVS: python/dist/src/Lib shlex.py Message-ID: <199903221528.KAA05911@eric.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Lib In directory eric:/projects/python/develop/guido/src/Lib Modified Files: shlex.py Log Message: Bug reported by Tobias Thelen: missing "self." in assignment target. From akuchlin@cnri.reston.va.us Mon Mar 22 19:23:21 1999 From: akuchlin@cnri.reston.va.us (Andrew M. Kuchling) Date: Mon, 22 Mar 1999 14:23:21 -0500 (EST) Subject: [Python-checkins] CVS: python/dist/src/Lib/test test_zlib.py Message-ID: <199903221923.OAA25217@amarok.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Lib/test In directory amarok:/home/akuchlin/src/Python-1.5/Lib/test Modified Files: test_zlib.py Log Message: Added simple test for the flush() method of compression objects, trying the different flush values Z_NO_FLUSH, Z_SYNC_FLUSH, Z_FULL_FLUSH. From akuchlin@cnri.reston.va.us Mon Mar 22 19:25:32 1999 From: akuchlin@cnri.reston.va.us (Andrew M. Kuchling) Date: Mon, 22 Mar 1999 14:25:32 -0500 (EST) Subject: [Python-checkins] CVS: python/dist/src/Modules zlibmodule.c Message-ID: <199903221925.OAA25241@amarok.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Modules In directory amarok:/home/akuchlin/src/Python-1.5/Modules Modified Files: zlibmodule.c Log Message: 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. From guido@cnri.reston.va.us Mon Mar 22 20:14:55 1999 From: guido@cnri.reston.va.us (Guido van Rossum) Date: Mon, 22 Mar 1999 15:14:55 -0500 (EST) Subject: [Python-checkins] CVS: python/dist/src/Modules socketmodule.c Message-ID: <199903222014.PAA07066@eric.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Modules In directory eric:/projects/python/develop/guido/src/Modules Modified Files: socketmodule.c Log Message: 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. From guido@cnri.reston.va.us Mon Mar 22 21:44:54 1999 From: guido@cnri.reston.va.us (Guido van Rossum) Date: Mon, 22 Mar 1999 16:44:54 -0500 (EST) Subject: [Python-checkins] CVS: python/dist/src/Modules socketmodule.c Message-ID: <199903222144.QAA07672@eric.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Modules In directory eric:/projects/python/develop/guido/src/Modules Modified Files: socketmodule.c Log Message: 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.") From guido@cnri.reston.va.us Mon Mar 22 21:45:32 1999 From: guido@cnri.reston.va.us (Guido van Rossum) Date: Mon, 22 Mar 1999 16:45:32 -0500 (EST) Subject: [Python-checkins] CVS: python/dist/src acconfig.h Message-ID: <199903222145.QAA07691@eric.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src In directory eric:/projects/python/develop/guido/src Modified Files: acconfig.h Log Message: Add symbols for gethostbyname_r variants (sigh). From guido@cnri.reston.va.us Mon Mar 22 21:46:08 1999 From: guido@cnri.reston.va.us (Guido van Rossum) Date: Mon, 22 Mar 1999 16:46:08 -0500 (EST) Subject: [Python-checkins] CVS: python/dist/src config.h.in Message-ID: <199903222146.QAA07711@eric.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src In directory eric:/projects/python/develop/guido/src Modified Files: config.h.in Log Message: Add symbols for gethostbyname_r variants (sigh). From guido@cnri.reston.va.us Mon Mar 22 21:49:53 1999 From: guido@cnri.reston.va.us (Guido van Rossum) Date: Mon, 22 Mar 1999 16:49:53 -0500 (EST) Subject: [Python-checkins] CVS: python/dist/src configure configure.in Message-ID: <199903222149.QAA08124@eric.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src In directory eric:/projects/python/develop/guido/src Modified Files: configure configure.in Log Message: Add code to test for all sorts of gethostbyname_r variants, donated by David Arnold. From guido@cnri.reston.va.us Mon Mar 22 22:25:41 1999 From: guido@cnri.reston.va.us (Guido van Rossum) Date: Mon, 22 Mar 1999 17:25:41 -0500 (EST) Subject: [Python-checkins] CVS: python/dist/src/Include thread.h Message-ID: <199903222225.RAA08506@eric.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Include In directory eric:/projects/python/develop/guido/src/Include Added Files: thread.h Log Message: Adding thread.h -- unused but for b/w compatibility. As requested by Bill Janssen. From guido@cnri.reston.va.us Tue Mar 23 16:40:38 1999 From: guido@cnri.reston.va.us (Guido van Rossum) Date: Tue, 23 Mar 1999 11:40:38 -0500 (EST) Subject: [Python-checkins] CVS: python/dist/src configure.in configure Message-ID: <199903231640.LAA13552@eric.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src In directory eric:/projects/python/develop/guido/src Modified Files: configure.in configure Log Message: Ack! It never defined HAVE_GETHOSTBYNAME_R so that code was never tested! From guido@cnri.reston.va.us Tue Mar 23 19:00:58 1999 From: guido@cnri.reston.va.us (Guido van Rossum) Date: Tue, 23 Mar 1999 14:00:58 -0500 (EST) Subject: [Python-checkins] CVS: python/dist/src/Modules Makefile.pre.in Message-ID: <199903231900.OAA17577@eric.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Modules In directory eric:/projects/python/develop/guido/src/Modules Modified Files: Makefile.pre.in Log Message: Add $(EXE) to various occurrences of python so it will work on Cygwin with egcs (after setting EXE=.exe). Patch by Norman Vine. From jhylton@cnri.reston.va.us Tue Mar 23 23:05:36 1999 From: jhylton@cnri.reston.va.us (Jeremy Hylton) Date: Tue, 23 Mar 1999 18:05:36 -0500 (EST) Subject: [Python-checkins] CVS: python/dist/src/Lib gzip.py Message-ID: <199903232305.SAA00736@bitdiddle.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Lib In directory bitdiddle:/local/home/jhylton/local/python/src/Lib Modified Files: gzip.py Log Message: use struct instead of bit-manipulate in Python From fdrake@weyr.cnri.reston.va.us Wed Mar 24 14:16:20 1999 From: fdrake@weyr.cnri.reston.va.us (Fred L. Drake) Date: Wed, 24 Mar 1999 09:16:20 -0500 Subject: [Python-checkins] CVS: python/dist/src/Doc/texinputs python.sty Message-ID: <199903241416.JAA28438@weyr.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Doc/texinputs In directory weyr:/home/fdrake/projects/python/Doc/texinputs Modified Files: python.sty Log Message: Use more recent option to \pdfdest to not change the zoom factor. This is in response to a comment from Wes Rishel . From guido@cnri.reston.va.us Wed Mar 24 16:20:46 1999 From: guido@cnri.reston.va.us (Guido van Rossum) Date: Wed, 24 Mar 1999 11:20:46 -0500 (EST) Subject: [Python-checkins] CVS: python/dist/src/Lib mailbox.py Message-ID: <199903241620.LAA19914@eric.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Lib In directory eric:/projects/python/develop/guido/src/Lib Modified Files: mailbox.py Log Message: 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. From guido@cnri.reston.va.us Wed Mar 24 17:20:42 1999 From: guido@cnri.reston.va.us (Guido van Rossum) Date: Wed, 24 Mar 1999 12:20:42 -0500 (EST) Subject: [Python-checkins] CVS: python/dist/src/Modules socketmodule.c Message-ID: <199903241720.MAA20416@eric.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Modules In directory eric:/projects/python/develop/guido/src/Modules Modified Files: socketmodule.c Log Message: Vladimir Marangozov implements the AIX 3-arg gethostbyname_r code. From guido@cnri.reston.va.us Wed Mar 24 17:24:35 1999 From: guido@cnri.reston.va.us (Guido van Rossum) Date: Wed, 24 Mar 1999 12:24:35 -0500 (EST) Subject: [Python-checkins] CVS: python/dist/src/Modules socketmodule.c Message-ID: <199903241724.MAA20452@eric.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Modules In directory eric:/projects/python/develop/guido/src/Modules Modified Files: socketmodule.c Log Message: 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. From guido@cnri.reston.va.us Wed Mar 24 17:46:42 1999 From: guido@cnri.reston.va.us (Guido van Rossum) Date: Wed, 24 Mar 1999 12:46:42 -0500 (EST) Subject: [Python-checkins] CVS: python/dist/src/BeOS ar-fake linkmodule Message-ID: <199903241746.MAA20657@eric.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/BeOS In directory eric:/projects/python/develop/guido/src/BeOS Modified Files: ar-fake linkmodule Log Message: Chris Herborth: the new compiler in R4.1 needs some new options to work... From guido@cnri.reston.va.us Wed Mar 24 17:48:14 1999 From: guido@cnri.reston.va.us (Guido van Rossum) Date: Wed, 24 Mar 1999 12:48:14 -0500 (EST) Subject: [Python-checkins] CVS: python/dist/src configure configure.in Message-ID: <199903241748.MAA21078@eric.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src In directory eric:/projects/python/develop/guido/src Modified Files: configure configure.in Log Message: Chris Herborth: the new compiler in R4.1 needs some new options to work... From guido@cnri.reston.va.us Wed Mar 24 19:02:12 1999 From: guido@cnri.reston.va.us (Guido van Rossum) Date: Wed, 24 Mar 1999 14:02:12 -0500 (EST) Subject: [Python-checkins] CVS: python/dist/src/Include pythread.h Message-ID: <199903241902.OAA23238@eric.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Include In directory eric:/projects/python/develop/guido/src/Include Modified Files: pythread.h Log Message: Conform to standard boilerplate. From guido@cnri.reston.va.us Wed Mar 24 19:03:04 1999 From: guido@cnri.reston.va.us (Guido van Rossum) Date: Wed, 24 Mar 1999 14:03:04 -0500 (EST) Subject: [Python-checkins] CVS: python/dist/src/Lib/test test_bsddb.py Message-ID: <199903241903.OAA23269@eric.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Lib/test In directory eric:/projects/python/develop/guido/src/Lib/test Modified Files: test_bsddb.py Log Message: Remove the temp file when we're done. From guido@cnri.reston.va.us Wed Mar 24 19:04:01 1999 From: guido@cnri.reston.va.us (Guido van Rossum) Date: Wed, 24 Mar 1999 14:04:01 -0500 (EST) Subject: [Python-checkins] CVS: python/dist/src/Modules shamodule.c Setup.in Message-ID: <199903241904.OAA23332@eric.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Modules In directory eric:/projects/python/develop/guido/src/Modules Modified Files: Setup.in Added Files: shamodule.c Log Message: Added Greg Stein and Andrew Kuchling's sha module. Fix comments about zlib version and URL. From guido@cnri.reston.va.us Wed Mar 24 19:04:32 1999 From: guido@cnri.reston.va.us (Guido van Rossum) Date: Wed, 24 Mar 1999 14:04:32 -0500 (EST) Subject: [Python-checkins] CVS: python/dist/src/Lib/test test_sha.py Message-ID: <199903241904.OAA23361@eric.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Lib/test In directory eric:/projects/python/develop/guido/src/Lib/test Added Files: test_sha.py Log Message: Added Jeremy's test code for the sha module. From guido@cnri.reston.va.us Wed Mar 24 19:04:35 1999 From: guido@cnri.reston.va.us (Guido van Rossum) Date: Wed, 24 Mar 1999 14:04:35 -0500 (EST) Subject: [Python-checkins] CVS: python/dist/src/Lib/test/output test_sha Message-ID: <199903241904.OAA23374@eric.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Lib/test/output In directory eric:/projects/python/develop/guido/src/Lib/test/output Added Files: test_sha Log Message: Added Jeremy's test code for the sha module. From guido@cnri.reston.va.us Wed Mar 24 19:05:33 1999 From: guido@cnri.reston.va.us (Guido van Rossum) Date: Wed, 24 Mar 1999 14:05:33 -0500 (EST) Subject: [Python-checkins] CVS: python/dist/src/Objects bufferobject.c Message-ID: <199903241905.OAA23422@eric.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Objects In directory eric:/projects/python/develop/guido/src/Objects Modified Files: bufferobject.c Log Message: Folded long lines. From guido@cnri.reston.va.us Wed Mar 24 19:06:44 1999 From: guido@cnri.reston.va.us (Guido van Rossum) Date: Wed, 24 Mar 1999 14:06:44 -0500 (EST) Subject: [Python-checkins] CVS: python/dist/src/Objects dictobject.c Message-ID: <199903241906.OAA23445@eric.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Objects In directory eric:/projects/python/develop/guido/src/Objects Modified Files: dictobject.c Log Message: Vladimir Marangozov contributed updated comments. From guido@cnri.reston.va.us Wed Mar 24 19:09:03 1999 From: guido@cnri.reston.va.us (Guido van Rossum) Date: Wed, 24 Mar 1999 14:09:03 -0500 (EST) Subject: [Python-checkins] CVS: python/dist/src/Tools/webchecker wcnew.py Message-ID: <199903241909.OAA23468@eric.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Tools/webchecker In directory eric:/projects/python/develop/guido/src/Tools/webchecker Added Files: wcnew.py Log Message: 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.) From fdrake@weyr.cnri.reston.va.us Thu Mar 25 05:04:19 1999 From: fdrake@weyr.cnri.reston.va.us (Fred L. Drake) Date: Thu, 25 Mar 1999 00:04:19 -0500 Subject: [Python-checkins] CVS: python/dist/src/Doc/lib libftplib.tex Message-ID: <199903250504.AAA01147@weyr.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Doc/lib In directory weyr:/home/fdrake/projects/python/Doc/lib Modified Files: libftplib.tex Log Message: Added note about ftpmirror.py, since that seems to be one of the most requested Python tools/examples. From fdrake@weyr.cnri.reston.va.us Thu Mar 25 16:57:06 1999 From: fdrake@weyr.cnri.reston.va.us (Fred L. Drake) Date: Thu, 25 Mar 1999 11:57:06 -0500 Subject: [Python-checkins] CVS: python/dist/src/Doc/perl python.perl Message-ID: <199903251657.LAA02799@weyr.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Doc/perl In directory weyr:/home/fdrake/projects/python/Doc/perl Modified Files: python.perl Log Message: Remove \platformof support, since it's been removed from the LaTeX style sheet. Small nits. From guido@cnri.reston.va.us Thu Mar 25 20:30:03 1999 From: guido@cnri.reston.va.us (Guido van Rossum) Date: Thu, 25 Mar 1999 15:30:03 -0500 (EST) Subject: [Python-checkins] CVS: python/dist/src/Doc/lib libsignal.tex libsys.tex Message-ID: <199903252030.PAA24656@eric.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Doc/lib In directory eric:/projects/python/develop/guido/Doc/lib Modified Files: libsignal.tex libsys.tex Log Message: SIGTERM is no longer caught to call sys.exitfunc. This change was made long ago but the documentation was never updated. From guido@cnri.reston.va.us Thu Mar 25 21:16:10 1999 From: guido@cnri.reston.va.us (Guido van Rossum) Date: Thu, 25 Mar 1999 16:16:10 -0500 (EST) Subject: [Python-checkins] CVS: python/dist/src/Python bltinmodule.c Message-ID: <199903252116.QAA26094@eric.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Python In directory eric:/projects/python/develop/guido/src/Python Modified Files: bltinmodule.c Log Message: Patch by Nick and Stephanie Lockwood to implement complex() with a string argument. This closes TODO item 2.19. From akuchlin@cnri.reston.va.us Thu Mar 25 21:21:12 1999 From: akuchlin@cnri.reston.va.us (Andrew M. Kuchling) Date: Thu, 25 Mar 1999 16:21:12 -0500 (EST) Subject: [Python-checkins] CVS: python/dist/src/Modules zlibmodule.c Message-ID: <199903252121.QAA01406@amarok.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Modules In directory amarok:/home/akuchlin/src/Python-1.5/Modules Modified Files: zlibmodule.c Log Message: 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. From guido@cnri.reston.va.us Thu Mar 25 21:23:27 1999 From: guido@cnri.reston.va.us (Guido van Rossum) Date: Thu, 25 Mar 1999 16:23:27 -0500 (EST) Subject: [Python-checkins] CVS: python/dist/src/Doc/lib libfuncs.tex Message-ID: <199903252123.QAA26116@eric.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Doc/lib In directory eric:/projects/python/develop/guido/Doc/lib Modified Files: libfuncs.tex Log Message: Document complex() with string arg. From guido@cnri.reston.va.us Thu Mar 25 21:25:03 1999 From: guido@cnri.reston.va.us (Guido van Rossum) Date: Thu, 25 Mar 1999 16:25:03 -0500 (EST) Subject: [Python-checkins] CVS: python/dist/src/Lib/test test_b1.py Message-ID: <199903252125.QAA26139@eric.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Lib/test In directory eric:/projects/python/develop/guido/src/Lib/test Modified Files: test_b1.py Log Message: Add tests for float() and complex() with string args (Nick/Stephanie Lockwood). From akuchlin@cnri.reston.va.us Thu Mar 25 21:49:16 1999 From: akuchlin@cnri.reston.va.us (Andrew M. Kuchling) Date: Thu, 25 Mar 1999 16:49:16 -0500 (EST) Subject: [Python-checkins] CVS: python/dist/src/Lib gzip.py Message-ID: <199903252149.QAA01561@amarok.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Lib In directory amarok:/home/akuchlin/src/Python-1.5/Lib Modified Files: gzip.py Log Message: 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' From akuchlin@cnri.reston.va.us Thu Mar 25 21:50:29 1999 From: akuchlin@cnri.reston.va.us (Andrew M. Kuchling) Date: Thu, 25 Mar 1999 16:50:29 -0500 (EST) Subject: [Python-checkins] CVS: python/dist/src/Lib/test test_gzip.py Message-ID: <199903252150.QAA01586@amarok.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Lib/test In directory amarok:/home/akuchlin/src/Python-1.5/Lib/test Added Files: test_gzip.py Log Message: 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. From guido@cnri.reston.va.us Thu Mar 25 21:59:01 1999 From: guido@cnri.reston.va.us (Guido van Rossum) Date: Thu, 25 Mar 1999 16:59:01 -0500 (EST) Subject: [Python-checkins] CVS: python/dist/src/Lib pickle.py Message-ID: <199903252159.QAA26352@eric.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Lib In directory eric:/projects/python/develop/guido/src/Lib Modified Files: pickle.py Log Message: Don't use "exec" in find_class(). It's slow, unnecessary, and (as AMK points out) it doesn't work in JPython Applets. From fdrake@weyr.cnri.reston.va.us Thu Mar 25 22:18:31 1999 From: fdrake@weyr.cnri.reston.va.us (Fred L. Drake) Date: Thu, 25 Mar 1999 17:18:31 -0500 Subject: [Python-checkins] CVS: python/dist/src/Doc/perl l2hinit.perl Message-ID: <199903252218.RAA04875@weyr.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Doc/perl In directory weyr:/home/fdrake/projects/python/Doc/perl Modified Files: l2hinit.perl Log Message: Be more stylesheet friendly. From fdrake@weyr.cnri.reston.va.us Thu Mar 25 22:17:13 1999 From: fdrake@weyr.cnri.reston.va.us (Fred L. Drake) Date: Thu, 25 Mar 1999 17:17:13 -0500 Subject: [Python-checkins] CVS: python/dist/src/Doc/perl howto.perl Message-ID: <199903252217.RAA04840@weyr.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Doc/perl In directory weyr:/home/fdrake/projects/python/Doc/perl Modified Files: howto.perl Log Message: Require the verbatim package (similar to the LaTeX version). From fdrake@weyr.cnri.reston.va.us Thu Mar 25 22:17:30 1999 From: fdrake@weyr.cnri.reston.va.us (Fred L. Drake) Date: Thu, 25 Mar 1999 17:17:30 -0500 Subject: [Python-checkins] CVS: python/dist/src/Doc/perl manual.perl Message-ID: <199903252217.RAA04859@weyr.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Doc/perl In directory weyr:/home/fdrake/projects/python/Doc/perl Modified Files: manual.perl Log Message: Require the verbatim package (similar to the LaTeX version). From fdrake@weyr.cnri.reston.va.us Thu Mar 25 22:22:46 1999 From: fdrake@weyr.cnri.reston.va.us (Fred L. Drake) Date: Thu, 25 Mar 1999 17:22:46 -0500 Subject: [Python-checkins] CVS: python/dist/src/Doc/html style.css Message-ID: <199903252222.RAA04915@weyr.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Doc/html In directory weyr:/home/fdrake/projects/python/Doc/html Modified Files: style.css Log Message: Added some rules that affect those little "See also:" sections. From guido@cnri.reston.va.us Thu Mar 25 22:38:47 1999 From: guido@cnri.reston.va.us (Guido van Rossum) Date: Thu, 25 Mar 1999 17:38:47 -0500 (EST) Subject: [Python-checkins] CVS: python/dist/src/Lib/test test_cpickle.py test_pickle.py Message-ID: <199903252238.RAA26581@eric.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Lib/test In directory eric:/projects/python/develop/guido/src/Lib/test Added Files: test_cpickle.py test_pickle.py Log Message: Basic regr tests for pickle/cPickle From guido@cnri.reston.va.us Thu Mar 25 22:38:51 1999 From: guido@cnri.reston.va.us (Guido van Rossum) Date: Thu, 25 Mar 1999 17:38:51 -0500 (EST) Subject: [Python-checkins] CVS: python/dist/src/Lib/test/output test_cpickle test_pickle Message-ID: <199903252238.RAA26596@eric.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Lib/test/output In directory eric:/projects/python/develop/guido/src/Lib/test/output Added Files: test_cpickle test_pickle Log Message: Basic regr tests for pickle/cPickle From guido@cnri.reston.va.us Fri Mar 26 15:31:15 1999 From: guido@cnri.reston.va.us (Guido van Rossum) Date: Fri, 26 Mar 1999 10:31:15 -0500 (EST) Subject: [Python-checkins] CVS: python/dist/src/Lib UserDict.py Message-ID: <199903261531.KAA27475@eric.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Lib In directory eric:/projects/python/develop/guido/src/Lib Modified Files: UserDict.py Log Message: Improved a bunch of things. The constructor now takes an optional dictionary. Use isinstance() where appropriate. From guido@cnri.reston.va.us Fri Mar 26 15:32:04 1999 From: guido@cnri.reston.va.us (Guido van Rossum) Date: Fri, 26 Mar 1999 10:32:04 -0500 (EST) Subject: [Python-checkins] CVS: python/dist/src/Lib/test test_userdict.py Message-ID: <199903261532.KAA27501@eric.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Lib/test In directory eric:/projects/python/develop/guido/src/Lib/test Added Files: test_userdict.py Log Message: Test suite for UserDict From guido@cnri.reston.va.us Fri Mar 26 15:32:07 1999 From: guido@cnri.reston.va.us (Guido van Rossum) Date: Fri, 26 Mar 1999 10:32:07 -0500 (EST) Subject: [Python-checkins] CVS: python/dist/src/Lib/test/output test_userdict Message-ID: <199903261532.KAA27514@eric.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Lib/test/output In directory eric:/projects/python/develop/guido/src/Lib/test/output Added Files: test_userdict Log Message: Test suite for UserDict From bwarsaw@cnri.reston.va.us Fri Mar 26 15:59:52 1999 From: bwarsaw@cnri.reston.va.us (Barry A. Warsaw) Date: Fri, 26 Mar 1999 10:59:52 -0500 (EST) Subject: [Python-checkins] CVS: python/dist/src/Tools/pynche pyColorChooser.py Message-ID: <199903261559.KAA03317@anthem.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Tools/pynche In directory anthem:/projects/python/develop/bwarsaw/python/dist/src/Tools/pynche Modified Files: pyColorChooser.py Log Message: Removed unnecessary import `from PyncheWidget import PyncheWidget' From bwarsaw@cnri.reston.va.us Fri Mar 26 16:11:41 1999 From: bwarsaw@cnri.reston.va.us (Barry A. Warsaw) Date: Fri, 26 Mar 1999 11:11:41 -0500 (EST) Subject: [Python-checkins] CVS: python/dist/src/Tools/pynche PyncheWidget.py Message-ID: <199903261611.LAA03369@anthem.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Tools/pynche In directory anthem:/projects/python/develop/bwarsaw/python/dist/src/Tools/pynche Modified Files: PyncheWidget.py Log Message: Helpwin.__init__(): The text widget should get focus. From guido@cnri.reston.va.us Fri Mar 26 16:20:21 1999 From: guido@cnri.reston.va.us (Guido van Rossum) Date: Fri, 26 Mar 1999 11:20:21 -0500 (EST) Subject: [Python-checkins] CVS: python/dist/src/Lib UserList.py Message-ID: <199903261620.LAA27763@eric.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Lib In directory eric:/projects/python/develop/guido/src/Lib Modified Files: UserList.py Log Message: Use isinstance() where appropriate. Reformatted with 4-space indent. From guido@cnri.reston.va.us Fri Mar 26 16:20:44 1999 From: guido@cnri.reston.va.us (Guido van Rossum) Date: Fri, 26 Mar 1999 11:20:44 -0500 (EST) Subject: [Python-checkins] CVS: python/dist/src/Lib/test test_userlist.py Message-ID: <199903261620.LAA27784@eric.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Lib/test In directory eric:/projects/python/develop/guido/src/Lib/test Added Files: test_userlist.py Log Message: Test suite for UserList. From guido@cnri.reston.va.us Fri Mar 26 16:20:47 1999 From: guido@cnri.reston.va.us (Guido van Rossum) Date: Fri, 26 Mar 1999 11:20:47 -0500 (EST) Subject: [Python-checkins] CVS: python/dist/src/Lib/test/output test_userlist Message-ID: <199903261620.LAA27799@eric.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Lib/test/output In directory eric:/projects/python/develop/guido/src/Lib/test/output Added Files: test_userlist Log Message: Test suite for UserList. From fdrake@weyr.cnri.reston.va.us Fri Mar 26 22:36:02 1999 From: fdrake@weyr.cnri.reston.va.us (Fred L. Drake) Date: Fri, 26 Mar 1999 17:36:02 -0500 Subject: [Python-checkins] CVS: python/dist/src/Tools/scripts dutree.py Message-ID: <199903262236.RAA11151@weyr.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Tools/scripts In directory weyr:/home/fdrake/projects/python/Tools/scripts Modified Files: dutree.py Log Message: During display, if EPIPE is raised, it's probably because a pager was killed. Discard the error in that case, but propogate it otherwise. From fdrake@weyr.cnri.reston.va.us Sat Mar 27 05:45:48 1999 From: fdrake@weyr.cnri.reston.va.us (Fred L. Drake) Date: Sat, 27 Mar 1999 00:45:48 -0500 Subject: [Python-checkins] CVS: python/dist/src/Doc/lib libmailbox.tex Message-ID: <199903270545.AAA12267@weyr.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Doc/lib In directory weyr:/home/fdrake/projects/python/Doc/lib Modified Files: libmailbox.tex Log Message: Where rfc822.Message is mentioned, add a link to the rfc822 module. From guido@cnri.reston.va.us Sat Mar 27 13:34:04 1999 From: guido@cnri.reston.va.us (Guido van Rossum) Date: Sat, 27 Mar 1999 08:34:04 -0500 (EST) Subject: [Python-checkins] CVS: python/dist/src/Tools/scripts ndiff.py Message-ID: <199903271334.IAA28976@eric.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Tools/scripts In directory eric:/projects/python/develop/guido/src/Tools/scripts Modified Files: ndiff.py Log Message: 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. From guido@cnri.reston.va.us Sun Mar 28 17:55:35 1999 From: guido@cnri.reston.va.us (Guido van Rossum) Date: Sun, 28 Mar 1999 12:55:35 -0500 (EST) Subject: [Python-checkins] CVS: python/dist/src/Tools/scripts ndiff.py Message-ID: <199903281755.MAA29662@eric.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Tools/scripts In directory eric:/projects/python/develop/guido/src/Tools/scripts Modified Files: ndiff.py Log Message: Tim Peters writes: I should have waited overnight . 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 . From guido@cnri.reston.va.us Mon Mar 29 14:52:08 1999 From: guido@cnri.reston.va.us (Guido van Rossum) Date: Mon, 29 Mar 1999 09:52:08 -0500 (EST) Subject: [Python-checkins] CVS: python/dist/src/Tools/idle PyShell.py Message-ID: <199903291452.JAA00214@eric.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Tools/idle In directory eric:/projects/python/develop/guido/src/Tools/idle Modified Files: PyShell.py Log Message: At Tim Peters' recommendation, add a dummy flush() method to PseudoFile. From guido@cnri.reston.va.us Mon Mar 29 14:52:29 1999 From: guido@cnri.reston.va.us (Guido van Rossum) Date: Mon, 29 Mar 1999 09:52:29 -0500 (EST) Subject: [Python-checkins] CVS: python/dist/src/Tools/idle ScriptBinding.py Message-ID: <199903291452.JAA00248@eric.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Tools/idle In directory eric:/projects/python/develop/guido/src/Tools/idle Modified Files: ScriptBinding.py Log Message: At Tim Peters' recommendation, add a dummy flush() method to PseudoFile. From fdrake@weyr.cnri.reston.va.us Mon Mar 29 14:55:57 1999 From: fdrake@weyr.cnri.reston.va.us (Fred L. Drake) Date: Mon, 29 Mar 1999 09:55:57 -0500 Subject: [Python-checkins] CVS: python/dist/src/Doc/doc doc.tex Message-ID: <199903291455.JAA14933@weyr.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Doc/doc In directory weyr:/home/fdrake/projects/python/Doc/doc Modified Files: doc.tex Log Message: 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.) From guido@cnri.reston.va.us Mon Mar 29 14:58:00 1999 From: guido@cnri.reston.va.us (Guido van Rossum) Date: Mon, 29 Mar 1999 09:58:00 -0500 (EST) Subject: [Python-checkins] CVS: python/dist/src/Modules shamodule.c Message-ID: <199903291458.JAA00380@eric.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Modules In directory eric:/projects/python/develop/guido/src/Modules Modified Files: shamodule.c Log Message: Avoid warnings from AIX compiler. Reported by Vladimir (AIX is my middlename) Marangozov, patch coded by Greg Stein. From guido@cnri.reston.va.us Mon Mar 29 15:28:56 1999 From: guido@cnri.reston.va.us (Guido van Rossum) Date: Mon, 29 Mar 1999 10:28:56 -0500 (EST) Subject: [Python-checkins] CVS: python/dist/src/Lib/test/output test_gzip Message-ID: <199903291528.KAA00688@eric.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Lib/test/output In directory eric:/projects/python/develop/guido/src/Lib/test/output Added Files: test_gzip Log Message: Jonathan Giddy discovered this file was missing. From guido@cnri.reston.va.us Mon Mar 29 19:12:06 1999 From: guido@cnri.reston.va.us (Guido van Rossum) Date: Mon, 29 Mar 1999 14:12:06 -0500 (EST) Subject: [Python-checkins] CVS: python/dist/src/Modules timemodule.c Message-ID: <199903291912.OAA01103@eric.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Modules In directory eric:/projects/python/develop/guido/src/Modules Modified Files: timemodule.c Log Message: Chris Lawrence writes: """ 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.) """ From guido@cnri.reston.va.us Mon Mar 29 19:12:42 1999 From: guido@cnri.reston.va.us (Guido van Rossum) Date: Mon, 29 Mar 1999 14:12:42 -0500 (EST) Subject: [Python-checkins] CVS: python/dist/src/Modules timemodule.c Message-ID: <199903291912.OAA01121@eric.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Modules In directory eric:/projects/python/develop/guido/src/Modules Modified Files: timemodule.c Log Message: #$@%! Forgot to remove a #error directive used for testing. Sorry. From guido@cnri.reston.va.us Mon Mar 29 19:59:34 1999 From: guido@cnri.reston.va.us (Guido van Rossum) Date: Mon, 29 Mar 1999 14:59:34 -0500 (EST) Subject: [Python-checkins] CVS: python/dist/src/Lib/test test_cpickle.py Message-ID: <199903291959.OAA01421@eric.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Lib/test In directory eric:/projects/python/develop/guido/src/Lib/test Modified Files: test_cpickle.py Log Message: Test protection against picling to/from closed (real) file. From guido@cnri.reston.va.us Mon Mar 29 20:00:16 1999 From: guido@cnri.reston.va.us (Guido van Rossum) Date: Mon, 29 Mar 1999 15:00:16 -0500 (EST) Subject: [Python-checkins] CVS: python/dist/src/Modules cPickle.c Message-ID: <199903292000.PAA01444@eric.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Modules In directory eric:/projects/python/develop/guido/src/Modules Modified Files: cPickle.c Log Message: Protection against picling to/from closed (real) file. The problem was reported by Moshe Zadka. From guido@cnri.reston.va.us Mon Mar 29 20:23:44 1999 From: guido@cnri.reston.va.us (Guido van Rossum) Date: Mon, 29 Mar 1999 15:23:44 -0500 (EST) Subject: [Python-checkins] CVS: python/dist/src/Lib urllib.py Message-ID: <199903292023.PAA01551@eric.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Lib In directory eric:/projects/python/develop/guido/src/Lib Modified Files: urllib.py Log Message: Hack so that if a 302 or 301 redirect contains a relative URL, the right thing "just happens" (basejoin() with old URL). From fdrake@weyr.cnri.reston.va.us Mon Mar 29 20:25:41 1999 From: fdrake@weyr.cnri.reston.va.us (Fred L. Drake) Date: Mon, 29 Mar 1999 15:25:41 -0500 Subject: [Python-checkins] CVS: python/dist/src/Lib compileall.py Message-ID: <199903292025.PAA15998@weyr.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Lib In directory weyr:/home/fdrake/projects/python/Lib Modified Files: compileall.py Log Message: When run as a script, report failures in the exit code as well. Patch largely based on changes by Andrew Dalke, as discussed in the distutils-sig. From guido@cnri.reston.va.us Mon Mar 29 20:33:23 1999 From: guido@cnri.reston.va.us (Guido van Rossum) Date: Mon, 29 Mar 1999 15:33:23 -0500 (EST) Subject: [Python-checkins] CVS: python/dist/src/Lib smtplib.py Message-ID: <199903292033.PAA01617@eric.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Lib In directory eric:/projects/python/develop/guido/src/Lib Modified Files: smtplib.py Log Message: Patch by Per Cederqvist, who writes: """ - It needlessly used the makefile() method for each response that is read from the SMTP server. - If the remote SMTP server closes the connection unexpectedly the code raised an IndexError. It now raises an SMTPServerDisconnected exception instead. - The code now checks that all lines in a multiline response actually contains an error code. """ The Dragon approves. From fdrake@weyr.cnri.reston.va.us Tue Mar 30 13:43:57 1999 From: fdrake@weyr.cnri.reston.va.us (Fred L. Drake) Date: Tue, 30 Mar 1999 08:43:57 -0500 Subject: [Python-checkins] CVS: python/dist/src/Doc/html index.html Message-ID: <199903301343.IAA17910@weyr.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Doc/html In directory weyr:/home/fdrake/projects/python/Doc/html Modified Files: index.html Log Message: Added "Documenting Python" to the index. From guido@cnri.reston.va.us Tue Mar 30 20:17:34 1999 From: guido@cnri.reston.va.us (Guido van Rossum) Date: Tue, 30 Mar 1999 15:17:34 -0500 (EST) Subject: [Python-checkins] CVS: python/dist/src/Lib BaseHTTPServer.py Message-ID: <199903302017.PAA03848@eric.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Lib In directory eric:/projects/python/develop/guido/src/Lib Modified Files: BaseHTTPServer.py Log Message: Per Cederqvist writes: If you send something like "PUT / HTTP/1.0" to something derived from BaseHTTPServer that doesn't define do_PUT, you will get a response that begins like this: HTTP/1.0 501 Unsupported method ('do_PUT') Server: SimpleHTTP/0.3 Python/1.5 Date: Tue, 30 Mar 1999 18:53:53 GMT The server should complain about 'PUT' instead of 'do_PUT'. This patch should fix the problem. From fdrake@weyr.cnri.reston.va.us Tue Mar 2 15:56:22 1999 From: fdrake@weyr.cnri.reston.va.us (Fred L. Drake) Date: Tue, 2 Mar 1999 10:56:22 -0500 Subject: [Python-checkins] CVS: python/dist/src/Doc/html Makefile Message-ID: <199903021556.KAA07281@weyr.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Doc/html In directory weyr:/home/fdrake/projects/python/Doc/html Modified Files: Makefile Log Message: Only use 4 columns in the module index, to accomodate platform annotations. From fdrake@weyr.cnri.reston.va.us Tue Mar 2 15:58:21 1999 From: fdrake@weyr.cnri.reston.va.us (Fred L. Drake) Date: Tue, 2 Mar 1999 10:58:21 -0500 Subject: [Python-checkins] CVS: python/dist/src/Doc/html index.html style.css Message-ID: <199903021558.KAA07315@weyr.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Doc/html In directory weyr:/home/fdrake/projects/python/Doc/html Modified Files: index.html style.css Log Message: Changes to accomodate the global module index and platform annotations. From fdrake@weyr.cnri.reston.va.us Tue Mar 2 16:00:38 1999 From: fdrake@weyr.cnri.reston.va.us (Fred L. Drake) Date: Tue, 2 Mar 1999 11:00:38 -0500 Subject: [Python-checkins] CVS: python/dist/src/Doc/perl l2hinit.perl Message-ID: <199903021600.LAA07363@weyr.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Doc/perl In directory weyr:/home/fdrake/projects/python/Doc/perl Modified Files: l2hinit.perl Log Message: Improve handling of module index, to deal with platform annotations a little better. From fdrake@weyr.cnri.reston.va.us Tue Mar 2 16:05:37 1999 From: fdrake@weyr.cnri.reston.va.us (Fred L. Drake) Date: Tue, 2 Mar 1999 11:05:37 -0500 Subject: [Python-checkins] CVS: python/dist/src/Doc/perl python.perl Message-ID: <199903021605.LAA07388@weyr.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Doc/perl In directory weyr:/home/fdrake/projects/python/Doc/perl Modified Files: python.perl Log Message: swallow_newline(): Removed function; not really needed. Modified all call sites. do_cmd_ignorePlatformAnnotation(), do_cmd_platform(), do_cmd_platformof(): New functions to support platform dependency information. process_all_platformofs(): New function to post-process \platformof macros using information collected during the initial pass. process_python_state(): New function. Call all post-processing functions defined in this file to avoid having to have too much knowledge of the internals for this stuff in l2hinit.perl. From fdrake@weyr.cnri.reston.va.us Tue Mar 2 16:17:46 1999 From: fdrake@weyr.cnri.reston.va.us (Fred L. Drake) Date: Tue, 2 Mar 1999 11:17:46 -0500 Subject: [Python-checkins] CVS: python/dist/src/Doc/texinputs python.sty Message-ID: <199903021617.LAA07497@weyr.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Doc/texinputs In directory weyr:/home/fdrake/projects/python/Doc/texinputs Modified Files: python.sty Log Message: Added support for \platform, \platformof, and \ignorePlatformAnnotation. From fdrake@weyr.cnri.reston.va.us Tue Mar 2 16:19:39 1999 From: fdrake@weyr.cnri.reston.va.us (Fred L. Drake) Date: Tue, 2 Mar 1999 11:19:39 -0500 Subject: [Python-checkins] CVS: python/dist/src/Doc/paper-a4 .cvsignore Message-ID: <199903021619.LAA07532@weyr.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Doc/paper-a4 In directory weyr:/home/fdrake/projects/python/Doc/paper-a4 Modified Files: .cvsignore Log Message: Ignore *.pla -- the platform annotation information. From fdrake@weyr.cnri.reston.va.us Tue Mar 2 16:20:43 1999 From: fdrake@weyr.cnri.reston.va.us (Fred L. Drake) Date: Tue, 2 Mar 1999 11:20:43 -0500 Subject: [Python-checkins] CVS: python/dist/src/Doc/paper-letter .cvsignore Makefile Message-ID: <199903021620.LAA07564@weyr.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Doc/paper-letter In directory weyr:/home/fdrake/projects/python/Doc/paper-letter Modified Files: .cvsignore Makefile Log Message: Ignore *.pla -- the platform annotation information. Also, remove it for 'make clean'. From fdrake@weyr.cnri.reston.va.us Tue Mar 2 16:22:27 1999 From: fdrake@weyr.cnri.reston.va.us (Fred L. Drake) Date: Tue, 2 Mar 1999 11:22:27 -0500 Subject: [Python-checkins] CVS: python/dist/src/Doc/tools mkhowto.sh Message-ID: <199903021622.LAA07604@weyr.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Doc/tools In directory weyr:/home/fdrake/projects/python/Doc/tools Modified Files: mkhowto.sh Log Message: Clean up *.pla files -- platform annotation information. From fdrake@weyr.cnri.reston.va.us Tue Mar 2 16:22:57 1999 From: fdrake@weyr.cnri.reston.va.us (Fred L. Drake) Date: Tue, 2 Mar 1999 11:22:57 -0500 Subject: [Python-checkins] CVS: python/dist/src/Doc/tools mkmodindex Message-ID: <199903021622.LAA07634@weyr.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Doc/tools In directory weyr:/home/fdrake/projects/python/Doc/tools Modified Files: mkmodindex Log Message: Be more flexible to support platform annotations. From fdrake@weyr.cnri.reston.va.us Tue Mar 2 16:24:23 1999 From: fdrake@weyr.cnri.reston.va.us (Fred L. Drake) Date: Tue, 2 Mar 1999 11:24:23 -0500 Subject: [Python-checkins] CVS: python/dist/src/Doc/templates module.tex Message-ID: <199903021624.LAA07675@weyr.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Doc/templates In directory weyr:/home/fdrake/projects/python/Doc/templates Modified Files: module.tex Log Message: Add information about adding the portability statement. From fdrake@weyr.cnri.reston.va.us Tue Mar 2 16:36:39 1999 From: fdrake@weyr.cnri.reston.va.us (Fred L. Drake) Date: Tue, 2 Mar 1999 11:36:39 -0500 Subject: [Python-checkins] CVS: python/dist/src/Doc/mac libctb.tex libframework.tex libmac.tex libmacconsole.tex libmacdnr.tex libmacfs.tex libmacic.tex libmacos.tex libmacostools.tex libmacspeech.tex libmactcp.tex libmacui.tex libminiae.tex mac.tex Message-ID: <199903021636.LAA07720@weyr.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Doc/mac In directory weyr:/home/fdrake/projects/python/Doc/mac Modified Files: libctb.tex libframework.tex libmac.tex libmacconsole.tex libmacdnr.tex libmacfs.tex libmacic.tex libmacos.tex libmacostools.tex libmacspeech.tex libmactcp.tex libmacui.tex libminiae.tex mac.tex Log Message: Added \platform annotations. From fdrake@weyr.cnri.reston.va.us Tue Mar 2 16:37:18 1999 From: fdrake@weyr.cnri.reston.va.us (Fred L. Drake) Date: Tue, 2 Mar 1999 11:37:18 -0500 Subject: [Python-checkins] CVS: python/dist/src/Doc/lib libal.tex libamoeba.tex libcd.tex libcrypt.tex libdbm.tex libfcntl.tex libfl.tex libfm.tex libgdbm.tex libgl.tex libgrp.tex libimgfile.tex libjpeg.tex libmsvcrt.tex libpopen2.tex libposix.tex libposixfile.tex libpwd.tex libresource.tex libstat.tex libsunaudio.tex libsyslog.tex libtermios.tex libwinsound.tex Message-ID: <199903021637.LAA07775@weyr.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Doc/lib In directory weyr:/home/fdrake/projects/python/Doc/lib Modified Files: libal.tex libamoeba.tex libcd.tex libcrypt.tex libdbm.tex libfcntl.tex libfl.tex libfm.tex libgdbm.tex libgl.tex libgrp.tex libimgfile.tex libjpeg.tex libmsvcrt.tex libpopen2.tex libposix.tex libposixfile.tex libpwd.tex libresource.tex libstat.tex libsunaudio.tex libsyslog.tex libtermios.tex libwinsound.tex Log Message: Added \platform annotations. From fdrake@weyr.cnri.reston.va.us Tue Mar 2 17:03:43 1999 From: fdrake@weyr.cnri.reston.va.us (Fred L. Drake) Date: Tue, 2 Mar 1999 12:03:43 -0500 Subject: [Python-checkins] CVS: python/dist/src/Doc/lib libcrypt.tex libdbm.tex libfcntl.tex libgdbm.tex libgrp.tex libpopen2.tex libposix.tex libposixfile.tex libpwd.tex libresource.tex libstat.tex libsyslog.tex libtermios.tex Message-ID: <199903021703.MAA07909@weyr.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Doc/lib In directory weyr:/home/fdrake/projects/python/Doc/lib Modified Files: libcrypt.tex libdbm.tex libfcntl.tex libgdbm.tex libgrp.tex libpopen2.tex libposix.tex libposixfile.tex libpwd.tex libresource.tex libstat.tex libsyslog.tex libtermios.tex Log Message: "\platform{UNIX}" should really be spelled "\platform{Unix}". From fdrake@weyr.cnri.reston.va.us Wed Mar 3 16:21:37 1999 From: fdrake@weyr.cnri.reston.va.us (Fred L. Drake) Date: Wed, 3 Mar 1999 11:21:37 -0500 Subject: [Python-checkins] CVS: python/dist/src/Doc/perl l2hinit.perl Message-ID: <199903031621.LAA11810@weyr.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Doc/perl In directory weyr:/home/fdrake/projects/python/Doc/perl Modified Files: l2hinit.perl Log Message: Be a little more friendly for the generation of the text version: for "blank" navigation icons, use ALT="" instead of ALT="blank"; also add ALIGN=CENTER for the table, to get a slightly better affect in the text (the table is full-width, so this doesn't change the appearance when browsing the HTML). From fdrake@weyr.cnri.reston.va.us Wed Mar 3 19:25:58 1999 From: fdrake@weyr.cnri.reston.va.us (Fred L. Drake) Date: Wed, 3 Mar 1999 14:25:58 -0500 Subject: [Python-checkins] CVS: python/dist/src/Doc/tools toc2bkm.py Message-ID: <199903031925.OAA12339@weyr.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Doc/tools In directory weyr:/home/fdrake/projects/python/Doc/tools Modified Files: toc2bkm.py Log Message: process(): New function that contains the "orchestration" of the actual work. main(): Just handle the command line and filename determination, calling process() to do the work. These changes make this more import-friendly. From fdrake@weyr.cnri.reston.va.us Wed Mar 3 19:36:24 1999 From: fdrake@weyr.cnri.reston.va.us (Fred L. Drake) Date: Wed, 3 Mar 1999 14:36:24 -0500 Subject: [Python-checkins] CVS: python/dist/src/Doc/tools indfix.py Message-ID: <199903031936.OAA12408@weyr.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Doc/tools In directory weyr:/home/fdrake/projects/python/Doc/tools Modified Files: indfix.py Log Message: process(): New function that contains the "orchestration" of the actual work. main(): Just handle the command line and filename determination, calling process() to do the work. These changes make this more import-friendly. From fdrake@weyr.cnri.reston.va.us Wed Mar 3 20:24:32 1999 From: fdrake@weyr.cnri.reston.va.us (Fred L. Drake) Date: Wed, 3 Mar 1999 15:24:32 -0500 Subject: [Python-checkins] CVS: python/dist/src/Doc/tools mkhowto Message-ID: <199903032024.PAA13140@weyr.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Doc/tools In directory weyr:/home/fdrake/projects/python/Doc/tools Added Files: mkhowto Log Message: Re-written mkhowto in Python; this should be at least a little more portable. Several things that had been done by running a python script are now a matter of importing the right module and running a function with a few parameters. From fdrake@weyr.cnri.reston.va.us Wed Mar 3 20:27:10 1999 From: fdrake@weyr.cnri.reston.va.us (Fred L. Drake) Date: Wed, 3 Mar 1999 15:27:10 -0500 Subject: [Python-checkins] CVS: python/dist/src/Doc/html Makefile Message-ID: <199903032027.PAA13181@weyr.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Doc/html In directory weyr:/home/fdrake/projects/python/Doc/html Modified Files: Makefile Log Message: Switch to the Python version of mkhowto. From fdrake@weyr.cnri.reston.va.us Wed Mar 3 20:27:12 1999 From: fdrake@weyr.cnri.reston.va.us (Fred L. Drake) Date: Wed, 3 Mar 1999 15:27:12 -0500 Subject: [Python-checkins] CVS: python/dist/src/Doc/paper-letter Makefile Message-ID: <199903032027.PAA13191@weyr.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Doc/paper-letter In directory weyr:/home/fdrake/projects/python/Doc/paper-letter Modified Files: Makefile Log Message: Switch to the Python version of mkhowto. From fdrake@weyr.cnri.reston.va.us Wed Mar 3 20:28:18 1999 From: fdrake@weyr.cnri.reston.va.us (Fred L. Drake) Date: Wed, 3 Mar 1999 15:28:18 -0500 Subject: [Python-checkins] CVS: python/dist/src/Doc/tools mkhowto.sh Message-ID: <199903032028.PAA13238@weyr.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Doc/tools In directory weyr:/home/fdrake/projects/python/Doc/tools Removed Files: mkhowto.sh Log Message: Obsolete; use the Python version instead. From fdrake@weyr.cnri.reston.va.us Wed Mar 3 21:39:20 1999 From: fdrake@weyr.cnri.reston.va.us (Fred L. Drake) Date: Wed, 3 Mar 1999 16:39:20 -0500 Subject: [Python-checkins] CVS: python/dist/src/Doc README Message-ID: <199903032139.QAA13677@weyr.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Doc In directory weyr:/home/fdrake/projects/python/Doc Modified Files: README Log Message: Lots of small updates. From fdrake@weyr.cnri.reston.va.us Wed Mar 3 21:44:12 1999 From: fdrake@weyr.cnri.reston.va.us (Fred L. Drake) Date: Wed, 3 Mar 1999 16:44:12 -0500 Subject: [Python-checkins] CVS: python/dist/src/Doc README Message-ID: <199903032144.QAA13718@weyr.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Doc In directory weyr:/home/fdrake/projects/python/Doc Modified Files: README Log Message: Oops, missed version number for pdfTeX. Updated. From fdrake@weyr.cnri.reston.va.us Wed Mar 3 21:57:59 1999 From: fdrake@weyr.cnri.reston.va.us (Fred L. Drake) Date: Wed, 3 Mar 1999 16:57:59 -0500 Subject: [Python-checkins] CVS: python/dist/src/Doc/tools mkhowto Message-ID: <199903032157.QAA13877@weyr.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Doc/tools In directory weyr:/home/fdrake/projects/python/Doc/tools Modified Files: mkhowto Log Message: Record the value of $TEXINPUTS in the transcript. Job.message(): New method. Takes care of writing a message to the user and adding it to the transcript. From fdrake@weyr.cnri.reston.va.us Thu Mar 4 14:08:12 1999 From: fdrake@weyr.cnri.reston.va.us (Fred L. Drake) Date: Thu, 4 Mar 1999 09:08:12 -0500 Subject: [Python-checkins] CVS: python/dist/src/Doc/lib libos.tex Message-ID: <199903041408.JAA15527@weyr.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Doc/lib In directory weyr:/home/fdrake/projects/python/Doc/lib Modified Files: libos.tex Log Message: Fixed description of WSTOPSIG(), added WTERMSIG(). Problem reported by Jonathan Giddy . From fdrake@weyr.cnri.reston.va.us Thu Mar 4 18:41:20 1999 From: fdrake@weyr.cnri.reston.va.us (Fred L. Drake) Date: Thu, 4 Mar 1999 13:41:20 -0500 Subject: [Python-checkins] CVS: python/dist/src/Doc/perl l2hinit.perl Message-ID: <199903041841.NAA16512@weyr.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Doc/perl In directory weyr:/home/fdrake/projects/python/Doc/perl Modified Files: l2hinit.perl Log Message: add_module_idx(): If \ignorePlatformAnnotation is used, only ignore the specified annotation, not any annotation. From fdrake@weyr.cnri.reston.va.us Thu Mar 4 19:00:28 1999 From: fdrake@weyr.cnri.reston.va.us (Fred L. Drake) Date: Thu, 4 Mar 1999 14:00:28 -0500 Subject: [Python-checkins] CVS: python/dist/src/Doc/mac libmacic.tex Message-ID: <199903041900.OAA17488@weyr.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Doc/mac In directory weyr:/home/fdrake/projects/python/Doc/mac Modified Files: libmacic.tex Log Message: Added "Internet Config" to index. From fdrake@weyr.cnri.reston.va.us Thu Mar 4 21:19:59 1999 From: fdrake@weyr.cnri.reston.va.us (Fred L. Drake) Date: Thu, 4 Mar 1999 16:19:59 -0500 Subject: [Python-checkins] CVS: python/dist/src/Doc/tools mkmodindex Message-ID: <199903042119.QAA17917@weyr.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Doc/tools In directory weyr:/home/fdrake/projects/python/Doc/tools Modified Files: mkmodindex Log Message: Allow many more aspects of the generated page to be parameterized, and add a useful usage message. Use 'mkmodindex --help' to display it. From fdrake@weyr.cnri.reston.va.us Thu Mar 4 21:25:06 1999 From: fdrake@weyr.cnri.reston.va.us (Fred L. Drake) Date: Thu, 4 Mar 1999 16:25:06 -0500 Subject: [Python-checkins] CVS: python/dist/src/Doc/html Makefile Message-ID: <199903042125.QAA17953@weyr.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Doc/html In directory weyr:/home/fdrake/projects/python/Doc/html Modified Files: Makefile Log Message: Pass in the 'Send comments to ...' on the mkmodindex command line, just like we do for mkhowto. From fdrake@weyr.cnri.reston.va.us Thu Mar 4 21:33:57 1999 From: fdrake@weyr.cnri.reston.va.us (Fred L. Drake) Date: Thu, 4 Mar 1999 16:33:57 -0500 Subject: [Python-checkins] CVS: python/dist/src/Doc/tools mkmodindex Message-ID: <199903042133.QAA18011@weyr.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Doc/tools In directory weyr:/home/fdrake/projects/python/Doc/tools Modified Files: mkmodindex Log Message: Oops, missed a couple of substitutions in the templates. From fdrake@weyr.cnri.reston.va.us Fri Mar 5 18:30:24 1999 From: fdrake@weyr.cnri.reston.va.us (Fred L. Drake) Date: Fri, 5 Mar 1999 13:30:24 -0500 Subject: [Python-checkins] CVS: python/dist/src/Doc/ref ref2.tex Message-ID: <199903051830.NAA21128@weyr.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Doc/ref In directory weyr:/home/fdrake/projects/python/Doc/ref Modified Files: ref2.tex Log Message: Added note about __builtin__._ to section dicussing classes of reserved names, just to avoid confusion on the part of users. From guido@cnri.reston.va.us Tue Mar 9 16:05:29 1999 From: guido@cnri.reston.va.us (Guido van Rossum) Date: Tue, 9 Mar 1999 11:05:29 -0500 (EST) Subject: [Python-checkins] CVS: python/dist/src/Tools/bgen/bgen macsupport.py Message-ID: <199903091605.LAA17555@eric.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Tools/bgen/bgen In directory eric:/projects/python/develop/guido/src/Tools/bgen/bgen Modified Files: macsupport.py Log Message: Small change by Jack Jansen. Test for self.returntype behaving like OSErr rather than being it. From guido@cnri.reston.va.us Tue Mar 9 16:07:24 1999 From: guido@cnri.reston.va.us (Guido van Rossum) Date: Tue, 9 Mar 1999 11:07:24 -0500 (EST) Subject: [Python-checkins] CVS: python/dist/src/Modules timemodule.c Message-ID: <199903091607.LAA17576@eric.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Modules In directory eric:/projects/python/develop/guido/src/Modules Modified Files: timemodule.c Log Message: Patch by Chris Herborth for BeOS code. He writes: I had an off-by-1000 error in floatsleep(), and the problem with time.clock() is that it's not implemented properly on QNX... ANSI says it's supposed to return _CPU_ time used by the process, but on QNX it returns the amount of real time used... so I was confused. From guido@cnri.reston.va.us Tue Mar 9 16:16:48 1999 From: guido@cnri.reston.va.us (Guido van Rossum) Date: Tue, 9 Mar 1999 11:16:48 -0500 (EST) Subject: [Python-checkins] CVS: python/dist/src/Python ceval.c Message-ID: <199903091616.LAA18994@eric.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Python In directory eric:/projects/python/develop/guido/src/Python Modified Files: ceval.c Log Message: Always test for an error return (usually NULL or -1) without setting an exception. From guido@cnri.reston.va.us Tue Mar 9 17:07:27 1999 From: guido@cnri.reston.va.us (Guido van Rossum) Date: Tue, 9 Mar 1999 12:07:27 -0500 (EST) Subject: [Python-checkins] CVS: python/dist/src/Demo/embed demo.c Message-ID: <199903091707.MAA19369@eric.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Demo/embed In directory eric:/projects/python/develop/guido/src/Demo/embed Modified Files: demo.c Log Message: Call Py_SetProgramName() instead of redefining getprogramname(), reflecting changes in the runtime around 1.5 or earlier. From fdrake@weyr.cnri.reston.va.us Tue Mar 9 18:36:58 1999 From: fdrake@weyr.cnri.reston.va.us (Fred L. Drake) Date: Tue, 9 Mar 1999 13:36:58 -0500 Subject: [Python-checkins] CVS: python/dist/src/Doc/ext ext.tex Message-ID: <199903091836.NAA05559@weyr.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Doc/ext In directory weyr:/home/fdrake/projects/python/Doc/ext Modified Files: ext.tex Log Message: Fix a number of typos and small grammatical nits pointed out by Detlef Lannert . Added a comment explaining the cast in the method table for the keyword arguments sample code, in response to another comment by Detlef. From guido@cnri.reston.va.us Tue Mar 9 19:31:24 1999 From: guido@cnri.reston.va.us (Guido van Rossum) Date: Tue, 9 Mar 1999 14:31:24 -0500 (EST) Subject: [Python-checkins] CVS: python/dist/src/Lib urllib.py Message-ID: <199903091931.OAA19666@eric.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Lib In directory eric:/projects/python/develop/guido/src/Lib Modified Files: urllib.py Log Message: open_http also had the 'data is None' test backwards. don't call with the extra argument if data is None. From guido@cnri.reston.va.us Wed Mar 10 05:10:52 1999 From: guido@cnri.reston.va.us (Guido van Rossum) Date: Wed, 10 Mar 1999 00:10:52 -0500 (EST) Subject: [Python-checkins] CVS: python/dist/src/Tools/idle ScrolledList.py Message-ID: <199903100510.AAA21365@eric.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Tools/idle In directory eric:/projects/python/develop/guido/src/Tools/idle Modified Files: ScrolledList.py Log Message: - White background. - Display "(None)" (or text of your choosing) when empty. - Don't set the focus. From guido@cnri.reston.va.us Wed Mar 10 05:13:31 1999 From: guido@cnri.reston.va.us (Guido van Rossum) Date: Wed, 10 Mar 1999 00:13:31 -0500 (EST) Subject: [Python-checkins] CVS: python/dist/src/Tools/idle MultiScrolledLists.py Message-ID: <199903100513.AAA21393@eric.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Tools/idle In directory eric:/projects/python/develop/guido/src/Tools/idle Added Files: MultiScrolledLists.py Log Message: New utility: multiple scrolled lists in parallel From guido@cnri.reston.va.us Wed Mar 10 05:17:30 1999 From: guido@cnri.reston.va.us (Guido van Rossum) Date: Wed, 10 Mar 1999 00:17:30 -0500 (EST) Subject: [Python-checkins] CVS: python/dist/src/Tools/idle PathBrowser.py Message-ID: <199903100517.AAA21413@eric.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Tools/idle In directory eric:/projects/python/develop/guido/src/Tools/idle Added Files: PathBrowser.py Log Message: "Path browser" - 4 scrolled lists displaying: directories on sys.path modules in selected directory classes in selected module methods of selected class Sinlge clicking in a directory, module or class item updates the next column with info about the selected item. Double clicking in a module, class or method item opens the file (and selects the clicked item if it is a class or method). I guess eventually I should be using a tree widget for this, but the ones I've seen don't work well enough, so for now I use the old Smalltalk or NeXT style multi-column hierarchical browser. From guido@cnri.reston.va.us Wed Mar 10 05:18:03 1999 From: guido@cnri.reston.va.us (Guido van Rossum) Date: Wed, 10 Mar 1999 00:18:03 -0500 (EST) Subject: [Python-checkins] CVS: python/dist/src/Tools/idle Bindings.py EditorWindow.py Message-ID: <199903100518.AAA21432@eric.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Tools/idle In directory eric:/projects/python/develop/guido/src/Tools/idle Modified Files: Bindings.py EditorWindow.py Log Message: Add PathBrowser to File module From fdrake@weyr.cnri.reston.va.us Wed Mar 10 17:25:33 1999 From: fdrake@weyr.cnri.reston.va.us (Fred L. Drake) Date: Wed, 10 Mar 1999 12:25:33 -0500 Subject: [Python-checkins] CVS: python/dist/src/Doc/tut tut.tex Message-ID: <199903101725.MAA08442@weyr.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Doc/tut In directory weyr:/home/fdrake/projects/python/Doc/tut Modified Files: tut.tex Log Message: Lots of nits to respond to various comments from users. From guido@cnri.reston.va.us Wed Mar 10 22:55:27 1999 From: guido@cnri.reston.va.us (Guido van Rossum) Date: Wed, 10 Mar 1999 17:55:27 -0500 (EST) Subject: [Python-checkins] CVS: python/dist/src/Objects intobject.c Message-ID: <199903102255.RAA24063@eric.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Objects In directory eric:/projects/python/develop/guido/src/Objects Modified Files: intobject.c Log Message: Patch by Vladimir Marangoz to allow freeing of the allocated blocks of integers on finalization. From guido@cnri.reston.va.us Wed Mar 10 22:55:49 1999 From: guido@cnri.reston.va.us (Guido van Rossum) Date: Wed, 10 Mar 1999 17:55:49 -0500 (EST) Subject: [Python-checkins] CVS: python/dist/src/Objects floatobject.c Message-ID: <199903102255.RAA24084@eric.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Objects In directory eric:/projects/python/develop/guido/src/Objects Modified Files: floatobject.c Log Message: Patch by Vladimir Marangoz to allow freeing of the allocated blocks of floats on finalization. From guido@cnri.reston.va.us Thu Mar 11 01:47:04 1999 From: guido@cnri.reston.va.us (Guido van Rossum) Date: Wed, 10 Mar 1999 20:47:04 -0500 (EST) Subject: [Python-checkins] CVS: python/dist/src/Objects floatobject.c Message-ID: <199903110147.UAA27554@eric.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Objects In directory eric:/projects/python/develop/guido/src/Objects Modified Files: floatobject.c Log Message: Alas, Vladimir's patch caused a bus error (probably double alignment?), and I didn't test it. Withdrawing it for now. From guido@cnri.reston.va.us Thu Mar 11 13:26:23 1999 From: guido@cnri.reston.va.us (Guido van Rossum) Date: Thu, 11 Mar 1999 08:26:23 -0500 (EST) Subject: [Python-checkins] CVS: python/dist/src/Lib/test test_popen2.py Message-ID: <199903111326.IAA28082@eric.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Lib/test In directory eric:/projects/python/develop/guido/src/Lib/test Added Files: test_popen2.py Log Message: Test for popen2 module, by Chris Tismer. From guido@cnri.reston.va.us Thu Mar 11 13:26:25 1999 From: guido@cnri.reston.va.us (Guido van Rossum) Date: Thu, 11 Mar 1999 08:26:25 -0500 (EST) Subject: [Python-checkins] CVS: python/dist/src/Lib/test/output test_popen2 Message-ID: <199903111326.IAA28100@eric.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Lib/test/output In directory eric:/projects/python/develop/guido/src/Lib/test/output Added Files: test_popen2 Log Message: Test for popen2 module, by Chris Tismer. From fdrake@weyr.cnri.reston.va.us Thu Mar 11 16:04:06 1999 From: fdrake@weyr.cnri.reston.va.us (Fred L. Drake) Date: Thu, 11 Mar 1999 11:04:06 -0500 Subject: [Python-checkins] CVS: python/dist/src/Lib mimetypes.py Message-ID: <199903111604.LAA10548@weyr.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Lib In directory weyr:/home/fdrake/projects/python/Lib Modified Files: mimetypes.py Log Message: Added .rdf and .xsl as application/xml types. (.rdf is for the Resource Description Framework, a metadata encoding, and .xsl is for the Extensible Stylesheet Language.) From guido@cnri.reston.va.us Thu Mar 11 16:37:15 1999 From: guido@cnri.reston.va.us (Guido van Rossum) Date: Thu, 11 Mar 1999 11:37:15 -0500 (EST) Subject: [Python-checkins] CVS: python/dist/src/Tools/idle PathBrowser.py Message-ID: <199903111637.LAA28402@eric.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Tools/idle In directory eric:/projects/python/develop/guido/src/Tools/idle Modified Files: PathBrowser.py Log Message: - Don't crash in the case where a superclass is a string instead of a pyclbr.Class object; this can happen when the superclass is unrecognizable (to pyclbr), e.g. when module renaming is used. - Show a watch cursor when calling pyclbr (since it may take a while recursively parsing imported modules!). From guido@cnri.reston.va.us Thu Mar 11 16:51:25 1999 From: guido@cnri.reston.va.us (Guido van Rossum) Date: Thu, 11 Mar 1999 11:51:25 -0500 (EST) Subject: [Python-checkins] CVS: python/dist/src/Tools/idle Outline.py Message-ID: <199903111651.LAA28474@eric.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Tools/idle In directory eric:/projects/python/develop/guido/src/Tools/idle Removed Files: Outline.py Log Message: This file was never supposed to be part of IDLE. From fdrake@weyr.cnri.reston.va.us Thu Mar 11 17:35:14 1999 From: fdrake@weyr.cnri.reston.va.us (Fred L. Drake) Date: Thu, 11 Mar 1999 12:35:14 -0500 Subject: [Python-checkins] CVS: python/dist/src/Doc/tools/sgmlconv docfixer.py Message-ID: <199903111735.MAA11168@weyr.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Doc/tools/sgmlconv In directory weyr:/home/fdrake/projects/python/Doc/tools/sgmlconv Modified Files: docfixer.py Log Message: Add support for , some cleanup of module section after creating the . From guido@cnri.reston.va.us Thu Mar 11 23:21:26 1999 From: guido@cnri.reston.va.us (Guido van Rossum) Date: Thu, 11 Mar 1999 18:21:26 -0500 (EST) Subject: [Python-checkins] CVS: python/dist/src/Tools/idle PathBrowser.py Message-ID: <199903112321.SAA29235@eric.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Tools/idle In directory eric:/projects/python/develop/guido/src/Tools/idle Modified Files: PathBrowser.py Log Message: Don't crash when sys.path contains an empty string. From guido@cnri.reston.va.us Fri Mar 12 00:12:24 1999 From: guido@cnri.reston.va.us (Guido van Rossum) Date: Thu, 11 Mar 1999 19:12:24 -0500 (EST) Subject: [Python-checkins] CVS: python/dist/src/Objects floatobject.c Message-ID: <199903120012.TAA29456@eric.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Objects In directory eric:/projects/python/develop/guido/src/Objects Modified Files: floatobject.c Log Message: OK, try again. Vladimir gave me a fix for the alignment bus error, so here's his patch again. This time it works (at least on Solaris, Linux and Irix). From guido@cnri.reston.va.us Fri Mar 12 14:31:13 1999 From: guido@cnri.reston.va.us (Guido van Rossum) Date: Fri, 12 Mar 1999 09:31:13 -0500 (EST) Subject: [Python-checkins] CVS: python/dist/src/Lib urllib.py nturl2path.py Message-ID: <199903121431.JAA29895@eric.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Lib In directory eric:/projects/python/develop/guido/src/Lib Modified Files: urllib.py nturl2path.py Log Message: From: Sjoerd Mullender The filename to URL conversion didn't properly quote special characters. The URL to filename didn't properly unquote special chatacters. From fdrake@weyr.cnri.reston.va.us Fri Mar 12 15:27:37 1999 From: fdrake@weyr.cnri.reston.va.us (Fred L. Drake) Date: Fri, 12 Mar 1999 10:27:37 -0500 Subject: [Python-checkins] CVS: python/dist/src/Doc/lib libjpeg.tex Message-ID: <199903121527.KAA26319@weyr.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Doc/lib In directory weyr:/home/fdrake/projects/python/Doc/lib Modified Files: libjpeg.tex Log Message: Updates based on comments from /F. From fdrake@weyr.cnri.reston.va.us Fri Mar 12 16:24:24 1999 From: fdrake@weyr.cnri.reston.va.us (Fred L. Drake) Date: Fri, 12 Mar 1999 11:24:24 -0500 Subject: [Python-checkins] CVS: python/dist/src/Doc/lib libal.tex libfl.tex libgl.tex libpopen2.tex Message-ID: <199903121624.LAA27061@weyr.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Doc/lib In directory weyr:/home/fdrake/projects/python/Doc/lib Modified Files: libal.tex libfl.tex libgl.tex libpopen2.tex Log Message: Fixup the module keys. There were some problems with hosting / processing file HTML files on Windows machines do to case insensitivity. From fdrake@weyr.cnri.reston.va.us Fri Mar 12 18:21:35 1999 From: fdrake@weyr.cnri.reston.va.us (Fred L. Drake) Date: Fri, 12 Mar 1999 13:21:35 -0500 Subject: [Python-checkins] CVS: python/dist/src/Doc/tut tut.tex Message-ID: <199903121821.NAA27738@weyr.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Doc/tut In directory weyr:/home/fdrake/projects/python/Doc/tut Modified Files: tut.tex Log Message: Fixed grammatical error reported by Donald Wallace Rouse II . From fdrake@weyr.cnri.reston.va.us Fri Mar 12 18:34:22 1999 From: fdrake@weyr.cnri.reston.va.us (Fred L. Drake) Date: Fri, 12 Mar 1999 13:34:22 -0500 Subject: [Python-checkins] CVS: python/dist/src/Doc/lib libgetpass.tex Message-ID: <199903121834.NAA27789@weyr.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Doc/lib In directory weyr:/home/fdrake/projects/python/Doc/lib Modified Files: libgetpass.tex Log Message: Added availabililty annotations to respond to concerns of /F. From guido@cnri.reston.va.us Fri Mar 12 19:05:51 1999 From: guido@cnri.reston.va.us (Guido van Rossum) Date: Fri, 12 Mar 1999 14:05:51 -0500 (EST) Subject: [Python-checkins] CVS: python/dist/src/Demo/pdist rcsbump rcvs rrcs Message-ID: <199903121905.OAA01835@eric.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Demo/pdist In directory eric:/projects/python/develop/guido/src/Demo/pdist Modified Files: rcsbump rcvs rrcs Log Message: Change #! line to modern usage From guido@cnri.reston.va.us Fri Mar 12 19:08:00 1999 From: guido@cnri.reston.va.us (Guido van Rossum) Date: Fri, 12 Mar 1999 14:08:00 -0500 (EST) Subject: [Python-checkins] CVS: python/dist/src/Demo/zlib minigzip.py zlibdemo.py Message-ID: <199903121908.OAA01875@eric.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Demo/zlib In directory eric:/projects/python/develop/guido/src/Demo/zlib Modified Files: minigzip.py zlibdemo.py Log Message: Change #! line to modern usage; also chmod +x From guido@cnri.reston.va.us Fri Mar 12 19:31:49 1999 From: guido@cnri.reston.va.us (Guido van Rossum) Date: Fri, 12 Mar 1999 14:31:49 -0500 (EST) Subject: [Python-checkins] CVS: python/dist/src/Lib/plat-irix5 AWARE.py Message-ID: <199903121931.OAA02070@eric.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Lib/plat-irix5 In directory eric:/projects/python/develop/guido/src/Lib/plat-irix5 Removed Files: AWARE.py Log Message: Remove stuff with unsure copyright status From guido@cnri.reston.va.us Fri Mar 12 19:31:53 1999 From: guido@cnri.reston.va.us (Guido van Rossum) Date: Fri, 12 Mar 1999 14:31:53 -0500 (EST) Subject: [Python-checkins] CVS: python/dist/src/Lib/plat-irix6 AWARE.py Message-ID: <199903121931.OAA02085@eric.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Lib/plat-irix6 In directory eric:/projects/python/develop/guido/src/Lib/plat-irix6 Removed Files: AWARE.py Log Message: Remove stuff with unsure copyright status From guido@cnri.reston.va.us Fri Mar 12 19:43:02 1999 From: guido@cnri.reston.va.us (Guido van Rossum) Date: Fri, 12 Mar 1999 14:43:02 -0500 (EST) Subject: [Python-checkins] CVS: python/dist/src/Objects intobject.c Message-ID: <199903121943.OAA02133@eric.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Objects In directory eric:/projects/python/develop/guido/src/Objects Modified Files: intobject.c Log Message: Vladimir has restructured his code somewhat so that the blocks are now represented by an explicit structure. (There are still too many casts in the code, but that may be unavoidable.) Also added code so that with -vv it is very chatty about what it does. From guido@cnri.reston.va.us Fri Mar 12 19:43:19 1999 From: guido@cnri.reston.va.us (Guido van Rossum) Date: Fri, 12 Mar 1999 14:43:19 -0500 (EST) Subject: [Python-checkins] CVS: python/dist/src/Objects floatobject.c Message-ID: <199903121943.OAA02151@eric.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Objects In directory eric:/projects/python/develop/guido/src/Objects Modified Files: floatobject.c Log Message: Vladimir has restructured his code somewhat so that the blocks are now represented by an explicit structure. (There are still too many casts in the code, but that may be unavoidable.) Also added code so that with -vv it is very chatty about what it does. From fdrake@weyr.cnri.reston.va.us Fri Mar 12 19:57:40 1999 From: fdrake@weyr.cnri.reston.va.us (Fred L. Drake) Date: Fri, 12 Mar 1999 14:57:40 -0500 Subject: [Python-checkins] CVS: python/dist/src/Doc/lib libthreading.tex Message-ID: <199903121957.OAA29034@weyr.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Doc/lib In directory weyr:/home/fdrake/projects/python/Doc/lib Modified Files: libthreading.tex Log Message: Fixed tons of small markup problems. From guido@cnri.reston.va.us Fri Mar 12 22:07:08 1999 From: guido@cnri.reston.va.us (Guido van Rossum) Date: Fri, 12 Mar 1999 17:07:08 -0500 (EST) Subject: [Python-checkins] CVS: python/dist/src/Tools/freeze freeze.py Message-ID: <199903122207.RAA05985@eric.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Tools/freeze In directory eric:/projects/python/develop/guido/src/Tools/freeze Modified Files: freeze.py Log Message: 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.) From guido@cnri.reston.va.us Fri Mar 12 22:15:45 1999 From: guido@cnri.reston.va.us (Guido van Rossum) Date: Fri, 12 Mar 1999 17:15:45 -0500 (EST) Subject: [Python-checkins] CVS: python/dist/src/Lib cmd.py Message-ID: <199903122215.RAA06042@eric.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Lib In directory eric:/projects/python/develop/guido/src/Lib Modified Files: cmd.py Log Message: 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] From fdrake@weyr.cnri.reston.va.us Mon Mar 15 15:44:20 1999 From: fdrake@weyr.cnri.reston.va.us (Fred L. Drake) Date: Mon, 15 Mar 1999 10:44:20 -0500 Subject: [Python-checkins] CVS: python/dist/src/Doc/lib libmhlib.tex libtelnetlib.tex lib.tex Message-ID: <199903151544.KAA02116@weyr.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Doc/lib In directory weyr:/home/fdrake/projects/python/Doc/lib Modified Files: lib.tex Added Files: libmhlib.tex libtelnetlib.tex Log Message: Preliminary mhlib and telnetlib documents from Skip Montanaro -- thanks, Skip! From fdrake@weyr.cnri.reston.va.us Mon Mar 15 15:47:32 1999 From: fdrake@weyr.cnri.reston.va.us (Fred L. Drake) Date: Mon, 15 Mar 1999 10:47:32 -0500 Subject: [Python-checkins] CVS: python/dist/src/Doc Makefile.deps Message-ID: <199903151547.KAA02157@weyr.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Doc In directory weyr:/home/fdrake/projects/python/Doc Modified Files: Makefile.deps Log Message: Added the new sections from Skip Montanaro. From guido@cnri.reston.va.us Mon Mar 15 16:16:32 1999 From: guido@cnri.reston.va.us (Guido van Rossum) Date: Mon, 15 Mar 1999 11:16:32 -0500 (EST) Subject: [Python-checkins] CVS: python/dist/src/Lib urllib.py Message-ID: <199903151616.LAA07532@eric.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Lib In directory eric:/projects/python/develop/guido/src/Lib Modified Files: urllib.py Log Message: Yet another patch by Sjoerd Mullender: Don't convert URLs to URLs using pathname2url. From guido@cnri.reston.va.us Mon Mar 15 16:37:56 1999 From: guido@cnri.reston.va.us (Guido van Rossum) Date: Mon, 15 Mar 1999 11:37:56 -0500 (EST) Subject: [Python-checkins] CVS: python/dist/src/Tools/bgen/bgen bgenObjectDefinition.py Message-ID: <199903151637.LAA07652@eric.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Tools/bgen/bgen In directory eric:/projects/python/develop/guido/src/Tools/bgen/bgen Modified Files: bgenObjectDefinition.py Log Message: 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... From guido@cnri.reston.va.us Mon Mar 15 20:27:56 1999 From: guido@cnri.reston.va.us (Guido van Rossum) Date: Mon, 15 Mar 1999 15:27:56 -0500 (EST) Subject: [Python-checkins] CVS: python/dist/src/Python thread_pthread.h Message-ID: <199903152027.PAA08154@eric.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Python In directory eric:/projects/python/develop/guido/src/Python Modified Files: thread_pthread.h Log Message: 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?] From guido@cnri.reston.va.us Mon Mar 15 21:40:16 1999 From: guido@cnri.reston.va.us (Guido van Rossum) Date: Mon, 15 Mar 1999 16:40:16 -0500 (EST) Subject: [Python-checkins] CVS: python/dist/src/Modules socketmodule.c Message-ID: <199903152140.QAA12423@eric.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Modules In directory eric:/projects/python/develop/guido/src/Modules Modified Files: socketmodule.c Log Message: Patch by Rob Riggs for Linux -- glibc2 has a different argument converntion for gethostbyname_r() etc. than Solaris! From guido@cnri.reston.va.us Mon Mar 15 21:41:01 1999 From: guido@cnri.reston.va.us (Guido van Rossum) Date: Mon, 15 Mar 1999 16:41:01 -0500 (EST) Subject: [Python-checkins] CVS: python/dist/src configure.in Message-ID: <199903152141.QAA12446@eric.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src In directory eric:/projects/python/develop/guido/src Modified Files: configure.in Log Message: Should test for gethost*by*name_r, not for gethostname_r (which doesn't exist and doesn't make sense). From fdrake@weyr.cnri.reston.va.us Tue Mar 16 14:17:49 1999 From: fdrake@weyr.cnri.reston.va.us (Fred L. Drake) Date: Tue, 16 Mar 1999 09:17:49 -0500 Subject: [Python-checkins] CVS: python/dist/src/Modules cmathmodule.c Message-ID: <199903161417.JAA03873@weyr.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Modules In directory weyr:/home/fdrake/projects/python/Modules Modified Files: cmathmodule.c Log Message: Docstring fix: acosh() returns the hyperbolic arccosine, not the hyperbolic cosine. Problem report via David Ascher by one of his students. From fdrake@weyr.cnri.reston.va.us Tue Mar 16 15:49:53 1999 From: fdrake@weyr.cnri.reston.va.us (Fred L. Drake) Date: Tue, 16 Mar 1999 10:49:53 -0500 Subject: [Python-checkins] CVS: python/dist/src/Doc/doc - New directory Message-ID: <199903161549.KAA04171@weyr.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Doc/doc In directory weyr:/home/fdrake/projects/python/Doc/doc Log Message: Directory /projects/cvsroot/python/dist/src/Doc/doc added to the repository From fdrake@weyr.cnri.reston.va.us Tue Mar 16 16:08:28 1999 From: fdrake@weyr.cnri.reston.va.us (Fred L. Drake) Date: Tue, 16 Mar 1999 11:08:28 -0500 Subject: [Python-checkins] CVS: python/dist/src/Doc/texinputs ltxmarkup.sty Message-ID: <199903161608.LAA04356@weyr.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Doc/texinputs In directory weyr:/home/fdrake/projects/python/Doc/texinputs Added Files: ltxmarkup.sty Log Message: Markup for documenting LaTeX macros and environments. From fdrake@weyr.cnri.reston.va.us Tue Mar 16 16:09:15 1999 From: fdrake@weyr.cnri.reston.va.us (Fred L. Drake) Date: Tue, 16 Mar 1999 11:09:15 -0500 Subject: [Python-checkins] CVS: python/dist/src/Doc/doc doc.tex Message-ID: <199903161609.LAA04379@weyr.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Doc/doc In directory weyr:/home/fdrake/projects/python/Doc/doc Added Files: doc.tex Log Message: New document: "Documenting Python". From fdrake@weyr.cnri.reston.va.us Tue Mar 16 16:10:33 1999 From: fdrake@weyr.cnri.reston.va.us (Fred L. Drake) Date: Tue, 16 Mar 1999 11:10:33 -0500 Subject: [Python-checkins] CVS: python/dist/src/Doc/templates howto.tex Message-ID: <199903161610.LAA04409@weyr.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Doc/templates In directory weyr:/home/fdrake/projects/python/Doc/templates Modified Files: howto.tex Log Message: Removed the embedded sections showing module documentation; just \input the module template. From fdrake@weyr.cnri.reston.va.us Tue Mar 16 16:11:27 1999 From: fdrake@weyr.cnri.reston.va.us (Fred L. Drake) Date: Tue, 16 Mar 1999 11:11:27 -0500 Subject: [Python-checkins] CVS: python/dist/src/Doc Makefile Makefile.deps Message-ID: <199903161611.LAA04437@weyr.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Doc In directory weyr:/home/fdrake/projects/python/Doc Modified Files: Makefile Makefile.deps Log Message: Add support for "Documenting Python". From fdrake@weyr.cnri.reston.va.us Tue Mar 16 16:11:28 1999 From: fdrake@weyr.cnri.reston.va.us (Fred L. Drake) Date: Tue, 16 Mar 1999 11:11:28 -0500 Subject: [Python-checkins] CVS: python/dist/src/Doc/paper-letter Makefile Message-ID: <199903161611.LAA04447@weyr.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Doc/paper-letter In directory weyr:/home/fdrake/projects/python/Doc/paper-letter Modified Files: Makefile Log Message: Add support for "Documenting Python". From fdrake@weyr.cnri.reston.va.us Tue Mar 16 16:14:51 1999 From: fdrake@weyr.cnri.reston.va.us (Fred L. Drake) Date: Tue, 16 Mar 1999 11:14:51 -0500 Subject: [Python-checkins] CVS: python/dist/src/Doc/paper-letter .cvsignore Message-ID: <199903161614.LAA04500@weyr.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Doc/paper-letter In directory weyr:/home/fdrake/projects/python/Doc/paper-letter Modified Files: .cvsignore Log Message: Ignore some more files kept by mkhowto --keep. From fdrake@weyr.cnri.reston.va.us Tue Mar 16 16:14:53 1999 From: fdrake@weyr.cnri.reston.va.us (Fred L. Drake) Date: Tue, 16 Mar 1999 11:14:53 -0500 Subject: [Python-checkins] CVS: python/dist/src/Doc/paper-a4 .cvsignore Message-ID: <199903161614.LAA04511@weyr.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Doc/paper-a4 In directory weyr:/home/fdrake/projects/python/Doc/paper-a4 Modified Files: .cvsignore Log Message: Ignore some more files kept by mkhowto --keep. From fdrake@weyr.cnri.reston.va.us Tue Mar 16 16:40:02 1999 From: fdrake@weyr.cnri.reston.va.us (Fred L. Drake) Date: Tue, 16 Mar 1999 11:40:02 -0500 Subject: [Python-checkins] CVS: python/dist/src/Doc/lib libfnmatch.tex libglob.tex Message-ID: <199903161640.LAA04572@weyr.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Doc/lib In directory weyr:/home/fdrake/projects/python/Doc/lib Modified Files: libfnmatch.tex libglob.tex Log Message: Fixed minor nits, added index entries to make these easier to find for people not familiar with Unix terminology. From guido@cnri.reston.va.us Tue Mar 16 21:54:53 1999 From: guido@cnri.reston.va.us (Guido van Rossum) Date: Tue, 16 Mar 1999 16:54:53 -0500 (EST) Subject: [Python-checkins] CVS: python/dist/src/Lib/lib-tk Tkinter.py Message-ID: <199903162154.QAA13999@eric.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Lib/lib-tk In directory eric:/projects/python/develop/guido/src/Lib/lib-tk Modified Files: Tkinter.py Log Message: 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. From fdrake@weyr.cnri.reston.va.us Wed Mar 17 16:06:53 1999 From: fdrake@weyr.cnri.reston.va.us (Fred L. Drake) Date: Wed, 17 Mar 1999 11:06:53 -0500 Subject: [Python-checkins] CVS: python/dist/src/Doc Makefile Message-ID: <199903171606.LAA08056@weyr.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Doc In directory weyr:/home/fdrake/projects/python/Doc Modified Files: Makefile Log Message: Be sure "make" understands the "doc" target is phony. From guido@cnri.reston.va.us Wed Mar 17 18:44:42 1999 From: guido@cnri.reston.va.us (Guido van Rossum) Date: Wed, 17 Mar 1999 13:44:42 -0500 (EST) Subject: [Python-checkins] CVS: python/dist/src/Include abstract.h ceval.h Message-ID: <199903171844.NAA23444@eric.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Include In directory eric:/projects/python/develop/guido/src/Include Modified Files: abstract.h ceval.h Log Message: Add DLL level b/w compat for PySequence_In and PyEval_CallObject From fdrake@weyr.cnri.reston.va.us Wed Mar 17 22:25:13 1999 From: fdrake@weyr.cnri.reston.va.us (Fred L. Drake) Date: Wed, 17 Mar 1999 17:25:13 -0500 Subject: [Python-checkins] CVS: python/dist/src/Doc/lib libposixpath.tex Message-ID: <199903172225.RAA08896@weyr.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Doc/lib In directory weyr:/home/fdrake/projects/python/Doc/lib Modified Files: libposixpath.tex Log Message: Note that abspath() was added in 1.5.2. From guido@cnri.reston.va.us Wed Mar 17 22:30:11 1999 From: guido@cnri.reston.va.us (Guido van Rossum) Date: Wed, 17 Mar 1999 17:30:11 -0500 (EST) Subject: [Python-checkins] CVS: python/dist/src/Lib urlparse.py Message-ID: <199903172230.RAA23739@eric.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Lib In directory eric:/projects/python/develop/guido/src/Lib Modified Files: urlparse.py Log Message: 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. From guido@cnri.reston.va.us Thu Mar 18 14:21:44 1999 From: guido@cnri.reston.va.us (Guido van Rossum) Date: Thu, 18 Mar 1999 09:21:44 -0500 (EST) Subject: [Python-checkins] CVS: python/dist/src/Lib nturl2path.py Message-ID: <199903181421.JAA25782@eric.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Lib In directory eric:/projects/python/develop/guido/src/Lib Modified Files: nturl2path.py Log Message: 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. From fdrake@weyr.cnri.reston.va.us Thu Mar 18 14:57:56 1999 From: fdrake@weyr.cnri.reston.va.us (Fred L. Drake) Date: Thu, 18 Mar 1999 09:57:56 -0500 Subject: [Python-checkins] CVS: python/dist/src/Doc/tools getpagecounts Message-ID: <199903181457.JAA10891@weyr.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Doc/tools In directory weyr:/home/fdrake/projects/python/Doc/tools Modified Files: getpagecounts Log Message: 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. From guido@cnri.reston.va.us Thu Mar 18 15:10:45 1999 From: guido@cnri.reston.va.us (Guido van Rossum) Date: Thu, 18 Mar 1999 10:10:45 -0500 (EST) Subject: [Python-checkins] CVS: python/dist/src/Lib urlparse.py Message-ID: <199903181510.KAA25958@eric.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Lib In directory eric:/projects/python/develop/guido/src/Lib Modified Files: urlparse.py Log Message: 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. From fdrake@weyr.cnri.reston.va.us Thu Mar 18 16:08:56 1999 From: fdrake@weyr.cnri.reston.va.us (Fred L. Drake) Date: Thu, 18 Mar 1999 11:08:56 -0500 Subject: [Python-checkins] CVS: python/dist/src/Doc/lib libftplib.tex Message-ID: <199903181608.LAA11408@weyr.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Doc/lib In directory weyr:/home/fdrake/projects/python/Doc/lib Modified Files: libftplib.tex Log Message: Documented FTP.set_pasv(). From fdrake@weyr.cnri.reston.va.us Thu Mar 18 16:18:29 1999 From: fdrake@weyr.cnri.reston.va.us (Fred L. Drake) Date: Thu, 18 Mar 1999 11:18:29 -0500 Subject: [Python-checkins] CVS: python/dist/src/Doc/texinputs python.sty Message-ID: <199903181618.LAA11451@weyr.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Doc/texinputs In directory weyr:/home/fdrake/projects/python/Doc/texinputs Modified Files: python.sty Log Message: 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. From fdrake@weyr.cnri.reston.va.us Thu Mar 18 16:42:30 1999 From: fdrake@weyr.cnri.reston.va.us (Fred L. Drake) Date: Thu, 18 Mar 1999 11:42:30 -0500 Subject: [Python-checkins] CVS: python/dist/src/Doc/perl ltxmarkup.perl Message-ID: <199903181642.LAA11629@weyr.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Doc/perl In directory weyr:/home/fdrake/projects/python/Doc/perl Added Files: ltxmarkup.perl Log Message: LaTeX2HTML support for the ltxmarkup package. From fdrake@weyr.cnri.reston.va.us Thu Mar 18 19:07:05 1999 From: fdrake@weyr.cnri.reston.va.us (Fred L. Drake) Date: Thu, 18 Mar 1999 14:07:05 -0500 Subject: [Python-checkins] CVS: python/dist/src/Doc/html Makefile Message-ID: <199903181907.OAA11915@weyr.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Doc/html In directory weyr:/home/fdrake/projects/python/Doc/html Modified Files: Makefile Log Message: Add "Documenting Python" to the list of processed documents. From fdrake@weyr.cnri.reston.va.us Thu Mar 18 19:08:49 1999 From: fdrake@weyr.cnri.reston.va.us (Fred L. Drake) Date: Thu, 18 Mar 1999 14:08:49 -0500 Subject: [Python-checkins] CVS: python/dist/src/Doc Makefile Message-ID: <199903181908.OAA11937@weyr.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Doc In directory weyr:/home/fdrake/projects/python/Doc Modified Files: Makefile Log Message: Added htmldoc, to generate the HTML for "Documenting Python". From guido@cnri.reston.va.us Fri Mar 19 19:04:28 1999 From: guido@cnri.reston.va.us (Guido van Rossum) Date: Fri, 19 Mar 1999 14:04:28 -0500 (EST) Subject: [Python-checkins] CVS: python/dist/src/Objects bufferobject.c Message-ID: <199903191904.OAA29020@eric.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Objects In directory eric:/projects/python/develop/guido/src/Objects Modified Files: bufferobject.c Log Message: Added check for negative offset for PyBuffer_FromObject and check for negative size for PyBuffer_FromMemory. Greg Stein. From guido@cnri.reston.va.us Fri Mar 19 19:07:21 1999 From: guido@cnri.reston.va.us (Guido van Rossum) Date: Fri, 19 Mar 1999 14:07:21 -0500 (EST) Subject: [Python-checkins] CVS: python/dist/src/Python bltinmodule.c Message-ID: <199903191907.OAA29039@eric.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Python In directory eric:/projects/python/develop/guido/src/Python Modified Files: bltinmodule.c Log Message: New builtin buffer() creates a derived read-only buffer from any object that supports the buffer interface (e.g. strings, arrays). From guido@cnri.reston.va.us Fri Mar 19 19:08:05 1999 From: guido@cnri.reston.va.us (Guido van Rossum) Date: Fri, 19 Mar 1999 14:08:05 -0500 (EST) Subject: [Python-checkins] CVS: python/dist/src/Lib types.py Message-ID: <199903191908.OAA29058@eric.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Lib In directory eric:/projects/python/develop/guido/src/Lib Modified Files: types.py Log Message: Added BufferType, the type returned by the new builtin buffer(). Greg Stein. From guido@cnri.reston.va.us Fri Mar 19 19:10:15 1999 From: guido@cnri.reston.va.us (Guido van Rossum) Date: Fri, 19 Mar 1999 14:10:15 -0500 (EST) Subject: [Python-checkins] CVS: python/dist/src/Doc/lib libfuncs.tex Message-ID: <199903191910.OAA29078@eric.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Doc/lib In directory eric:/projects/python/develop/guido/Doc/lib Modified Files: libfuncs.tex Log Message: Document new builtin buffer(). Greg Stein. From guido@cnri.reston.va.us Fri Mar 19 20:30:41 1999 From: guido@cnri.reston.va.us (Guido van Rossum) Date: Fri, 19 Mar 1999 15:30:41 -0500 (EST) Subject: [Python-checkins] CVS: python/dist/src/Objects intobject.c Message-ID: <199903192030.PAA03238@eric.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Objects In directory eric:/projects/python/develop/guido/src/Objects Modified Files: intobject.c Log Message: 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. From guido@cnri.reston.va.us Fri Mar 19 20:59:43 1999 From: guido@cnri.reston.va.us (Guido van Rossum) Date: Fri, 19 Mar 1999 15:59:43 -0500 (EST) Subject: [Python-checkins] CVS: python/dist/src/Objects floatobject.c Message-ID: <199903192059.PAA03395@eric.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Objects In directory eric:/projects/python/develop/guido/src/Objects Modified Files: floatobject.c Log Message: 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. From guido@cnri.reston.va.us Fri Mar 19 21:03:56 1999 From: guido@cnri.reston.va.us (Guido van Rossum) Date: Fri, 19 Mar 1999 16:03:56 -0500 (EST) Subject: [Python-checkins] CVS: python/dist/src/Lib ntpath.py Message-ID: <199903192103.QAA03446@eric.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Lib In directory eric:/projects/python/develop/guido/src/Lib Modified Files: ntpath.py Log Message: New code for split() by Tim Peters, behaves more like posixpath.split(). From guido@cnri.reston.va.us Fri Mar 19 21:05:14 1999 From: guido@cnri.reston.va.us (Guido van Rossum) Date: Fri, 19 Mar 1999 16:05:14 -0500 (EST) Subject: [Python-checkins] CVS: python/dist/src/Lib dospath.py Message-ID: <199903192105.QAA03468@eric.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Lib In directory eric:/projects/python/develop/guido/src/Lib Modified Files: dospath.py Log Message: New code for split() by Tim Peters, behaves more like posixpath.split(). From guido@cnri.reston.va.us Fri Mar 19 21:50:12 1999 From: guido@cnri.reston.va.us (Guido van Rossum) Date: Fri, 19 Mar 1999 16:50:12 -0500 (EST) Subject: [Python-checkins] CVS: python/dist/src/Modules arraymodule.c Message-ID: <199903192150.QAA04267@eric.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Modules In directory eric:/projects/python/develop/guido/src/Modules Modified Files: arraymodule.c Log Message: Use an unsigned cast to avoid a warning in VC++. From guido@cnri.reston.va.us Mon Mar 22 15:28:11 1999 From: guido@cnri.reston.va.us (Guido van Rossum) Date: Mon, 22 Mar 1999 10:28:11 -0500 (EST) Subject: [Python-checkins] CVS: python/dist/src/Lib shlex.py Message-ID: <199903221528.KAA05911@eric.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Lib In directory eric:/projects/python/develop/guido/src/Lib Modified Files: shlex.py Log Message: Bug reported by Tobias Thelen: missing "self." in assignment target. From akuchlin@cnri.reston.va.us Mon Mar 22 19:23:21 1999 From: akuchlin@cnri.reston.va.us (Andrew M. Kuchling) Date: Mon, 22 Mar 1999 14:23:21 -0500 (EST) Subject: [Python-checkins] CVS: python/dist/src/Lib/test test_zlib.py Message-ID: <199903221923.OAA25217@amarok.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Lib/test In directory amarok:/home/akuchlin/src/Python-1.5/Lib/test Modified Files: test_zlib.py Log Message: Added simple test for the flush() method of compression objects, trying the different flush values Z_NO_FLUSH, Z_SYNC_FLUSH, Z_FULL_FLUSH. From akuchlin@cnri.reston.va.us Mon Mar 22 19:25:32 1999 From: akuchlin@cnri.reston.va.us (Andrew M. Kuchling) Date: Mon, 22 Mar 1999 14:25:32 -0500 (EST) Subject: [Python-checkins] CVS: python/dist/src/Modules zlibmodule.c Message-ID: <199903221925.OAA25241@amarok.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Modules In directory amarok:/home/akuchlin/src/Python-1.5/Modules Modified Files: zlibmodule.c Log Message: 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. From guido@cnri.reston.va.us Mon Mar 22 20:14:55 1999 From: guido@cnri.reston.va.us (Guido van Rossum) Date: Mon, 22 Mar 1999 15:14:55 -0500 (EST) Subject: [Python-checkins] CVS: python/dist/src/Modules socketmodule.c Message-ID: <199903222014.PAA07066@eric.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Modules In directory eric:/projects/python/develop/guido/src/Modules Modified Files: socketmodule.c Log Message: 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. From guido@cnri.reston.va.us Mon Mar 22 21:44:54 1999 From: guido@cnri.reston.va.us (Guido van Rossum) Date: Mon, 22 Mar 1999 16:44:54 -0500 (EST) Subject: [Python-checkins] CVS: python/dist/src/Modules socketmodule.c Message-ID: <199903222144.QAA07672@eric.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Modules In directory eric:/projects/python/develop/guido/src/Modules Modified Files: socketmodule.c Log Message: 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.") From guido@cnri.reston.va.us Mon Mar 22 21:45:32 1999 From: guido@cnri.reston.va.us (Guido van Rossum) Date: Mon, 22 Mar 1999 16:45:32 -0500 (EST) Subject: [Python-checkins] CVS: python/dist/src acconfig.h Message-ID: <199903222145.QAA07691@eric.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src In directory eric:/projects/python/develop/guido/src Modified Files: acconfig.h Log Message: Add symbols for gethostbyname_r variants (sigh). From guido@cnri.reston.va.us Mon Mar 22 21:46:08 1999 From: guido@cnri.reston.va.us (Guido van Rossum) Date: Mon, 22 Mar 1999 16:46:08 -0500 (EST) Subject: [Python-checkins] CVS: python/dist/src config.h.in Message-ID: <199903222146.QAA07711@eric.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src In directory eric:/projects/python/develop/guido/src Modified Files: config.h.in Log Message: Add symbols for gethostbyname_r variants (sigh). From guido@cnri.reston.va.us Mon Mar 22 21:49:53 1999 From: guido@cnri.reston.va.us (Guido van Rossum) Date: Mon, 22 Mar 1999 16:49:53 -0500 (EST) Subject: [Python-checkins] CVS: python/dist/src configure configure.in Message-ID: <199903222149.QAA08124@eric.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src In directory eric:/projects/python/develop/guido/src Modified Files: configure configure.in Log Message: Add code to test for all sorts of gethostbyname_r variants, donated by David Arnold. From guido@cnri.reston.va.us Mon Mar 22 22:25:41 1999 From: guido@cnri.reston.va.us (Guido van Rossum) Date: Mon, 22 Mar 1999 17:25:41 -0500 (EST) Subject: [Python-checkins] CVS: python/dist/src/Include thread.h Message-ID: <199903222225.RAA08506@eric.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Include In directory eric:/projects/python/develop/guido/src/Include Added Files: thread.h Log Message: Adding thread.h -- unused but for b/w compatibility. As requested by Bill Janssen. From guido@cnri.reston.va.us Tue Mar 23 16:40:38 1999 From: guido@cnri.reston.va.us (Guido van Rossum) Date: Tue, 23 Mar 1999 11:40:38 -0500 (EST) Subject: [Python-checkins] CVS: python/dist/src configure.in configure Message-ID: <199903231640.LAA13552@eric.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src In directory eric:/projects/python/develop/guido/src Modified Files: configure.in configure Log Message: Ack! It never defined HAVE_GETHOSTBYNAME_R so that code was never tested! From guido@cnri.reston.va.us Tue Mar 23 19:00:58 1999 From: guido@cnri.reston.va.us (Guido van Rossum) Date: Tue, 23 Mar 1999 14:00:58 -0500 (EST) Subject: [Python-checkins] CVS: python/dist/src/Modules Makefile.pre.in Message-ID: <199903231900.OAA17577@eric.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Modules In directory eric:/projects/python/develop/guido/src/Modules Modified Files: Makefile.pre.in Log Message: Add $(EXE) to various occurrences of python so it will work on Cygwin with egcs (after setting EXE=.exe). Patch by Norman Vine. From jhylton@cnri.reston.va.us Tue Mar 23 23:05:36 1999 From: jhylton@cnri.reston.va.us (Jeremy Hylton) Date: Tue, 23 Mar 1999 18:05:36 -0500 (EST) Subject: [Python-checkins] CVS: python/dist/src/Lib gzip.py Message-ID: <199903232305.SAA00736@bitdiddle.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Lib In directory bitdiddle:/local/home/jhylton/local/python/src/Lib Modified Files: gzip.py Log Message: use struct instead of bit-manipulate in Python From fdrake@weyr.cnri.reston.va.us Wed Mar 24 14:16:20 1999 From: fdrake@weyr.cnri.reston.va.us (Fred L. Drake) Date: Wed, 24 Mar 1999 09:16:20 -0500 Subject: [Python-checkins] CVS: python/dist/src/Doc/texinputs python.sty Message-ID: <199903241416.JAA28438@weyr.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Doc/texinputs In directory weyr:/home/fdrake/projects/python/Doc/texinputs Modified Files: python.sty Log Message: Use more recent option to \pdfdest to not change the zoom factor. This is in response to a comment from Wes Rishel . From guido@cnri.reston.va.us Wed Mar 24 16:20:46 1999 From: guido@cnri.reston.va.us (Guido van Rossum) Date: Wed, 24 Mar 1999 11:20:46 -0500 (EST) Subject: [Python-checkins] CVS: python/dist/src/Lib mailbox.py Message-ID: <199903241620.LAA19914@eric.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Lib In directory eric:/projects/python/develop/guido/src/Lib Modified Files: mailbox.py Log Message: 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. From guido@cnri.reston.va.us Wed Mar 24 17:20:42 1999 From: guido@cnri.reston.va.us (Guido van Rossum) Date: Wed, 24 Mar 1999 12:20:42 -0500 (EST) Subject: [Python-checkins] CVS: python/dist/src/Modules socketmodule.c Message-ID: <199903241720.MAA20416@eric.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Modules In directory eric:/projects/python/develop/guido/src/Modules Modified Files: socketmodule.c Log Message: Vladimir Marangozov implements the AIX 3-arg gethostbyname_r code. From guido@cnri.reston.va.us Wed Mar 24 17:24:35 1999 From: guido@cnri.reston.va.us (Guido van Rossum) Date: Wed, 24 Mar 1999 12:24:35 -0500 (EST) Subject: [Python-checkins] CVS: python/dist/src/Modules socketmodule.c Message-ID: <199903241724.MAA20452@eric.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Modules In directory eric:/projects/python/develop/guido/src/Modules Modified Files: socketmodule.c Log Message: 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. From guido@cnri.reston.va.us Wed Mar 24 17:46:42 1999 From: guido@cnri.reston.va.us (Guido van Rossum) Date: Wed, 24 Mar 1999 12:46:42 -0500 (EST) Subject: [Python-checkins] CVS: python/dist/src/BeOS ar-fake linkmodule Message-ID: <199903241746.MAA20657@eric.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/BeOS In directory eric:/projects/python/develop/guido/src/BeOS Modified Files: ar-fake linkmodule Log Message: Chris Herborth: the new compiler in R4.1 needs some new options to work... From guido@cnri.reston.va.us Wed Mar 24 17:48:14 1999 From: guido@cnri.reston.va.us (Guido van Rossum) Date: Wed, 24 Mar 1999 12:48:14 -0500 (EST) Subject: [Python-checkins] CVS: python/dist/src configure configure.in Message-ID: <199903241748.MAA21078@eric.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src In directory eric:/projects/python/develop/guido/src Modified Files: configure configure.in Log Message: Chris Herborth: the new compiler in R4.1 needs some new options to work... From guido@cnri.reston.va.us Wed Mar 24 19:02:12 1999 From: guido@cnri.reston.va.us (Guido van Rossum) Date: Wed, 24 Mar 1999 14:02:12 -0500 (EST) Subject: [Python-checkins] CVS: python/dist/src/Include pythread.h Message-ID: <199903241902.OAA23238@eric.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Include In directory eric:/projects/python/develop/guido/src/Include Modified Files: pythread.h Log Message: Conform to standard boilerplate. From guido@cnri.reston.va.us Wed Mar 24 19:03:04 1999 From: guido@cnri.reston.va.us (Guido van Rossum) Date: Wed, 24 Mar 1999 14:03:04 -0500 (EST) Subject: [Python-checkins] CVS: python/dist/src/Lib/test test_bsddb.py Message-ID: <199903241903.OAA23269@eric.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Lib/test In directory eric:/projects/python/develop/guido/src/Lib/test Modified Files: test_bsddb.py Log Message: Remove the temp file when we're done. From guido@cnri.reston.va.us Wed Mar 24 19:04:01 1999 From: guido@cnri.reston.va.us (Guido van Rossum) Date: Wed, 24 Mar 1999 14:04:01 -0500 (EST) Subject: [Python-checkins] CVS: python/dist/src/Modules shamodule.c Setup.in Message-ID: <199903241904.OAA23332@eric.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Modules In directory eric:/projects/python/develop/guido/src/Modules Modified Files: Setup.in Added Files: shamodule.c Log Message: Added Greg Stein and Andrew Kuchling's sha module. Fix comments about zlib version and URL. From guido@cnri.reston.va.us Wed Mar 24 19:04:32 1999 From: guido@cnri.reston.va.us (Guido van Rossum) Date: Wed, 24 Mar 1999 14:04:32 -0500 (EST) Subject: [Python-checkins] CVS: python/dist/src/Lib/test test_sha.py Message-ID: <199903241904.OAA23361@eric.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Lib/test In directory eric:/projects/python/develop/guido/src/Lib/test Added Files: test_sha.py Log Message: Added Jeremy's test code for the sha module. From guido@cnri.reston.va.us Wed Mar 24 19:04:35 1999 From: guido@cnri.reston.va.us (Guido van Rossum) Date: Wed, 24 Mar 1999 14:04:35 -0500 (EST) Subject: [Python-checkins] CVS: python/dist/src/Lib/test/output test_sha Message-ID: <199903241904.OAA23374@eric.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Lib/test/output In directory eric:/projects/python/develop/guido/src/Lib/test/output Added Files: test_sha Log Message: Added Jeremy's test code for the sha module. From guido@cnri.reston.va.us Wed Mar 24 19:05:33 1999 From: guido@cnri.reston.va.us (Guido van Rossum) Date: Wed, 24 Mar 1999 14:05:33 -0500 (EST) Subject: [Python-checkins] CVS: python/dist/src/Objects bufferobject.c Message-ID: <199903241905.OAA23422@eric.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Objects In directory eric:/projects/python/develop/guido/src/Objects Modified Files: bufferobject.c Log Message: Folded long lines. From guido@cnri.reston.va.us Wed Mar 24 19:06:44 1999 From: guido@cnri.reston.va.us (Guido van Rossum) Date: Wed, 24 Mar 1999 14:06:44 -0500 (EST) Subject: [Python-checkins] CVS: python/dist/src/Objects dictobject.c Message-ID: <199903241906.OAA23445@eric.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Objects In directory eric:/projects/python/develop/guido/src/Objects Modified Files: dictobject.c Log Message: Vladimir Marangozov contributed updated comments. From guido@cnri.reston.va.us Wed Mar 24 19:09:03 1999 From: guido@cnri.reston.va.us (Guido van Rossum) Date: Wed, 24 Mar 1999 14:09:03 -0500 (EST) Subject: [Python-checkins] CVS: python/dist/src/Tools/webchecker wcnew.py Message-ID: <199903241909.OAA23468@eric.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Tools/webchecker In directory eric:/projects/python/develop/guido/src/Tools/webchecker Added Files: wcnew.py Log Message: 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.) From fdrake@weyr.cnri.reston.va.us Thu Mar 25 05:04:19 1999 From: fdrake@weyr.cnri.reston.va.us (Fred L. Drake) Date: Thu, 25 Mar 1999 00:04:19 -0500 Subject: [Python-checkins] CVS: python/dist/src/Doc/lib libftplib.tex Message-ID: <199903250504.AAA01147@weyr.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Doc/lib In directory weyr:/home/fdrake/projects/python/Doc/lib Modified Files: libftplib.tex Log Message: Added note about ftpmirror.py, since that seems to be one of the most requested Python tools/examples. From fdrake@weyr.cnri.reston.va.us Thu Mar 25 16:57:06 1999 From: fdrake@weyr.cnri.reston.va.us (Fred L. Drake) Date: Thu, 25 Mar 1999 11:57:06 -0500 Subject: [Python-checkins] CVS: python/dist/src/Doc/perl python.perl Message-ID: <199903251657.LAA02799@weyr.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Doc/perl In directory weyr:/home/fdrake/projects/python/Doc/perl Modified Files: python.perl Log Message: Remove \platformof support, since it's been removed from the LaTeX style sheet. Small nits. From guido@cnri.reston.va.us Thu Mar 25 20:30:03 1999 From: guido@cnri.reston.va.us (Guido van Rossum) Date: Thu, 25 Mar 1999 15:30:03 -0500 (EST) Subject: [Python-checkins] CVS: python/dist/src/Doc/lib libsignal.tex libsys.tex Message-ID: <199903252030.PAA24656@eric.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Doc/lib In directory eric:/projects/python/develop/guido/Doc/lib Modified Files: libsignal.tex libsys.tex Log Message: SIGTERM is no longer caught to call sys.exitfunc. This change was made long ago but the documentation was never updated. From guido@cnri.reston.va.us Thu Mar 25 21:16:10 1999 From: guido@cnri.reston.va.us (Guido van Rossum) Date: Thu, 25 Mar 1999 16:16:10 -0500 (EST) Subject: [Python-checkins] CVS: python/dist/src/Python bltinmodule.c Message-ID: <199903252116.QAA26094@eric.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Python In directory eric:/projects/python/develop/guido/src/Python Modified Files: bltinmodule.c Log Message: Patch by Nick and Stephanie Lockwood to implement complex() with a string argument. This closes TODO item 2.19. From akuchlin@cnri.reston.va.us Thu Mar 25 21:21:12 1999 From: akuchlin@cnri.reston.va.us (Andrew M. Kuchling) Date: Thu, 25 Mar 1999 16:21:12 -0500 (EST) Subject: [Python-checkins] CVS: python/dist/src/Modules zlibmodule.c Message-ID: <199903252121.QAA01406@amarok.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Modules In directory amarok:/home/akuchlin/src/Python-1.5/Modules Modified Files: zlibmodule.c Log Message: 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. From guido@cnri.reston.va.us Thu Mar 25 21:23:27 1999 From: guido@cnri.reston.va.us (Guido van Rossum) Date: Thu, 25 Mar 1999 16:23:27 -0500 (EST) Subject: [Python-checkins] CVS: python/dist/src/Doc/lib libfuncs.tex Message-ID: <199903252123.QAA26116@eric.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Doc/lib In directory eric:/projects/python/develop/guido/Doc/lib Modified Files: libfuncs.tex Log Message: Document complex() with string arg. From guido@cnri.reston.va.us Thu Mar 25 21:25:03 1999 From: guido@cnri.reston.va.us (Guido van Rossum) Date: Thu, 25 Mar 1999 16:25:03 -0500 (EST) Subject: [Python-checkins] CVS: python/dist/src/Lib/test test_b1.py Message-ID: <199903252125.QAA26139@eric.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Lib/test In directory eric:/projects/python/develop/guido/src/Lib/test Modified Files: test_b1.py Log Message: Add tests for float() and complex() with string args (Nick/Stephanie Lockwood). From akuchlin@cnri.reston.va.us Thu Mar 25 21:49:16 1999 From: akuchlin@cnri.reston.va.us (Andrew M. Kuchling) Date: Thu, 25 Mar 1999 16:49:16 -0500 (EST) Subject: [Python-checkins] CVS: python/dist/src/Lib gzip.py Message-ID: <199903252149.QAA01561@amarok.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Lib In directory amarok:/home/akuchlin/src/Python-1.5/Lib Modified Files: gzip.py Log Message: 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' From akuchlin@cnri.reston.va.us Thu Mar 25 21:50:29 1999 From: akuchlin@cnri.reston.va.us (Andrew M. Kuchling) Date: Thu, 25 Mar 1999 16:50:29 -0500 (EST) Subject: [Python-checkins] CVS: python/dist/src/Lib/test test_gzip.py Message-ID: <199903252150.QAA01586@amarok.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Lib/test In directory amarok:/home/akuchlin/src/Python-1.5/Lib/test Added Files: test_gzip.py Log Message: 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. From guido@cnri.reston.va.us Thu Mar 25 21:59:01 1999 From: guido@cnri.reston.va.us (Guido van Rossum) Date: Thu, 25 Mar 1999 16:59:01 -0500 (EST) Subject: [Python-checkins] CVS: python/dist/src/Lib pickle.py Message-ID: <199903252159.QAA26352@eric.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Lib In directory eric:/projects/python/develop/guido/src/Lib Modified Files: pickle.py Log Message: Don't use "exec" in find_class(). It's slow, unnecessary, and (as AMK points out) it doesn't work in JPython Applets. From fdrake@weyr.cnri.reston.va.us Thu Mar 25 22:18:31 1999 From: fdrake@weyr.cnri.reston.va.us (Fred L. Drake) Date: Thu, 25 Mar 1999 17:18:31 -0500 Subject: [Python-checkins] CVS: python/dist/src/Doc/perl l2hinit.perl Message-ID: <199903252218.RAA04875@weyr.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Doc/perl In directory weyr:/home/fdrake/projects/python/Doc/perl Modified Files: l2hinit.perl Log Message: Be more stylesheet friendly. From fdrake@weyr.cnri.reston.va.us Thu Mar 25 22:17:13 1999 From: fdrake@weyr.cnri.reston.va.us (Fred L. Drake) Date: Thu, 25 Mar 1999 17:17:13 -0500 Subject: [Python-checkins] CVS: python/dist/src/Doc/perl howto.perl Message-ID: <199903252217.RAA04840@weyr.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Doc/perl In directory weyr:/home/fdrake/projects/python/Doc/perl Modified Files: howto.perl Log Message: Require the verbatim package (similar to the LaTeX version). From fdrake@weyr.cnri.reston.va.us Thu Mar 25 22:17:30 1999 From: fdrake@weyr.cnri.reston.va.us (Fred L. Drake) Date: Thu, 25 Mar 1999 17:17:30 -0500 Subject: [Python-checkins] CVS: python/dist/src/Doc/perl manual.perl Message-ID: <199903252217.RAA04859@weyr.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Doc/perl In directory weyr:/home/fdrake/projects/python/Doc/perl Modified Files: manual.perl Log Message: Require the verbatim package (similar to the LaTeX version). From fdrake@weyr.cnri.reston.va.us Thu Mar 25 22:22:46 1999 From: fdrake@weyr.cnri.reston.va.us (Fred L. Drake) Date: Thu, 25 Mar 1999 17:22:46 -0500 Subject: [Python-checkins] CVS: python/dist/src/Doc/html style.css Message-ID: <199903252222.RAA04915@weyr.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Doc/html In directory weyr:/home/fdrake/projects/python/Doc/html Modified Files: style.css Log Message: Added some rules that affect those little "See also:" sections. From guido@cnri.reston.va.us Thu Mar 25 22:38:47 1999 From: guido@cnri.reston.va.us (Guido van Rossum) Date: Thu, 25 Mar 1999 17:38:47 -0500 (EST) Subject: [Python-checkins] CVS: python/dist/src/Lib/test test_cpickle.py test_pickle.py Message-ID: <199903252238.RAA26581@eric.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Lib/test In directory eric:/projects/python/develop/guido/src/Lib/test Added Files: test_cpickle.py test_pickle.py Log Message: Basic regr tests for pickle/cPickle From guido@cnri.reston.va.us Thu Mar 25 22:38:51 1999 From: guido@cnri.reston.va.us (Guido van Rossum) Date: Thu, 25 Mar 1999 17:38:51 -0500 (EST) Subject: [Python-checkins] CVS: python/dist/src/Lib/test/output test_cpickle test_pickle Message-ID: <199903252238.RAA26596@eric.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Lib/test/output In directory eric:/projects/python/develop/guido/src/Lib/test/output Added Files: test_cpickle test_pickle Log Message: Basic regr tests for pickle/cPickle From guido@cnri.reston.va.us Fri Mar 26 15:31:15 1999 From: guido@cnri.reston.va.us (Guido van Rossum) Date: Fri, 26 Mar 1999 10:31:15 -0500 (EST) Subject: [Python-checkins] CVS: python/dist/src/Lib UserDict.py Message-ID: <199903261531.KAA27475@eric.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Lib In directory eric:/projects/python/develop/guido/src/Lib Modified Files: UserDict.py Log Message: Improved a bunch of things. The constructor now takes an optional dictionary. Use isinstance() where appropriate. From guido@cnri.reston.va.us Fri Mar 26 15:32:04 1999 From: guido@cnri.reston.va.us (Guido van Rossum) Date: Fri, 26 Mar 1999 10:32:04 -0500 (EST) Subject: [Python-checkins] CVS: python/dist/src/Lib/test test_userdict.py Message-ID: <199903261532.KAA27501@eric.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Lib/test In directory eric:/projects/python/develop/guido/src/Lib/test Added Files: test_userdict.py Log Message: Test suite for UserDict From guido@cnri.reston.va.us Fri Mar 26 15:32:07 1999 From: guido@cnri.reston.va.us (Guido van Rossum) Date: Fri, 26 Mar 1999 10:32:07 -0500 (EST) Subject: [Python-checkins] CVS: python/dist/src/Lib/test/output test_userdict Message-ID: <199903261532.KAA27514@eric.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Lib/test/output In directory eric:/projects/python/develop/guido/src/Lib/test/output Added Files: test_userdict Log Message: Test suite for UserDict From bwarsaw@cnri.reston.va.us Fri Mar 26 15:59:52 1999 From: bwarsaw@cnri.reston.va.us (Barry A. Warsaw) Date: Fri, 26 Mar 1999 10:59:52 -0500 (EST) Subject: [Python-checkins] CVS: python/dist/src/Tools/pynche pyColorChooser.py Message-ID: <199903261559.KAA03317@anthem.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Tools/pynche In directory anthem:/projects/python/develop/bwarsaw/python/dist/src/Tools/pynche Modified Files: pyColorChooser.py Log Message: Removed unnecessary import `from PyncheWidget import PyncheWidget' From bwarsaw@cnri.reston.va.us Fri Mar 26 16:11:41 1999 From: bwarsaw@cnri.reston.va.us (Barry A. Warsaw) Date: Fri, 26 Mar 1999 11:11:41 -0500 (EST) Subject: [Python-checkins] CVS: python/dist/src/Tools/pynche PyncheWidget.py Message-ID: <199903261611.LAA03369@anthem.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Tools/pynche In directory anthem:/projects/python/develop/bwarsaw/python/dist/src/Tools/pynche Modified Files: PyncheWidget.py Log Message: Helpwin.__init__(): The text widget should get focus. From guido@cnri.reston.va.us Fri Mar 26 16:20:21 1999 From: guido@cnri.reston.va.us (Guido van Rossum) Date: Fri, 26 Mar 1999 11:20:21 -0500 (EST) Subject: [Python-checkins] CVS: python/dist/src/Lib UserList.py Message-ID: <199903261620.LAA27763@eric.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Lib In directory eric:/projects/python/develop/guido/src/Lib Modified Files: UserList.py Log Message: Use isinstance() where appropriate. Reformatted with 4-space indent. From guido@cnri.reston.va.us Fri Mar 26 16:20:44 1999 From: guido@cnri.reston.va.us (Guido van Rossum) Date: Fri, 26 Mar 1999 11:20:44 -0500 (EST) Subject: [Python-checkins] CVS: python/dist/src/Lib/test test_userlist.py Message-ID: <199903261620.LAA27784@eric.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Lib/test In directory eric:/projects/python/develop/guido/src/Lib/test Added Files: test_userlist.py Log Message: Test suite for UserList. From guido@cnri.reston.va.us Fri Mar 26 16:20:47 1999 From: guido@cnri.reston.va.us (Guido van Rossum) Date: Fri, 26 Mar 1999 11:20:47 -0500 (EST) Subject: [Python-checkins] CVS: python/dist/src/Lib/test/output test_userlist Message-ID: <199903261620.LAA27799@eric.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Lib/test/output In directory eric:/projects/python/develop/guido/src/Lib/test/output Added Files: test_userlist Log Message: Test suite for UserList. From fdrake@weyr.cnri.reston.va.us Fri Mar 26 22:36:02 1999 From: fdrake@weyr.cnri.reston.va.us (Fred L. Drake) Date: Fri, 26 Mar 1999 17:36:02 -0500 Subject: [Python-checkins] CVS: python/dist/src/Tools/scripts dutree.py Message-ID: <199903262236.RAA11151@weyr.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Tools/scripts In directory weyr:/home/fdrake/projects/python/Tools/scripts Modified Files: dutree.py Log Message: During display, if EPIPE is raised, it's probably because a pager was killed. Discard the error in that case, but propogate it otherwise. From fdrake@weyr.cnri.reston.va.us Sat Mar 27 05:45:48 1999 From: fdrake@weyr.cnri.reston.va.us (Fred L. Drake) Date: Sat, 27 Mar 1999 00:45:48 -0500 Subject: [Python-checkins] CVS: python/dist/src/Doc/lib libmailbox.tex Message-ID: <199903270545.AAA12267@weyr.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Doc/lib In directory weyr:/home/fdrake/projects/python/Doc/lib Modified Files: libmailbox.tex Log Message: Where rfc822.Message is mentioned, add a link to the rfc822 module. From guido@cnri.reston.va.us Sat Mar 27 13:34:04 1999 From: guido@cnri.reston.va.us (Guido van Rossum) Date: Sat, 27 Mar 1999 08:34:04 -0500 (EST) Subject: [Python-checkins] CVS: python/dist/src/Tools/scripts ndiff.py Message-ID: <199903271334.IAA28976@eric.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Tools/scripts In directory eric:/projects/python/develop/guido/src/Tools/scripts Modified Files: ndiff.py Log Message: 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. From guido@cnri.reston.va.us Sun Mar 28 17:55:35 1999 From: guido@cnri.reston.va.us (Guido van Rossum) Date: Sun, 28 Mar 1999 12:55:35 -0500 (EST) Subject: [Python-checkins] CVS: python/dist/src/Tools/scripts ndiff.py Message-ID: <199903281755.MAA29662@eric.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Tools/scripts In directory eric:/projects/python/develop/guido/src/Tools/scripts Modified Files: ndiff.py Log Message: Tim Peters writes: I should have waited overnight . 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 . From guido@cnri.reston.va.us Mon Mar 29 14:52:08 1999 From: guido@cnri.reston.va.us (Guido van Rossum) Date: Mon, 29 Mar 1999 09:52:08 -0500 (EST) Subject: [Python-checkins] CVS: python/dist/src/Tools/idle PyShell.py Message-ID: <199903291452.JAA00214@eric.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Tools/idle In directory eric:/projects/python/develop/guido/src/Tools/idle Modified Files: PyShell.py Log Message: At Tim Peters' recommendation, add a dummy flush() method to PseudoFile. From guido@cnri.reston.va.us Mon Mar 29 14:52:29 1999 From: guido@cnri.reston.va.us (Guido van Rossum) Date: Mon, 29 Mar 1999 09:52:29 -0500 (EST) Subject: [Python-checkins] CVS: python/dist/src/Tools/idle ScriptBinding.py Message-ID: <199903291452.JAA00248@eric.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Tools/idle In directory eric:/projects/python/develop/guido/src/Tools/idle Modified Files: ScriptBinding.py Log Message: At Tim Peters' recommendation, add a dummy flush() method to PseudoFile. From fdrake@weyr.cnri.reston.va.us Mon Mar 29 14:55:57 1999 From: fdrake@weyr.cnri.reston.va.us (Fred L. Drake) Date: Mon, 29 Mar 1999 09:55:57 -0500 Subject: [Python-checkins] CVS: python/dist/src/Doc/doc doc.tex Message-ID: <199903291455.JAA14933@weyr.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Doc/doc In directory weyr:/home/fdrake/projects/python/Doc/doc Modified Files: doc.tex Log Message: 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.) From guido@cnri.reston.va.us Mon Mar 29 14:58:00 1999 From: guido@cnri.reston.va.us (Guido van Rossum) Date: Mon, 29 Mar 1999 09:58:00 -0500 (EST) Subject: [Python-checkins] CVS: python/dist/src/Modules shamodule.c Message-ID: <199903291458.JAA00380@eric.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Modules In directory eric:/projects/python/develop/guido/src/Modules Modified Files: shamodule.c Log Message: Avoid warnings from AIX compiler. Reported by Vladimir (AIX is my middlename) Marangozov, patch coded by Greg Stein. From guido@cnri.reston.va.us Mon Mar 29 15:28:56 1999 From: guido@cnri.reston.va.us (Guido van Rossum) Date: Mon, 29 Mar 1999 10:28:56 -0500 (EST) Subject: [Python-checkins] CVS: python/dist/src/Lib/test/output test_gzip Message-ID: <199903291528.KAA00688@eric.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Lib/test/output In directory eric:/projects/python/develop/guido/src/Lib/test/output Added Files: test_gzip Log Message: Jonathan Giddy discovered this file was missing. From guido@cnri.reston.va.us Mon Mar 29 19:12:06 1999 From: guido@cnri.reston.va.us (Guido van Rossum) Date: Mon, 29 Mar 1999 14:12:06 -0500 (EST) Subject: [Python-checkins] CVS: python/dist/src/Modules timemodule.c Message-ID: <199903291912.OAA01103@eric.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Modules In directory eric:/projects/python/develop/guido/src/Modules Modified Files: timemodule.c Log Message: Chris Lawrence writes: """ 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.) """ From guido@cnri.reston.va.us Mon Mar 29 19:12:42 1999 From: guido@cnri.reston.va.us (Guido van Rossum) Date: Mon, 29 Mar 1999 14:12:42 -0500 (EST) Subject: [Python-checkins] CVS: python/dist/src/Modules timemodule.c Message-ID: <199903291912.OAA01121@eric.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Modules In directory eric:/projects/python/develop/guido/src/Modules Modified Files: timemodule.c Log Message: #$@%! Forgot to remove a #error directive used for testing. Sorry. From guido@cnri.reston.va.us Mon Mar 29 19:59:34 1999 From: guido@cnri.reston.va.us (Guido van Rossum) Date: Mon, 29 Mar 1999 14:59:34 -0500 (EST) Subject: [Python-checkins] CVS: python/dist/src/Lib/test test_cpickle.py Message-ID: <199903291959.OAA01421@eric.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Lib/test In directory eric:/projects/python/develop/guido/src/Lib/test Modified Files: test_cpickle.py Log Message: Test protection against picling to/from closed (real) file. From guido@cnri.reston.va.us Mon Mar 29 20:00:16 1999 From: guido@cnri.reston.va.us (Guido van Rossum) Date: Mon, 29 Mar 1999 15:00:16 -0500 (EST) Subject: [Python-checkins] CVS: python/dist/src/Modules cPickle.c Message-ID: <199903292000.PAA01444@eric.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Modules In directory eric:/projects/python/develop/guido/src/Modules Modified Files: cPickle.c Log Message: Protection against picling to/from closed (real) file. The problem was reported by Moshe Zadka. From guido@cnri.reston.va.us Mon Mar 29 20:23:44 1999 From: guido@cnri.reston.va.us (Guido van Rossum) Date: Mon, 29 Mar 1999 15:23:44 -0500 (EST) Subject: [Python-checkins] CVS: python/dist/src/Lib urllib.py Message-ID: <199903292023.PAA01551@eric.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Lib In directory eric:/projects/python/develop/guido/src/Lib Modified Files: urllib.py Log Message: Hack so that if a 302 or 301 redirect contains a relative URL, the right thing "just happens" (basejoin() with old URL). From fdrake@weyr.cnri.reston.va.us Mon Mar 29 20:25:41 1999 From: fdrake@weyr.cnri.reston.va.us (Fred L. Drake) Date: Mon, 29 Mar 1999 15:25:41 -0500 Subject: [Python-checkins] CVS: python/dist/src/Lib compileall.py Message-ID: <199903292025.PAA15998@weyr.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Lib In directory weyr:/home/fdrake/projects/python/Lib Modified Files: compileall.py Log Message: When run as a script, report failures in the exit code as well. Patch largely based on changes by Andrew Dalke, as discussed in the distutils-sig. From guido@cnri.reston.va.us Mon Mar 29 20:33:23 1999 From: guido@cnri.reston.va.us (Guido van Rossum) Date: Mon, 29 Mar 1999 15:33:23 -0500 (EST) Subject: [Python-checkins] CVS: python/dist/src/Lib smtplib.py Message-ID: <199903292033.PAA01617@eric.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Lib In directory eric:/projects/python/develop/guido/src/Lib Modified Files: smtplib.py Log Message: Patch by Per Cederqvist, who writes: """ - It needlessly used the makefile() method for each response that is read from the SMTP server. - If the remote SMTP server closes the connection unexpectedly the code raised an IndexError. It now raises an SMTPServerDisconnected exception instead. - The code now checks that all lines in a multiline response actually contains an error code. """ The Dragon approves. From fdrake@weyr.cnri.reston.va.us Tue Mar 30 13:43:57 1999 From: fdrake@weyr.cnri.reston.va.us (Fred L. Drake) Date: Tue, 30 Mar 1999 08:43:57 -0500 Subject: [Python-checkins] CVS: python/dist/src/Doc/html index.html Message-ID: <199903301343.IAA17910@weyr.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Doc/html In directory weyr:/home/fdrake/projects/python/Doc/html Modified Files: index.html Log Message: Added "Documenting Python" to the index. From guido@cnri.reston.va.us Tue Mar 30 20:17:34 1999 From: guido@cnri.reston.va.us (Guido van Rossum) Date: Tue, 30 Mar 1999 15:17:34 -0500 (EST) Subject: [Python-checkins] CVS: python/dist/src/Lib BaseHTTPServer.py Message-ID: <199903302017.PAA03848@eric.cnri.reston.va.us> Update of /projects/cvsroot/python/dist/src/Lib In directory eric:/projects/python/develop/guido/src/Lib Modified Files: BaseHTTPServer.py Log Message: Per Cederqvist writes: If you send something like "PUT / HTTP/1.0" to something derived from BaseHTTPServer that doesn't define do_PUT, you will get a response that begins like this: HTTP/1.0 501 Unsupported method ('do_PUT') Server: SimpleHTTP/0.3 Python/1.5 Date: Tue, 30 Mar 1999 18:53:53 GMT The server should complain about 'PUT' instead of 'do_PUT'. This patch should fix the problem.