Closed marcinwrobel1986 closed 1 year ago
setdefault()
data/nolb-8color-16nodes-11firstphases/
__init__()
print(f"@@@ {self.__index}") print(f"@@@@@ {id(self)}")
0
@@@ 0 @@@@@ 139700003736880 @@@ 0 @@@@@ 139700003507600 @@@ 0 @@@@@ 139700003504912 @@@ 0 @@@@@ 139700003507504 @@@ 0 @@@@@ 139700003505296 @@@ 0 @@@@@ 139700003505776 @@@ 0 @@@@@ 139700003507408 @@@ 0 @@@@@ 139700003505680 @@@ 0 @@@@@ 139700003505872 @@@ 0 @@@@@ 139700003535312 @@@ 0 @@@@@ 139700003535024 @@@ 0 @@@@@ 139700003535168 @@@ 0 @@@@@ 139700003535264 @@@ 0 @@@@@ 139700003534880 @@@ 0 @@@@@ 139700003534688
No longer relevant after PR #307
TODO:
setdefault()
method to if statement which will stop Rank instantiation without causeProblem description:
data/nolb-8color-16nodes-11firstphases/
__init__()
as follows:0
Rank:0
Rank is instantiated many times, with id() function indicating each instance is a different object