Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
assignee=Noneclosed_at=<Date2017-11-16.07:19:42.040>created_at=<Date2017-04-23.12:11:25.685>labels= ['3.7', 'type-feature', 'expert-2to3']
title='Using collections ABC from collections.abc rather than collections in 2to3 converted code'updated_at=<Date2017-11-16.07:19:42.040>user='https://github.com/serhiy-storchaka'
Proposed patch makes 2to3 generating a code that uses abstract collection classes Sequence and Mapping from collections.abc rather than collections. Since abstract collection classes now are defined in collections.abc and collections contains only aliases for compatibility, this is more idiomatic Python 3 code.
New changeset 0a2abdf by Serhiy Storchaka in branch 'master': bpo-30143: 2to3 now generates a code that uses abstract collection classes (bpo-1262) 0a2abdf
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: