[issue46354] AttributeError: module 'collections' has no attribute 'Mapping'

2022-01-12 Thread Steven D'Aprano
Steven D'Aprano added the comment: Hi mareklachbc, What makes you think that this is a bug? Since at least version 3.7, you will have seen this warning: >>> import collections >>> collections.Mapping __main__:1: DeprecationWarning: Using or importing the ABCs from

[issue46354] AttributeError: module 'collections' has no attribute 'Mapping'

2022-01-12 Thread Alex Waygood
New submission from Alex Waygood : Hi -- thanks for the report! You haven't given us many details here, but I think this is intentional behaviour, not a bug -- this was changed in Issue37324. Importing `Mapping` (along with many other names) directly from `collections`, instead of from

[issue46354] AttributeError: module 'collections' has no attribute 'Mapping'

2022-01-12 Thread Marek Ľach
Change by Marek Ľach : -- nosy: mareklachbc priority: normal severity: normal status: open title: AttributeError: module 'collections' has no attribute 'Mapping' type: behavior versions: Python 3.10 ___ Python tracker