Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 34k
gh-103225: Fixed zero lineno issue for pdb#103265
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Uh oh!
There was an error while loading. Please reload this page.
Conversation
gaogaotiantian commented Apr 5, 2023 • edited by iritkatriel
Loading Uh oh!
There was an error while loading. Please reload this page.
edited by iritkatriel
Uh oh!
There was an error while loading. Please reload this page.
artemmukhin commented Apr 5, 2023
Sure! Thank you for extracting the workaround and the test for Regarding adding co-authors, this article might be helpful. But that is fine anyway 🙂 |
Co-authored-by: Artem Mukhin <ortem00@gmail.com>
73afc79 to 0b3c3b8Comparegaogaotiantian commented Apr 5, 2023
Thanks! That's helpful! |
gaogaotiantian commented Apr 6, 2023
@iritkatriel could you take a look at this fix which originally was done in |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Misc/NEWS.d/next/Library/2023-04-05-01-28-53.gh-issue-103225.QD3JVU.rst Outdated Show resolvedHide resolved
Uh oh!
There was an error while loading. Please reload this page.
iritkatriel commented Apr 6, 2023
I've added the "co-authored by" line to the first comment. |
gaogaotiantian commented Apr 6, 2023
I redid the commit with co-authored-by so @ortem is showing as the co-author in the commit now. |
…D3JVU.rst Co-authored-by: Irit Katriel <1055913+iritkatriel@users.noreply.github.com>
iritkatriel commented Apr 6, 2023
I’m not sure that would work, because we squash the commits when merging and typically remove the individual commit messages. It does get picked up from the description of the PR though. |
gaogaotiantian commented Apr 6, 2023
Hmm, interesting to know that. Next time I'll do it in the PR. |
iritkatriel commented Apr 7, 2023
Actually I think more accurately - GitHub probably picks up the coauthor from the commit message, but the person who merges typically deletes all the individual commit messages, and is more likely to notice the "co-authored by" in the main message and not erase it. |
Co-authored-by: Artem Mukhin <ortem00@gmail.com>
gaogaotiantian commented May 5, 2023
@iritkatriel should we port this back to 3.11? |
iritkatriel commented May 6, 2023
We could, if this bug is there as well. Could you check to make sure, and then make a PR for 3.11? |
Co-authored-by: Artem Mukhin <ortem00@gmail.com>
bedevere-bot commented May 7, 2023
GH-104262 is a backport of this pull request to the 3.11 branch. |
gaogaotiantian commented May 7, 2023
Confirmed that 3.11 has this issue as well, PR was made. |
According to #103225,
inspect.getsourcelines()returns wrong line number. Fixing it itinspectwill take extra discussion so we fixed it inpdbfor now. If in the future this got fixed ininspectwe can take the fix away.Co-authored-by: Artem Mukhin ortem00@gmail.com