[Python-checkins] CVS: python/dist/src/Lib Queue.py,1.13,1.14 UserDict.py,1.10,1.11 UserList.py,1.15,1.16 anydbm.py,1.9,1.10 bisect.py,1.6,1.7 chunk.py,1.8,1.9 dumbdbm.py,1.8,1.9 htmlentitydefs.py,1.7,1.8 mutex.py,1.8,1.9 nturl2path.py,1.9,1.10 posixfile.py,1.18,1.19 regex_syntax.py,1.5,1.6 stat.py,1.9,1.10 statvfs.py,1.6,1.7 string.py,1.58,1.59

Skip Montanaro montanaro@users.sourceforge.net
Sat, 17 Feb 2001 19:30:56 -0800


Update of /cvsroot/python/python/dist/src/Lib
In directory usw-pr-cvs1:/tmp/cvs-serv14048/Lib

Modified Files:
	Queue.py UserDict.py UserList.py anydbm.py bisect.py chunk.py 
	dumbdbm.py htmlentitydefs.py mutex.py nturl2path.py 
	posixfile.py regex_syntax.py stat.py statvfs.py string.py 
Log Message:
removed __all__ from several modules


Index: Queue.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/Queue.py,v
retrieving revision 1.13
retrieving revision 1.14
diff -C2 -r1.13 -r1.14
*** Queue.py	2001/01/20 19:54:20	1.13
--- Queue.py	2001/02/18 03:30:53	1.14
***************
*** 1,6 ****
  """A multi-producer, multi-consumer queue."""
  
- __all__ = ["Queue","Empty","Full"]
- 
  class Empty(Exception):
      "Exception raised by Queue.get(block=0)/get_nowait()."
--- 1,4 ----

Index: UserDict.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/UserDict.py,v
retrieving revision 1.10
retrieving revision 1.11
diff -C2 -r1.10 -r1.11
*** UserDict.py	2001/01/20 19:54:20	1.10
--- UserDict.py	2001/02/18 03:30:53	1.11
***************
*** 1,6 ****
  """A more or less complete user-defined wrapper around dictionary objects."""
  
- __all__ = ["UserDict"]
- 
  class UserDict:
      def __init__(self, dict=None):
--- 1,4 ----

Index: UserList.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/UserList.py,v
retrieving revision 1.15
retrieving revision 1.16
diff -C2 -r1.15 -r1.16
*** UserList.py	2001/01/20 19:54:20	1.15
--- UserList.py	2001/02/18 03:30:53	1.16
***************
*** 1,6 ****
  """A more or less complete user-defined wrapper around list objects."""
  
- __all__ = ["UserList"]
- 
  class UserList:
      def __init__(self, initlist=None):
--- 1,4 ----

Index: anydbm.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/anydbm.py,v
retrieving revision 1.9
retrieving revision 1.10
diff -C2 -r1.9 -r1.10
*** anydbm.py	2001/01/20 19:54:20	1.9
--- anydbm.py	2001/02/18 03:30:53	1.10
***************
*** 43,48 ****
  """
  
- __all__ = ["error","open"]
- 
  try:
      class error(Exception):
--- 43,46 ----

Index: bisect.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/bisect.py,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -r1.6 -r1.7
*** bisect.py	2001/01/20 19:54:20	1.6
--- bisect.py	2001/02/18 03:30:53	1.7
***************
*** 1,6 ****
  """Bisection algorithms."""
  
- __all__ = ["bisect_right","insort_right","bisect_left","insort_left"]
- 
  def insort_right(a, x, lo=0, hi=None):
      """Insert item x in list a, and keep it sorted assuming a is sorted.
--- 1,4 ----

