| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
|
Uh, didn't realise ADD_OP replaces the current instruction rather than adds after it. Should be sorted now. cpython/Python/optimizer_analysis.c Lines 623 to 627 in 03d2f03 |
Sorry, something went wrong.
There was a problem hiding this comment.
Very close, thanks. Some tricky bits that I explain below.
Sorry, something went wrong.
There was a problem hiding this comment.
We can one-up this. If it's a probable constant callable, and the func_version matches, we can promote the callable to a known one, just like you did in_CHECK_METHOD_VERSION .
Also, heads up I'm merging my PR https://github.com/python/cpython/pull/146300/changes because _CHECK_FUNCTION_VERSION is wrong for the first if case.
Sorry, something went wrong.
There was a problem hiding this comment.
Oops sorry, my other PR's change does the same thing now to fix this. Sorry, please undo the change here and then I'll land my PR!
Sorry, something went wrong.
There was a problem hiding this comment.
Roger :)
Sorry, something went wrong.
|
Done. Will sort conflicts once #146300 is in. Really appreciate the review, cheers |
Sorry, something went wrong.
There was a problem hiding this comment.
Thank you!
Sorry, something went wrong.
…honGH-148457)" This reverts commit 6349262.
| Back | FazBrowse Home | New Git URL |
_RECORD_BOUND_METHOD records method object now, so _EXACT_ARGS needs to extract im_func out of it as well.