[pypy-dev] LowLevelDatabase instance has no attribute 'pyobjmaker'

Alexander Schremmer 2005a at usenet.alexanderweb.de
Thu Sep 22 12:20:55 CEST 2005


Hi,

translating this target:

def entry_point(argv):
    print "Test"
    return 0

def target(geninterp=True):
    return entry_point, None

fails with:
...
  File "/home/contest/xoraxax/pypy-dist/pypy/translator/c/database.py",
line 181, in complete
    self.get(value)
  File "/home/contest/xoraxax/pypy-dist/pypy/translator/c/database.py",
line 123, in get
    node = self.getcontainernode(obj._obj)
  File "/home/contest/xoraxax/pypy-dist/pypy/translator/c/database.py",
line 101, in getcontainernode
    node = nodefactory(self, T, container)
  File "/home/contest/xoraxax/pypy-dist/pypy/translator/c/node.py", line
579, in __init__
    self.name = db.pyobjmaker.computenameof(obj.value)
AttributeError: LowLevelDatabase instance has no attribute 'pyobjmaker'

Looks like a bug to me. Or is print not supported in rpython?

Kind regards,
Alexander




More information about the Pypy-dev mailing list