Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions Lib/uuid.py
Original file line number Diff line number Diff line change
Expand Up @@ -579,6 +579,14 @@ def _netstat_getnode():
_UuidCreate = None


def _load_system_functions():
"""[DEPRECATED] no-op since Python 3.9."""
import warnings
warnings.warn("This private function will go away by Python 3.15;"
" it has been a no-op since 3.9.", DeprecationWarning,
stacklevel=2)


def _unix_getnode():
"""Get the hardware address on Unix using the _uuid extension module."""
if _generate_time_safe:
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
The do nothing private ``uuid._load_system_functions()`` function has been
restored to appease a PyPI library that calls it to unblock 3.13 testing by
others. It now triggers a :exc:`DeprecationWarning` instead.