Skip to content

Conversation

@picnixz
Copy link
Member

@picnixzpicnixz commented Mar 2, 2025

Passing end_lineno=None to FrameSummary in Python 3.13 changed compared to Python 3.12.

3.14:

self.end_lineno=linenoifend_linenoisNoneelseend_lineno

3.13:

self.end_lineno=linenoifend_linenoisNoneelseend_lineno

3.12:

self.end_lineno=end_lineno


📚 Documentation preview 📚: https://cpython-previews--130755.org.readthedocs.build/

@picnixz
Copy link
MemberAuthor

picnixz commented Mar 2, 2025

FTR, this was changed in 939fc6d. I'll merge this one before eating this evening.

@picnixzpicnixz self-assigned this Mar 2, 2025
@picnixzpicnixz merged commit c6513f7 into python:mainMar 2, 2025
33 checks passed
@miss-islington-app
Copy link

Thanks @picnixz for the PR 🌮🎉.. I'm working now to backport this PR to: 3.13.
🐍🍒⛏🤖 I'm not a witch! I'm not a witch!

@github-project-automationgithub-project-automationbot moved this from Todo to Done in Docs PRsMar 2, 2025
@picnixzpicnixz deleted the doc/frame-summary/version-changed-312-313-128481 branch March 2, 2025 17:16
miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Mar 2, 2025
…d_lineno` changed in 3.13 (pythonGH-130755) The value taken by `FrameSummary.end_lineno` when passing `end_lineno=None` changed in pythongh-112097. Previously, a `end_lineno` could be specified to be `None` directly but since 939fc6d, passing None makes the constructor use the value of `lineno` instead. (cherry picked from commit c6513f7) Co-authored-by: Bénédikt Tran <[email protected]>
@bedevere-app
Copy link

GH-130767 is a backport of this pull request to the 3.13 branch.

@bedevere-appbedevere-appbot removed the needs backport to 3.13 bugs and security fixes label Mar 2, 2025
picnixz added a commit that referenced this pull request Mar 2, 2025
…nd_lineno` changed in 3.13 (GH-130755) (#130767) gh-128481: indicate that the default value for `FrameSummary.end_lineno` changed in 3.13 (GH-130755) The value taken by `FrameSummary.end_lineno` when passing `end_lineno=None` changed in gh-112097. Previously, a `end_lineno` could be specified to be `None` directly but since 939fc6d, passing None makes the constructor use the value of `lineno` instead. (cherry picked from commit c6513f7) Co-authored-by: Bénédikt Tran <[email protected]>
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docsDocumentation in the Doc dirskip news

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants

@picnixz@ZeroIntensity