[issue44737] Mapping from to collections.abc

Du report at bugs.python.org
Sun Jul 25 23:51:36 EDT 2021


New submission from Du <491609917 at 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
priority: normal
severity: normal
status: open
title: Mapping from to collections.abc
type: resource usage
versions: Python 3.10

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue44737>
_______________________________________


More information about the Python-bugs-list mailing list