yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #29051
[Bug 1428424] [NEW] Remove use of contextlib.nested
Public bug reported:
The contextlib.nested call has been deprecated
in Python 2.7. This causes DeprecationWarning
messages in the unit tests.
There are also known issues with contextlib.nested
that were addressed by the native support for
multiple "with" variables. For instance, if the
first object is created but the second one throws
an exception, the first object's __exit__ is never
called. For more information see
https://docs.python.org/2/library/contextlib.html#contextlib.nested
contextlib.nested is also not compatible in Python 3.
** Affects: nova
Importance: Undecided
Assignee: ChangBo Guo(gcb) (glongwave)
Status: In Progress
** Changed in: nova
Assignee: (unassigned) => ChangBo Guo(gcb) (glongwave)
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1428424
Title:
Remove use of contextlib.nested
Status in OpenStack Compute (Nova):
In Progress
Bug description:
The contextlib.nested call has been deprecated
in Python 2.7. This causes DeprecationWarning
messages in the unit tests.
There are also known issues with contextlib.nested
that were addressed by the native support for
multiple "with" variables. For instance, if the
first object is created but the second one throws
an exception, the first object's __exit__ is never
called. For more information see
https://docs.python.org/2/library/contextlib.html#contextlib.nested
contextlib.nested is also not compatible in Python 3.
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1428424/+subscriptions
Follow ups
-
[Bug 1428424] Re: Remove use of contextlib.nested
From: Davanum Srinivas (DIMS), 2016-03-06
-
[Bug 1428424] Re: Remove use of contextlib.nested
From: Thierry Carrez, 2015-06-24
-
[Bug 1428424] Re: Remove use of contextlib.nested
From: Ihar Hrachyshka, 2015-05-26
-
[Bug 1428424] Re: Remove use of contextlib.nested
From: Freescale Openstack Team, 2015-05-18
-
[Bug 1428424] Re: Remove use of contextlib.nested
From: Thierry Carrez, 2015-04-10
-
[Bug 1428424] Re: Remove use of contextlib.nested
From: Thierry Carrez, 2015-04-09
-
[Bug 1428424] Re: Remove use of contextlib.nested
From: Ankit Agrawal, 2015-03-20
-
[Bug 1428424] Re: Remove use of contextlib.nested
From: Sean McGinnis, 2015-03-05
-
[Bug 1428424] Re: Remove use of contextlib.nested
From: ChangBo Guo(gcb), 2015-03-05
-
[Bug 1428424] [NEW] Remove use of contextlib.nested
From: ChangBo Guo(gcb), 2015-03-05
References