Skip to content

Commit 8a1178b

Browse files
authored
Merge pull request #1722 from pquentin/remove-deprecated-hazmat
2 parents ec37d7a + c14a6e3 commit 8a1178b

3 files changed

Lines changed: 1 addition & 23 deletions

File tree

newsfragments/1722.deprecated.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Remove the deprecated ``trio.hazmat`` module.

trio/__init__.py

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -105,16 +105,6 @@
105105
from . import _deprecate
106106

107107
_deprecate.enable_attribute_deprecations(__name__)
108-
__deprecated_attributes__ = {
109-
# NOTE: when you remove this, you should also remove the file
110-
# trio/hazmat.py. For details on why we have both, see:
111-
#
112-
# https://github.com/python-trio/trio/pull/1484#issuecomment-622574499
113-
"hazmat": _deprecate.DeprecatedAttribute(
114-
lowlevel, "0.15.0", issue=476, instead="trio.lowlevel"
115-
),
116-
}
117-
118108

119109
# Having the public path in .__module__ attributes is important for:
120110
# - exception names in printed tracebacks

trio/hazmat.py

Lines changed: 0 additions & 13 deletions
This file was deleted.

0 commit comments

Comments
 (0)