[issue30144] Import collections ABC from collections.abc rather than collections

2017-06-11 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- assignee: -> terry.reedy versions: +Python 3.6 ___ Python tracker ___ ___ Python-bugs-list mailing lis

[issue30144] Import collections ABC from collections.abc rather than collections

2017-06-11 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset a13225e209cfa5f7b458dbcbac19dc4df26feb95 by terryjreedy in branch '3.6': [3.6]bpo-30144: change idlelib abc import [GH-1263] (#2106) https://github.com/python/cpython/commit/a13225e209cfa5f7b458dbcbac19dc4df26feb95 -- nosy: +terry.reedy

[issue30144] Import collections ABC from collections.abc rather than collections

2017-06-11 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- pull_requests: +2159 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue30144] Import collections ABC from collections.abc rather than collections

2017-04-24 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Issue30152 replaces some collections.abc with _collections_abc for performance reasons. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue30144] Import collections ABC from collections.abc rather than collections

2017-04-23 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 2e576f5aec1f8f23f07001e2eb3db9276851a4fc by Serhiy Storchaka in branch 'master': bpo-30144: Import collections ABC from collections.abc rather than collections. (#1263) https://github.com/python/cpython/commit/2e576f5aec1f8f23f07001e2eb3db92768

[issue30144] Import collections ABC from collections.abc rather than collections

2017-04-23 Thread Raymond Hettinger
Raymond Hettinger added the comment: +1 This patch looks like a step in the right direction. -- ___ Python tracker ___ ___ Python-bugs

[issue30144] Import collections ABC from collections.abc rather than collections

2017-04-23 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: If this is the main cause I can replace collections.abc in this patch with _collections_abc. But I prefer to do this in separate commit. My next patch will include other changes for the number of imports. -- ___ P

[issue30144] Import collections ABC from collections.abc rather than collections

2017-04-23 Thread Stefan Krah
Stefan Krah added the comment: I thought splitting off abc was done for performance reasons (reduce the number of imports at Python startup), not for more idiomatic code. -- nosy: +skrah ___ Python tracker ___

[issue30144] Import collections ABC from collections.abc rather than collections

2017-04-23 Thread Serhiy Storchaka
New submission from Serhiy Storchaka: Now abstract collection classes are defined in collections.abc rather than collections. collections contains just aliases for compatibility. Importing collections ABC from collections.abc is more idiomatic. And when aliases will be removed from collection

[issue30144] Import collections ABC from collections.abc rather than collections

2017-04-23 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- pull_requests: +1376 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://m