are you sure this tweak is still correct, I cannot remember the 
intention of this code but I'm sure
it was not as it was for random reasons...

[EMAIL PROTECTED] wrote:
> Author: fijal
> Date: Sun Nov  4 15:16:32 2007
> New Revision: 48286
>
> Modified:
>    pypy/dist/pypy/rpython/rpbc.py
> Log:
> This effectively mutes some rpbc rtyper warnings
>
>
> Modified: pypy/dist/pypy/rpython/rpbc.py
> ==============================================================================
> --- pypy/dist/pypy/rpython/rpbc.py    (original)
> +++ pypy/dist/pypy/rpython/rpbc.py    Sun Nov  4 15:16:32 2007
> @@ -481,8 +481,8 @@
>                  if r_value.lowleveltype is Void:
>                      continue
>                  try:
> -                    thisattrvalue = frozendesc.attrcache[attr]
> -                except KeyError:
> +                    thisattrvalue = frozendesc.read_attribute(attr)
> +                except AttributeError:
>                      warning("Desc %r has no attribute %r" % (frozendesc, 
> attr))
>                      continue
>                  llvalue = r_value.convert_const(thisattrvalue)
> _______________________________________________
> pypy-svn mailing list
> [EMAIL PROTECTED]
> http://codespeak.net/mailman/listinfo/pypy-svn
>   

_______________________________________________
[email protected]
http://codespeak.net/mailman/listinfo/pypy-dev

Reply via email to