mirror of
https://github.com/python/cpython.git
synced 2025-12-04 08:34:25 +00:00
Essentially SF patch 1061679: add missing __all__ to pickletools.py.
Harmless.
This commit is contained in:
parent
b12efd3f8a
commit
90cf212cef
3 changed files with 7 additions and 0 deletions
|
|
@ -10,6 +10,10 @@ dis(pickle, out=None, memo=None, indentlevel=4)
|
||||||
Print a symbolic disassembly of a pickle.
|
Print a symbolic disassembly of a pickle.
|
||||||
'''
|
'''
|
||||||
|
|
||||||
|
__all__ = ['dis',
|
||||||
|
'genops',
|
||||||
|
]
|
||||||
|
|
||||||
# Other ideas:
|
# Other ideas:
|
||||||
#
|
#
|
||||||
# - A pickle verifier: read a pickle and check it exhaustively for
|
# - A pickle verifier: read a pickle and check it exhaustively for
|
||||||
|
|
|
||||||
|
|
@ -114,6 +114,7 @@ class AllTest(unittest.TestCase):
|
||||||
self.check_all("os2emxpath")
|
self.check_all("os2emxpath")
|
||||||
self.check_all("pdb")
|
self.check_all("pdb")
|
||||||
self.check_all("pickle")
|
self.check_all("pickle")
|
||||||
|
self.check_all("pickletools")
|
||||||
self.check_all("pipes")
|
self.check_all("pipes")
|
||||||
self.check_all("popen2")
|
self.check_all("popen2")
|
||||||
self.check_all("poplib")
|
self.check_all("poplib")
|
||||||
|
|
|
||||||
|
|
@ -26,6 +26,8 @@ Library
|
||||||
attempt is made to execute the remaining handlers. The last exception
|
attempt is made to execute the remaining handlers. The last exception
|
||||||
raised is re-raised.
|
raised is re-raised.
|
||||||
|
|
||||||
|
- Patch 1061679: Added `__all__` to pickletools.py.
|
||||||
|
|
||||||
Build
|
Build
|
||||||
-----
|
-----
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue