[pypy-dev] [pypy-svn] r48286 - pypy/dist/pypy/rpython

Jean-Paul Calderone exarkun at divmod.com
Sun Nov 4 17:16:43 CET 2007


On Sun, 4 Nov 2007 16:28:13 +0100, Armin Rigo <arigo at tunes.org> wrote:
>Hi Fijal,
>
>On Sun, Nov 04, 2007 at 04:01:48PM +0100, Samuele Pedroni wrote:
>> > -                    thisattrvalue = frozendesc.attrcache[attr]
>> > -                except KeyError:
>> > +                    thisattrvalue = frozendesc.read_attribute(attr)
>> > +                except AttributeError:
>
>Argh!  That's basically too dangerous.  Please revert this checkin.
>There is a reason why we wrote it the other way around.  I don't want to
>go into details now but basically what you did will ask for a new
>annotation, which should absolutely not be done during RTyping but only
>during the annotation phase.
>

Did a unit test break? :)

>
>Armin
>_______________________________________________
>pypy-dev at codespeak.net
>http://codespeak.net/mailman/listinfo/pypy-dev
>



More information about the Pypy-dev mailing list