← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1471349] Re: Eliminate default value as a mutable object

 

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

** Changed in: magnum
    Milestone: None => mitaka-1

-- 
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/1471349

Title:
  Eliminate default value as a mutable object

Status in OpenStack Dashboard (Horizon):
  In Progress
Status in Magnum:
  Fix Released

Bug description:
  The default value is evaluated only once. This makes a difference when
  the default is a mutable object such as a list, dictionary, or
  instances of most classes. Magnum should follow what Python suggests:
  Do not to use mutable object as a default value.

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