← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 2102083] [NEW] Reimplement ``SingletonDecorator`` class to allow destroying instances

 

Public bug reported:

The current ``SingletonDecorator`` does not allow to destroy already
instantiated objects. This bug proposes to create a metaclass with a
``destroy`` subclass method that allows the object to delete itself.
This could be useful now for testing.

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

** 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/2102083

Title:
  Reimplement ``SingletonDecorator`` class to allow destroying instances

Status in neutron:
  New

Bug description:
  The current ``SingletonDecorator`` does not allow to destroy already
  instantiated objects. This bug proposes to create a metaclass with a
  ``destroy`` subclass method that allows the object to delete itself.
  This could be useful now for testing.

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



Follow ups