-
-
Notifications
You must be signed in to change notification settings - Fork 31.7k
bpo-32822: Add finally with return/break/continue to the tutorial #25600
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
Conversation
This documents in the tutorial docs the behavior of a finally clause in case it should re-raise an exception but contains a return/break/continue statement.
Hello, and thanks for your contribution! I'm a bot set up to make sure that the project can legally accept this contribution by verifying everyone involved has signed the PSF contributor agreement (CLA). CLA MissingOur records indicate the following people have not signed the CLA: For legal reasons we need all the people listed to sign the CLA before we can look at your contribution. Please follow the steps outlined in the CPython devguide to rectify this issue. If you have recently signed the CLA, please wait at least one business day You can check yourself to see if the CLA has been received. Thanks again for the contribution, we look forward to reviewing it! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, very nice first patch! I will leave this for a couple of days to give interested parties from the issue a chance to respond, but if there's been no action in a week please ping me and I'll get it merged.
@ambv: Please replace |
Thanks @robertohueso for the PR, and @ambv for merging it 🌮🎉.. I'm working now to backport this PR to: 3.9. |
GH-25890 is a backport of this pull request to the 3.9 branch. |
…thonGH-25600) This documents in the tutorial docs the behavior of a finally clause in case it should re-raise an exception but contains a return/break/continue statement. (cherry picked from commit a0b9915) Co-authored-by: Roberto Hueso <[email protected]>
Thanks @robertohueso for the PR, and @ambv for merging it 🌮🎉.. I'm working now to backport this PR to: 3.10. |
Sorry @robertohueso and @ambv, I had trouble checking out the |
Thanks @robertohueso for the PR, and @ambv for merging it 🌮🎉.. I'm working now to backport this PR to: 3.10. |
GH-25893 is a backport of this pull request to the 3.10 branch. |
…thonGH-25600) This documents in the tutorial docs the behavior of a finally clause in case it should re-raise an exception but contains a return/break/continue statement. (cherry picked from commit a0b9915) Co-authored-by: Roberto Hueso <[email protected]>
…-25600) (#25890) This documents in the tutorial docs the behavior of a finally clause in case it should re-raise an exception but contains a return/break/continue statement. (cherry picked from commit a0b9915) Co-authored-by: Roberto Hueso <[email protected]>
…-25600) (#25893) This documents in the tutorial docs the behavior of a finally clause in case it should re-raise an exception but contains a return/break/continue statement. (cherry picked from commit a0b9915) Co-authored-by: Roberto Hueso <[email protected]>
Hi everyone, this is my first PR to
cpython
, so any feedback/advice is more than welcome 😄.This behavior is documented in the reference but not in the tutorial.
https://bugs.python.org/issue32822