[Python-checkins] CVS: python/dist/src/Lib StringIO.py,1.8,1.9 cgi.py,1.46,1.47 code.py,1.8,1.9 ftplib.py,1.40,1.41 getpass.py,1.8,1.9 imaplib.py,1.16,1.17 poplib.py,1.6,1.7 smtplib.py,1.21,1.22 whrandom.py,1.15,1.16

Guido van Rossum guido@cnri.reston.va.us
Mon, 28 Feb 2000 10:12:29 -0500 (EST)


Update of /projects/cvsroot/python/dist/src/Lib
In directory eric:/projects/python/develop/guido/src/Lib

Modified Files:
	StringIO.py cgi.py code.py ftplib.py getpass.py imaplib.py 
	poplib.py smtplib.py whrandom.py 
Log Message:
Simple changes by Gerrit Holl - move author acknowledgements out of
docstrings into comments.



Index: StringIO.py
===================================================================
RCS file: /projects/cvsroot/python/dist/src/Lib/StringIO.py,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -r1.8 -r1.9
*** StringIO.py	2000/02/02 15:10:14	1.8
--- StringIO.py	2000/02/28 15:12:25	1.9
***************
*** 20,23 ****
--- 20,25 ----
  Notes:
  - Using a real file is often faster (but less convenient).
+ - There's also a much faster implementation in C, called cStringIO, but
+   it's not subclassable.
  - fileno() is left unimplemented so that code which uses it triggers
    an exception early.

Index: cgi.py
===================================================================
RCS file: /projects/cvsroot/python/dist/src/Lib/cgi.py,v
retrieving revision 1.46
retrieving revision 1.47
diff -C2 -r1.46 -r1.47
*** cgi.py	2000/02/25 11:44:03	1.46
--- cgi.py	2000/02/28 15:12:25	1.47
***************
*** 400,419 ****
  most systems, and is a security liability as well.
  
! 
! History
! -------
! 
! Michael McLay started this module.  Steve Majewski changed the
! interface to SvFormContentDict and FormContentDict.  The multipart
! parsing was inspired by code submitted by Andreas Paepcke.  Guido van
! Rossum rewrote, reformatted and documented the module and is currently
! responsible for its maintenance.
! 
  
! XXX The module is getting pretty heavy with all those docstrings.
! Perhaps there should be a slimmed version that doesn't contain all those 
! backwards compatible and debugging classes and functions?
  
! """
  
  __version__ = "2.2"
--- 400,418 ----
  most systems, and is a security liability as well.
  
! """
  
! # XXX The module is getting pretty heavy with all those docstrings.
! # Perhaps there should be a slimmed version that doesn't contain all those 
! # backwards compatible and debugging classes and functions?
  
! # History
! # -------
! # 
! # Michael McLay started this module.  Steve Majewski changed the
! # interface to SvFormContentDict and FormContentDict.  The multipart
! # parsing was inspired by code submitted by Andreas Paepcke.  Guido van
! # Rossum rewrote, reformatted and documented the module and is currently
! # responsible for its maintenance.
! # 
  
  __version__ = "2.2"

Index: code.py
===================================================================
RCS file: /projects/cvsroot/python/dist/src/Lib/code.py,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -r1.8 -r1.9
*** code.py	1998/10/22 21:56:44	1.8
--- code.py	2000/02/28 15:12:25	1.9
***************
*** 1,6 ****
  """Utilities needed to emulate Python's interactive interpreter.
  
- Inspired by similar code by Jeff Epler and Fredrik Lundh.
  """
  
  
--- 1,7 ----
  """Utilities needed to emulate Python's interactive interpreter.
  
  """
+ 
+ # Inspired by similar code by Jeff Epler and Fredrik Lundh.
  
  

Index: ftplib.py
===================================================================
RCS file: /projects/cvsroot/python/dist/src/Lib/ftplib.py,v
retrieving revision 1.40
retrieving revision 1.41
diff -C2 -r1.40 -r1.41
*** ftplib.py	2000/02/04 15:39:29	1.40
--- ftplib.py	2000/02/28 15:12:25	1.41
***************
*** 4,12 ****
  (FTP), by J. Postel and J. Reynolds
  
- Changes and improvements suggested by Steve Majewski.
- Modified by Jack to work on the mac.
- Modified by Siebren to support docstrings and PASV.
- 
- 
  Example:
  
--- 4,7 ----
***************
*** 35,38 ****
--- 30,38 ----
  """
  
+ # 
+ # Changes and improvements suggested by Steve Majewski.
+ # Modified by Jack to work on the mac.
+ # Modified by Siebren to support docstrings and PASV.
+ #
  
  import os

Index: getpass.py
===================================================================
RCS file: /projects/cvsroot/python/dist/src/Lib/getpass.py,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -r1.8 -r1.9
*** getpass.py	1999/10/18 22:25:22	1.8
--- getpass.py	2000/02/28 15:12:25	1.9
***************
*** 7,13 ****
  On the Mac EasyDialogs.AskPassword is used, if available.
  
- Authors: Piers Lauder (original)
-          Guido van Rossum (Windows support and cleanup)
  """
  
  import sys
