This issue tracker has been migrated to GitHub ,
and is currently read-only.
For more information,
see the GitHub FAQs in the Python's Developer Guide.
Created on 2019年08月22日 15:50 by michaelanckaert, last changed 2022年04月11日 14:59 by admin. This issue is now closed.
| Messages (3) | |||
|---|---|---|---|
| msg350202 - (view) | Author: Michael Anckaert (michaelanckaert) * | Date: 2019年08月22日 15:50 | |
When importing an ABC from the collections module in Python 3.9 there is a warning that this is deprecated since Python 3.3 and will stop working in Python 3.9. Should this warning be removed and lead to an ImportError? Python 3.9.0a0 (heads/master:a38e9d1399, Aug 22 2019, 17:48:16) [GCC 8.3.1 20190223 (Red Hat 8.3.1-2)] on linux Type "help", "copyright", "credits" or "license" for more information. >>> from collections import Sequence <stdin>:1: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3, and in 3.9 it will stop working |
|||
| msg350204 - (view) | Author: STINNER Victor (vstinner) * (Python committer) | Date: 2019年08月22日 15:54 | |
It's a work-in-progress: see bpo-37324. |
|||
| msg350205 - (view) | Author: Karthikeyan Singaravelan (xtreak) * (Python committer) | Date: 2019年08月22日 15:56 | |
Please see discussion at issue36953 and issue37324. It's currently blocked by Jinja that doesn't have a release with the fix to be used in CI. |
|||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022年04月11日 14:59:19 | admin | set | github: 82098 |
| 2019年08月22日 15:56:41 | xtreak | set | nosy:
+ xtreak messages: + msg350205 |
| 2019年08月22日 15:54:25 | vstinner | set | status: open -> closed superseder: collections: remove deprecated aliases to ABC classes nosy: + vstinner messages: + msg350204 resolution: duplicate stage: resolved |
| 2019年08月22日 15:50:18 | michaelanckaert | create | |