diff options
-rw-r--r-- | Lib/pickletools.py | 4 | ||||
-rw-r--r-- | Lib/test/test___all__.py | 1 | ||||
-rw-r--r-- | Misc/NEWS | 2 |
3 files changed, 7 insertions, 0 deletions
diff --git a/Lib/pickletools.py b/Lib/pickletools.py index d7c1a7d..5e05b64 100644 --- a/Lib/pickletools.py +++ b/Lib/pickletools.py @@ -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 diff --git a/Lib/test/test___all__.py b/Lib/test/test___all__.py index 0794bd8..3bddcad 100644 --- a/Lib/test/test___all__.py +++ b/Lib/test/test___all__.py @@ -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") @@ -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 ----- |