[pypy-dev] [translation:ERROR] AttributeError': 'FrozenDesc' object has no attribute 'rowkey'
Benjamin Peterson
benjamin at python.org
Thu Jun 2 20:29:29 CEST 2011
2011/6/2 Timothy Baldridge <tbaldridge at gmail.com>:
> What does error mean, when running the translator against my rpython code?
>
> [translation:ERROR] AttributeError': 'FrozenDesc' object has no
> attribute 'rowkey'
>
> Can anyone give me some insight?
>
> Thanks.
>
> Timothy
>
>
> The code:
>
> class Runtime(Obj):
> def __init__(self):
> Obj.__init__(self)
> self.defs = dict()
There's no dict() type in RPython. Use {}. (Yes, obscure).
--
Regards,
Benjamin
More information about the pypy-dev
mailing list