Importing ABC from collections will raise error in Python 3.9 #935

Closed
opened 2026-10-05 04:54:01 +02:00 by adam · 0 comments
Owner

Importing ABC from collections module directly was deprecated from Python 3.4 and will result in an error in Python 3.9 . The fix would be to use collections.abc module to import ABCs.

https://github.com/znc/znc/blob/0af3c4b234b7839bb1162e74b01b66e1a05e6fa1/modules/modpython/znc.py#L128

Importing ABC from collections module directly was deprecated from Python 3.4 and will result in an error in Python 3.9 . The fix would be to use `collections.abc` module to import ABCs. https://github.com/znc/znc/blob/0af3c4b234b7839bb1162e74b01b66e1a05e6fa1/modules/modpython/znc.py#L128 <!-- github-sync-id:545377107 -->
adam closed this issue 2026-10-05 04:54:02 +02:00
Sign in to join this conversation.
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: adam/znc#935