*Not documented*
def buildname2items(self):
origin: PyCollectorMixin
where:
changes in __dict__ after execution:
function source:
def buildname2items(self):
# NB. we avoid random getattrs and peek in the __dict__ instead
d = {}
dicts = [getattr(self.obj, '__dict__', {})]
for basecls in py.std.inspect.getmro(self.obj.__class__):
dicts.append(basecls.__dict__)
seen = {}
for dic in dicts:
for name, obj in dic.items():
if name in seen:
continue
seen[name] = True
res = self.makeitem(name, obj)
if res is not None:
d[name] = res
return d
called in /home/johnny/projects/merlinux/py/dist/py/test/collect.py
traceback test.collect.Instance.buildname2items.0
called in /home/johnny/projects/merlinux/py/dist/py/test/collect.py
traceback test.collect.Instance.buildname2items.1
called in /home/johnny/projects/merlinux/py/dist/py/test/collect.py
traceback test.collect.Instance.buildname2items.2
called in /home/johnny/projects/merlinux/py/dist/py/test/collect.py
traceback test.collect.Instance.buildname2items.3
called in /home/johnny/projects/merlinux/py/dist/py/test/collect.py
traceback test.collect.Instance.buildname2items.4
called in /home/johnny/projects/merlinux/py/dist/py/test/collect.py
traceback test.collect.Instance.buildname2items.5
called in /home/johnny/projects/merlinux/py/dist/py/test/collect.py
traceback test.collect.Instance.buildname2items.6
called in /home/johnny/projects/merlinux/py/dist/py/test/collect.py
traceback test.collect.Instance.buildname2items.7
called in /home/johnny/projects/merlinux/py/dist/py/test/collect.py
traceback test.collect.Instance.buildname2items.8
called in /home/johnny/projects/merlinux/py/dist/py/test/collect.py
traceback test.collect.Instance.buildname2items.9
called in /home/johnny/projects/merlinux/py/dist/py/test/collect.py
traceback test.collect.Instance.buildname2items.10
called in /home/johnny/projects/merlinux/py/dist/py/test/collect.py
traceback test.collect.Instance.buildname2items.11
called in /home/johnny/projects/merlinux/py/dist/py/test/collect.py
traceback test.collect.Instance.buildname2items.12
called in /home/johnny/projects/merlinux/py/dist/py/test/collect.py
traceback test.collect.Instance.buildname2items.13
called in /home/johnny/projects/merlinux/py/dist/py/test/collect.py
traceback test.collect.Instance.buildname2items.14
called in /home/johnny/projects/merlinux/py/dist/py/test/collect.py
traceback test.collect.Instance.buildname2items.15
called in /home/johnny/projects/merlinux/py/dist/py/test/collect.py
traceback test.collect.Instance.buildname2items.16
called in /home/johnny/projects/merlinux/py/dist/py/test/collect.py
traceback test.collect.Instance.buildname2items.17
called in /home/johnny/projects/merlinux/py/dist/py/test/collect.py
traceback test.collect.Instance.buildname2items.18
called in /home/johnny/projects/merlinux/py/dist/py/test/collect.py
traceback test.collect.Instance.buildname2items.19
called in /home/johnny/projects/merlinux/py/dist/py/test/collect.py