← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1936667] [NEW] Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3

 

Public bug reported:

Using or importing the ABCs from 'collections' instead of from
'collections.abc' is deprecated since Python 3.3.

For example:

>>> import collections 
>>> collections.Iterable
<stdin>:1: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3, and in 3.10 it will stop working
<class 'collections.abc.Iterable'>

>>> from collections import abc
>>> abc.Iterable
<class 'collections.abc.Iterable'>

** Affects: neutron
     Importance: Low
     Assignee: Rodolfo Alonso (rodolfo-alonso-hernandez)
         Status: New

** Changed in: neutron
   Importance: Undecided => Low

** Changed in: neutron
     Assignee: (unassigned) => Rodolfo Alonso (rodolfo-alonso-hernandez)

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1936667

Title:
  Using or importing the ABCs from 'collections' instead of from
  'collections.abc' is deprecated since Python 3.3

Status in neutron:
  New

Bug description:
  Using or importing the ABCs from 'collections' instead of from
  'collections.abc' is deprecated since Python 3.3.

  For example:

  >>> import collections 
  >>> collections.Iterable
  <stdin>:1: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3, and in 3.10 it will stop working
  <class 'collections.abc.Iterable'>

  >>> from collections import abc
  >>> abc.Iterable
  <class 'collections.abc.Iterable'>

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1936667/+subscriptions



Follow ups