| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
There was a problem hiding this comment.
If we cannot bypass the ast.c layer and directly end up in the assemble.c, then this should be the correct approach (I didn't know where we validate the locations).
Sorry, something went wrong.
| {'lineno': -2, 'col_offset': 0}, | ||
| {'lineno': 0, 'col_offset': -2}, | ||
| {'lineno': 0, 'col_offset': -2, 'end_col_offset': -2}, | ||
| {'lineno': -2, 'end_lineno': -2, 'col_offset': 0}, |
There was a problem hiding this comment.
Sorry, something went wrong.
There was a problem hiding this comment.
I will open a new issue for that, if we don't. Thanks for the idea.
Sorry, something went wrong.
Co-authored-by: Victor Stinner <vstinner@python.org>
There was a problem hiding this comment.
LGTM. I just suggest a shorter test name :-)
Sorry, something went wrong.
I remove my LGTM vote, I didn't notice that -1 value is still allowed. I'm not sure about rejecting values <= -2.
|
Ok, I followed the idea in #130795 (comment) by @JelleZijlstra and now all negative locations are just allowed. This way we won't have any compat issues and can backport this fix easily. Thanks a lot, everyone! |
Sorry, something went wrong.
There was a problem hiding this comment.
LGTM.
Sorry, something went wrong.
|
Looks like #130627 changed a lot of related things. Digging into it. |
Sorry, something went wrong.
|
Thanks @sobolevn for the PR 🌮🎉.. I'm working now to backport this PR to: 3.12. |
Sorry, something went wrong.
|
Thanks @sobolevn for the PR 🌮🎉.. I'm working now to backport this PR to: 3.13. |
Sorry, something went wrong.
|
Sorry, @sobolevn, I could not cleanly backport this to 3.12 due to a conflict. cherry_picker bc5233b6a5cdd8f77a4737ce317f94110869c082 3.12 |
Sorry, something went wrong.
|
Sorry, @sobolevn, I could not cleanly backport this to 3.13 due to a conflict. cherry_picker bc5233b6a5cdd8f77a4737ce317f94110869c082 3.13 |
Sorry, something went wrong.
|
Thanks everyone! 🎉 |
Sorry, something went wrong.
|
I will work on manual backports today. |
Sorry, something went wrong.
|
GH-132243 is a backport of this pull request to the 3.13 branch. |
Sorry, something went wrong.
|
GH-132260 is a backport of this pull request to the 3.12 branch. |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Uh oh!
There was an error while loading. Please reload this page.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.