Index: chunk.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/chunk.py,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -r1.8 -r1.9
*** chunk.py	2001/01/21 04:49:16	1.8
--- chunk.py	2001/02/18 03:30:53	1.9
***************
*** 49,54 ****
  """
  
- __all__ = ["Chunk"]
- 
  class Chunk:
      def __init__(self, file, align = 1, bigendian = 1, inclheader = 0):
--- 49,52 ----

Index: dumbdbm.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/dumbdbm.py,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -r1.8 -r1.9
*** dumbdbm.py	2001/01/20 23:34:12	1.8
--- dumbdbm.py	2001/02/18 03:30:53	1.9
***************
*** 25,30 ****
  import __builtin__
  
- __all__ = ["open"]
- 
  _open = __builtin__.open
  
--- 25,28 ----

Index: htmlentitydefs.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/htmlentitydefs.py,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -r1.7 -r1.8
*** htmlentitydefs.py	2001/01/23 15:35:05	1.7
--- htmlentitydefs.py	2001/02/18 03:30:53	1.8
***************
*** 1,6 ****
  """HTML character entity references."""
  
- __all__ = ["entitydefs"]
- 
  entitydefs = {
      'AElig':    '\306',         # latin capital letter AE = latin capital ligature AE, U+00C6 ISOlat1
--- 1,4 ----

Index: mutex.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/mutex.py,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -r1.8 -r1.9
*** mutex.py	2001/02/06 01:07:01	1.8
--- mutex.py	2001/02/18 03:30:53	1.9
***************
*** 13,18 ****
  """
  
- __all__ = ["mutex"]
- 
  class mutex:
      def __init__(self):
--- 13,16 ----

Index: nturl2path.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/nturl2path.py,v
retrieving revision 1.9
retrieving revision 1.10
diff -C2 -r1.9 -r1.10
*** nturl2path.py	2001/02/09 11:02:20	1.9
--- nturl2path.py	2001/02/18 03:30:53	1.10
***************
*** 1,6 ****
  """Convert a NT pathname to a file URL and vice versa."""
  
- __all__ = ["url2pathname"]
- 
  def url2pathname(url):
      r"""Convert a URL to a DOS path.
--- 1,4 ----

Index: posixfile.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/posixfile.py,v
retrieving revision 1.18
retrieving revision 1.19
diff -C2 -r1.18 -r1.19
*** posixfile.py	2001/02/12 02:00:42	1.18
--- posixfile.py	2001/02/18 03:30:53	1.19
***************
*** 54,59 ****
  """
  
- __all__ = ["open","fileopen","SEEK_SET","SEEK_CUR","SEEK_END"]
- 
  class _posixfile_:
      """File wrapper class that provides extra POSIX file routines."""
--- 54,57 ----

Index: regex_syntax.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/regex_syntax.py,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -r1.5 -r1.6
*** regex_syntax.py	2001/02/15 22:15:13	1.5
--- regex_syntax.py	2001/02/18 03:30:53	1.6
***************
*** 52,59 ****
  
  # (Python's obsolete "regexp" module used a syntax similar to awk.)
- 
- __all__ = locals().keys()
- for _i in range(len(__all__)-1,-1,-1):
-     if __all__[_i][0] == "_":
-         del __all__[_i]
- del _i
--- 52,53 ----

Index: stat.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/stat.py,v
retrieving revision 1.9
retrieving revision 1.10
diff -C2 -r1.9 -r1.10
*** stat.py	2001/02/15 22:15:13	1.9
--- stat.py	2001/02/18 03:30:53	1.10
***************
*** 85,92 ****
  S_IWOTH = 00002
  S_IXOTH = 00001
- 
- __all__ = locals().keys()
- for _i in range(len(__all__)-1,-1,-1):
-     if __all__[_i][0] == "_":
-         del __all__[_i]
- del _i
--- 85,86 ----

Index: statvfs.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/statvfs.py,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -r1.6 -r1.7
*** statvfs.py	2001/02/15 22:15:13	1.6
--- statvfs.py	2001/02/18 03:30:53	1.7
***************
*** 14,21 ****
  F_FLAG    = 8           # Flags (see your local statvfs man page)
  F_NAMEMAX = 9           # Maximum file name length
- 
- __all__ = locals().keys()
- for _i in range(len(__all__)-1,-1,-1):
-     if __all__[_i][0] == "_":
-         del __all__[_i]
- del _i
--- 14,15 ----

Index: string.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/string.py,v
retrieving revision 1.58
retrieving revision 1.59
diff -C2 -r1.58 -r1.59
*** string.py	2001/02/15 22:15:14	1.58
--- string.py	2001/02/18 03:30:53	1.59
***************
*** 380,387 ****
  except ImportError:
      pass                                          # Use the original versions
- 
- __all__ = locals().keys()
- for _i in range(len(__all__)-1,-1,-1):
-     if __all__[_i][0] == "_":
-         del __all__[_i]
- del _i
--- 380,381 ----