]> granicus.if.org Git - python/commitdiff
Essentially SF patch 1061679: add missing __all__ to pickletools.py.
authorTim Peters <tim.peters@gmail.com>
Sat, 6 Nov 2004 23:45:48 +0000 (23:45 +0000)
committerTim Peters <tim.peters@gmail.com>
Sat, 6 Nov 2004 23:45:48 +0000 (23:45 +0000)
Harmless.

Lib/pickletools.py
Lib/test/test___all__.py
Misc/NEWS

index d7c1a7de54fa4f02206bd3e213a03e68f3e0f928..5e05b641d46e2deb81986b1c8f54a348c3d8e0a6 100644 (file)
@@ -10,6 +10,10 @@ dis(pickle, out=None, memo=None, indentlevel=4)
    Print a symbolic disassembly of a pickle.
 '''
 
+__all__ = ['dis',
+           'genops',
+          ]
+
 # Other ideas:
 #
 # - A pickle verifier:  read a pickle and check it exhaustively for
index 0794bd8263a4ef997453590693c8d23837f32234..3bddcad96b86a7d4198db31f842d13a26b83a0b7 100644 (file)
@@ -114,6 +114,7 @@ class AllTest(unittest.TestCase):
         self.check_all("os2emxpath")
         self.check_all("pdb")
         self.check_all("pickle")
+        self.check_all("pickletools")
         self.check_all("pipes")
         self.check_all("popen2")
         self.check_all("poplib")
index a472fea43bdc1811ffe093b932c44a29780f126c..1970900da70f8d7f1f006ea69a7a882a302b023a 100644 (file)
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -26,6 +26,8 @@ Library
   attempt is made to execute the remaining handlers.  The last exception
   raised is re-raised.
 
+- Patch 1061679: Added `__all__` to pickletools.py.
+
 Build
 -----