| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
Fix also error handling in _BINARY_OP_ADD_FLOAT, _BINARY_OP_SUBTRACT_FLOAT and _BINARY_OP_MULTIPLY_FLOAT opcodes. PyStackRef_FromPyObjectSteal() must not be called with a NULL pointer.
|
I don't know well Python/bytecodes.c DSL, so I'm not sure if inputs are cleared properly on error. Python 3.14 is also affected by the bug for _BINARY_OP_ADD_FLOAT, _BINARY_OP_SUBTRACT_FLOAT and _BINARY_OP_MULTIPLY_FLOAT opcodes (_BINARY_OP_ADD_UNICODE is not affected), but it needs a different fix. Once this fix will be merged, I will write a different one for 3.14. |
Sorry, something went wrong.
There was a problem hiding this comment.
Thanks
Sorry, something went wrong.
|
I think you accidentally committed an out of date test_frozenmain? |
Sorry, something went wrong.
I don't know what happened, but Programs/test_frozenmain.h was regenerated somehow. I fixed the issue. |
Sorry, something went wrong.
|
Fix for the 3.14 branch: #146119. |
Sorry, something went wrong.
|
Thanks @vstinner for the PR 🌮🎉.. I'm working now to backport this PR to: 3.13, 3.14. |
Sorry, something went wrong.
|
Sorry, @vstinner, I could not cleanly backport this to 3.14 due to a conflict. cherry_picker 1e4ed932109c4f8ee4f43bc3e6fdb7710a3606bd 3.14 |
Sorry, something went wrong.
|
Sorry, @vstinner, I could not cleanly backport this to 3.13 due to a conflict. cherry_picker 1e4ed932109c4f8ee4f43bc3e6fdb7710a3606bd 3.13 |
Sorry, something went wrong.
As I wrote previously, the 3.14 branch needs a different fix. I wrote the PR gh-146119 for that. Python 3.13 is not affected by the bug. PyStackRef_FromPyObjectSteal() doesn't exist in Python 3.13 (the function was added to Python 3.14). |
Sorry, something went wrong.
|
PR merged. Thanks for your review @Fidget-Spinner. |
Sorry, something went wrong.
…ython#146117) Fix also error handling in _BINARY_OP_ADD_FLOAT, _BINARY_OP_SUBTRACT_FLOAT and _BINARY_OP_MULTIPLY_FLOAT opcodes. PyStackRef_FromPyObjectSteal() must not be called with a NULL pointer.
| Back | FazBrowse Home | New Git URL |
Fix also error handling in _BINARY_OP_ADD_FLOAT,
_BINARY_OP_SUBTRACT_FLOAT and _BINARY_OP_MULTIPLY_FLOAT opcodes. PyStackRef_FromPyObjectSteal() must not be called with a NULL pointer.