Skip to content

Commit 4e7b6d7

Browse files
committed
Allow platform-dependent hashlib exports
1 parent 7720c6a commit 4e7b6d7

2 files changed

Lines changed: 1 addition & 1 deletion

File tree

stdlib/@tests/stubtest_allowlists/common.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -465,6 +465,7 @@ urllib.response.addbase.write # Methods that come from __getattr__() at runtime
465465
urllib.response.addbase.writelines # Methods that come from __getattr__() at runtime
466466

467467
(pydoc.Doc.getdocloc)? # Runtime default is an installation-specific stdlib path.
468+
(hashlib.__all__)? # scrypt depends on how OpenSSL was built.
468469

469470
_?weakref\.CallableProxyType\.__getattr__ # Should have all attributes of proxy
470471
_?weakref\.(ref|ReferenceType)\.__init__ # C implementation has incorrect signature

stdlib/@tests/stubtest_allowlists/darwin.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,6 @@ tkinter.Tk.deletefilehandler # Methods that come from __getattr__() at runtime
4545

4646
# These entries looks like a `setup-python` bug:
4747
(dbm.gnu)?
48-
(hashlib.__all__)?
4948
(mmap.mmap.resize)?
5049
(_?locale.bind_textdomain_codeset)?
5150
(_?locale.bindtextdomain)?

0 commit comments

Comments
 (0)