[pypy-dev] bug in flow graph?
tismer at stackless.com
Wed Nov 24 16:04:19 CET 2004
I added testwise the md5 implementation to my app code
translator test cases.
It looks quite good, but there is a problem with
the flow space:
md5 unfortuantely uses copy.deepcopy, which makes
the flow space dig into that, and we crash with the message
AssertionError: Not generating the same operation sequence:
v4162 = simple_call((type type), v4157)
---> | while repeating we see here
| v4163 = simple_call((builtin_function_or_method get), v4162)
v4163 = simple_call((builtin_function_or_method get), v4162)
v4164 = is_true(v4163)
I guess there is so much stuff in the copy module that the flow space
gets confused somehow. But well, it may be a real bug.
For now, I'll replace the copy.deepcopy part of md5 with something else,
to protect the analysis.
Might this be related to the fact, that copy.deepcopy also
does not work with the MD5 object, when I try it in the
ciao - chris
Christian Tismer :^) <mailto:tismer at stackless.com>
tismerysoft GmbH : Have a break! Take a ride on Python's
Johannes-Niemeyer-Weg 9A : *Starship* http://starship.python.net/
14109 Berlin : PGP key -> http://wwwkeys.pgp.net/
work +49 30 802 86 56 mobile +49 173 24 18 776 fax +49 30 80 90 57 05
PGP 0x57F3BF04 9064 F4E1 D754 C2FF 1619 305B C09C 5A3B 57F3 BF04
whom do you want to sponsor today? http://www.stackless.com/
More information about the Pypy-dev