← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1360879] Re: The with statement is always enabled in Python 2.6

 

** Changed in: horizon
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/1360879

Title:
  The with statement is always enabled in Python 2.6

Status in OpenStack Dashboard (Horizon):
  Fix Released

Bug description:
  According to the Python doc
  (https://docs.python.org/2.6/reference/compound_stmts.html#with and
  https://docs.python.org/2/library/__future__.html), the with statement
  is always enabled in Python 2.6. So, it becomes useless to import it
  from __future__. As a matter of fact, Horizon requires Python 2.6+
  (https://wiki.openstack.org/wiki/Horizon#Requirements) and not Python
  2.5 anymore.

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


References