Errores #68

Cleanup core instanciations

Added by Saúl Ibarra Corretgé over 2 years ago. Updated over 2 years ago.

Status:Resuelta Start:07/14/2009
Priority:Normal Due date:
Assigned to:Saúl Ibarra Corretgé % Done:

0%

Category:YASS - core
Target version:0.5.3

Description

By now we often do self.core = yass_core() and then self.core.something() all around the code. It's not bad, but we could do it better by just executing yass_core().something()

History

Updated by Saúl Ibarra Corretgé over 2 years ago

  • Target version changed from 1.0.0 to 0.5.3

Updated by Saúl Ibarra Corretgé over 2 years ago

  • Status changed from Nueva to Resuelta

After digging a little more in this issue I believe it's btter to keep a shallow copy of the core (self.core) because it's just like a 'pointer' to the single core instance.

As of r184 this has been normalised across the code.

Also available in: Atom PDF