Fixup for Python 3.10
commit36bcb170ba9097885902513640075eac2e6ce384
authorCalin Culianu <calin.culianu@gmail.com>
Tue, 9 Nov 2021 00:15:59 +0000 (8 18:15 -0600)
committerCalin Culianu <calin.culianu@gmail.com>
Tue, 9 Nov 2021 00:22:29 +0000 (8 18:22 -0600)
tree89cdfa77f4cfb0e5e93f765d9da228a047a9a0c5
parentf8717b4bffd46c8c0ee7147f5b50927737b2b5e1
Fixup for Python 3.10

Closes issue #109.  Long story short: a few names from collection are
now moved to collection.abc exclusively starting in Python 3.10. The
only name this app uses from there that was moved is
`collections.Iterable`.  Python versions starting from 3.3 support both
`collections.Iterable` and `collections.abc.Iterable` as the way to refer to
this class, which Python 3.10 being the first one to drop
`collections.Iterable`.  So.. we just work around this API quirk
and always refer ot it as `collections.abc.Iterable`.
stem/control.py