Skip to content

Commit

Permalink
Merge pull request #149 from pallets-eco/deprecated-import
Browse files Browse the repository at this point in the history
fix deprecated WeakNamespace import
  • Loading branch information
davidism committed Apr 28, 2024
2 parents 0068cb4 + fc53709 commit 8f9e245
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ Version 1.8.1
Unreleased

- Restore identity handling for ``str`` and ``int`` senders. :pr:`148`
- Fix deprecated `blinker.base.WeakNamespace` import. :pr:`149`


Version 1.8.0
Expand Down
1 change: 1 addition & 0 deletions src/blinker/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -587,5 +587,6 @@ def __getattr__(name: str) -> t.Any:
DeprecationWarning,
stacklevel=2,
)
return _WeakNamespace

raise AttributeError(name)

0 comments on commit 8f9e245

Please sign in to comment.