Such analysis of the code of the functions/methods would be very useful!
It would allow us to make @cachedjit much nicer (without
# pythran importand
But I think this one is too difficult for me (@paugier)...
Note: it has to be done without Pythran because we don't want to depend on Pythran (even if yes, it is to produce Pythran files).