Errores #68
Cleanup core instanciations
| Status: | Resuelta | Start: | 07/14/2009 | |
|---|---|---|---|---|
| Priority: | Normal | Due date: | ||
| Assigned to: | % 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
- 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.