This is very interesting! Were these bugs reported to the Python tracker? Also, what are the actual implications of these bugs in real code? What happens when such a bug is genuinely hit? Are there just performance penalties or are there actual miscalculations in the end result?
There would be an actual miscalculation, yes. which is a really annoying kind of bug, also because these jit bugs tend to go away if you turn the debugger on, making them even more frustrating to track down.
The ones we found so far are all extremely unlikely to occur in 'regular' Python code, because they require the use of internal pypy specific numerical operations.
Thank you, makes a lot of sense. I was working on a structure aware fuzzer, and needed to know if there are even projects out there that don't use some form of grammar to produce output.
10 comments
[ 2.8 ms ] story [ 37.9 ms ] threadThe ones we found so far are all extremely unlikely to occur in 'regular' Python code, because they require the use of internal pypy specific numerical operations.