--- 7,14 ----
  On the Mac EasyDialogs.AskPassword is used, if available.
  
  """
+ 
+ # Authors: Piers Lauder (original)
+ #          Guido van Rossum (Windows support and cleanup)
  
  import sys

Index: imaplib.py
===================================================================
RCS file: /projects/cvsroot/python/dist/src/Lib/imaplib.py,v
retrieving revision 1.16
retrieving revision 1.17
diff -C2 -r1.16 -r1.17
*** imaplib.py	2000/02/24 02:24:50	1.16
--- imaplib.py	2000/02/28 15:12:25	1.17
***************
*** 4,11 ****
  Based on RFC 2060.
  
- Author: Piers Lauder <piers@cs.su.oz.au> December 1997.
- 
- Authentication code contributed by Donn Cave <donn@u.washington.edu> June 1998.
- 
  Public class:		IMAP4
  Public variable:	Debug
--- 4,7 ----
***************
*** 15,18 ****
--- 11,18 ----
  			Time2Internaldate
  """
+ 
+ # Author: Piers Lauder <piers@cs.su.oz.au> December 1997.
+ # 
+ # Authentication code contributed by Donn Cave <donn@u.washington.edu> June 1998.
  
  __version__ = "2.32"

Index: poplib.py
===================================================================
RCS file: /projects/cvsroot/python/dist/src/Lib/poplib.py,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -r1.6 -r1.7
*** poplib.py	1999/05/13 18:47:25	1.6
--- poplib.py	2000/02/28 15:12:25	1.7
***************
*** 2,10 ****
  
  Based on the J. Myers POP3 draft, Jan. 96
- 
- Author: David Ascher <david_ascher@brown.edu>
-         [heavily stealing from nntplib.py]
- Updated: Piers Lauder <piers@cs.su.oz.au> [Jul '97]
  """
  
  # Example (see the test function at the end of this file)
--- 2,10 ----
  
  Based on the J. Myers POP3 draft, Jan. 96
  """
+ 
+ # Author: David Ascher <david_ascher@brown.edu>
+ #         [heavily stealing from nntplib.py]
+ # Updated: Piers Lauder <piers@cs.su.oz.au> [Jul '97]
  
  # Example (see the test function at the end of this file)

Index: smtplib.py
===================================================================
RCS file: /projects/cvsroot/python/dist/src/Lib/smtplib.py,v
retrieving revision 1.21
retrieving revision 1.22
diff -C2 -r1.21 -r1.22
*** smtplib.py	2000/02/04 15:39:30	1.21
--- smtplib.py	2000/02/28 15:12:25	1.22
***************
*** 3,14 ****
  """SMTP/ESMTP client class.
  
- Author: The Dragon De Monsyne <dragondm@integral.org>
- ESMTP support, test code and doc fixes added by
-     Eric S. Raymond <esr@thyrsus.com>
- Better RFC 821 compliance (MAIL and RCPT, and CRLF in data)
-     by Carey Evans <c.evans@clear.net.nz>, for picky mail servers.
-    
- This was modified from the Python 1.5 library HTTP lib.
- 
  This should follow RFC 821 (SMTP) and RFC 1869 (ESMTP).
  
--- 3,6 ----
***************
*** 39,42 ****
--- 31,42 ----
    >>> s.quit()
  """
+ 
+ # Author: The Dragon De Monsyne <dragondm@integral.org>
+ # ESMTP support, test code and doc fixes added by
+ #     Eric S. Raymond <esr@thyrsus.com>
+ # Better RFC 821 compliance (MAIL and RCPT, and CRLF in data)
+ #     by Carey Evans <c.evans@clear.net.nz>, for picky mail servers.
+ #    
+ # This was modified from the Python 1.5 library HTTP lib.
  
  import socket

Index: whrandom.py
===================================================================
RCS file: /projects/cvsroot/python/dist/src/Lib/whrandom.py,v
retrieving revision 1.15
retrieving revision 1.16
diff -C2 -r1.15 -r1.16
*** whrandom.py	2000/02/04 15:28:42	1.15
--- whrandom.py	2000/02/28 15:12:25	1.16
***************
*** 26,34 ****
  
  
- Translated by Guido van Rossum from C source provided by
- Adrian Baddeley.
  
- 
- 
  Multi-threading note: the random number generator used here is not
  thread-safe; it is possible that nearly simultaneous calls in
--- 26,30 ----
***************
*** 37,40 ****
--- 33,40 ----
  down in the serial case by using a lock here.)
  """
+ 
+ # Translated by Guido van Rossum from C source provided by
+ # Adrian Baddeley.
+ 
  
  class whrandom: