[issue44737] Mapping from to collections.abc

2021-07-25 Thread Jelle Zijlstra
Jelle Zijlstra added the comment: This sounds like a bug in the third-party library you're using, not in Python itself. Could you report this bug to the library? According to https://docs.python.org/3.9/library/collections.html, aliases like collections.Mapping were removed from the collecti

[issue44737] Mapping from to collections.abc

2021-07-25 Thread Du
New submission from Du <491609...@qq.com>: When using Sanic, referencing Mapping in collections in SANic-Jinja2 brings ImportError: Cannot import name 'Mapping' from 'collections'. When you use Mapping, shouldn't you call from collections.abc? -- messages: 398208 nosy: haitanghuadeng