[Python-checkins] CVS: python/dist/src/Lib pdb.py,1.48,1.49 pickle.py,1.43,1.44 pipes.py,1.7,1.8 popen2.py,1.17,1.18
Skip Montanaro
montanaro@users.sourceforge.net
Wed, 07 Feb 2001 15:14:32 -0800
Update of /cvsroot/python/python/dist/src/Lib
In directory usw-pr-cvs1:/tmp/cvs-serv20655/Lib
Modified Files:
pdb.py pickle.py pipes.py popen2.py
Log Message:
a few more __all__ lists
Index: pdb.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/pdb.py,v
retrieving revision 1.48
retrieving revision 1.49
diff -C2 -r1.48 -r1.49
*** pdb.py 2001/01/20 17:57:37 1.48
--- pdb.py 2001/02/07 23:14:30 1.49
***************
*** 14,17 ****
--- 14,20 ----
import re
+ __all__ = ["run", "pm", "Pdb", "runeval", "runctx", "runcall", "set_trace",
+ "post_mortem", "help"]
+
def find_function(funcname, filename):
cre = re.compile(r'def\s+%s\s*[(]' % funcname)
Index: pickle.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/pickle.py,v
retrieving revision 1.43
retrieving revision 1.44
diff -C2 -r1.43 -r1.44
*** pickle.py 2001/01/22 14:53:29 1.43
--- pickle.py 2001/02/07 23:14:30 1.44
***************
*** 32,35 ****
--- 32,38 ----
import struct
+ __all__ = ["PickleError", "PicklingError", "UnpicklingError", "Pickler",
+ "Unpickler", "dump", "dumps", "load", "loads"]
+
format_version = "1.3" # File format version we write
compatible_formats = ["1.0", "1.1", "1.2"] # Old format versions we can read
Index: pipes.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/pipes.py,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -r1.7 -r1.8
*** pipes.py 2001/01/15 00:50:52 1.7
--- pipes.py 2001/02/07 23:14:30 1.8
***************
*** 57,61 ****
For an example, see the function test() at the end of the file.
! """
--- 57,61 ----
For an example, see the function test() at the end of the file.
! """ # '
***************
*** 67,70 ****
--- 67,71 ----
import string
+ __all__ = ["Template"]
# Conversion step kinds
Index: popen2.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/popen2.py,v
retrieving revision 1.17
retrieving revision 1.18
diff -C2 -r1.17 -r1.18
*** popen2.py 2000/10/03 23:07:13 1.17
--- popen2.py 2001/02/07 23:14:30 1.18
***************
*** 10,13 ****
--- 10,15 ----
import sys
+ __all__ = ["popen2", "popen3", "popen4"]
+
MAXFD = 256 # Max number of file descriptors (os.getdtablesize()???)
***************
*** 155,160 ****
inst = Popen4(cmd, bufsize)
return inst.fromchild, inst.tochild
-
def _test():
cmd = "cat"
--- 157,163 ----
inst = Popen4(cmd, bufsize)
return inst.fromchild, inst.tochild
+ __all__.extend(["Popen3", "Popen4"])
+
def _test():
cmd = "cat"