[pypy-dev] understanding and fixing rtyper warnings

Armin Rigo arigo at tunes.org
Thu Apr 4 12:27:03 CEST 2013


Hi Fijal,

On Thu, Apr 4, 2013 at 12:18 PM, Maciej Fijalkowski <fijall at gmail.com> wrote:
> Good luck have fun :) it was tried before. it's a mess (and definitely
> not "a few", unless you add assert in space.setitem which does not
> solve anything, we can as well just remove the warning)

That's what I had in mind.  And yes, it helps: if someone really tries
to store None as a key or value, he would get a clear message (or one
of his asserts would fail, rather than getting a segfault, or some
more extreme confusion if it doesn't segfault).


A bientôt,

Armin.


More information about the pypy-dev mailing list