[PyPy-issue] [issue545] Rare bug in optimizeopt
Armin Rigo
pypy-dev-issue at codespeak.net
Wed Jun 9 10:38:43 CEST 2010
Armin Rigo <arigo+pypyissues at codespeak.net> added the comment:
After discussions in IRC that you have to fish for by date (e.g. to get the
answer to "I fixed one issue"), r75229 might fix the issue that fijal really
wanted to get across, which is caused by the fact that optimizeopt calls the
pure function again. This is wrong in case of complex functions like
_pure_lookup_where_with_method_cache(), because its argument w_self might have
been mutated in the meantime, but its argument version_tag of course still has
the original, old value.
----------
status: chatting -> testing
_______________________________________________________
PyPy development tracker <pypy-dev-issue at codespeak.net>
<https://codespeak.net/issue/pypy-dev/issue545>
_______________________________________________________
More information about the Pypy-issue
mailing list