Skip to content
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

gh-128409: Document that pdb.post_mortem() accepts exceptions #128410

Merged
merged 1 commit into from
Jan 10, 2025

Conversation

adamchainz
Copy link
Contributor

@adamchainz adamchainz commented Jan 2, 2025

Doc/library/pdb.rst Outdated Show resolved Hide resolved
Doc/library/pdb.rst Outdated Show resolved Hide resolved
Doc/library/pdb.rst Outdated Show resolved Hide resolved
co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
@gaogaotiantian gaogaotiantian merged commit 1b39b50 into python:main Jan 10, 2025
29 checks passed
@miss-islington-app
Copy link

Thanks @adamchainz for the PR, and @gaogaotiantian for merging it 🌮🎉.. I'm working now to backport this PR to: 3.13.
🐍🍒⛏🤖

@miss-islington-app
Copy link

Sorry, @adamchainz and @gaogaotiantian, I could not cleanly backport this to 3.13 due to a conflict.
Please backport using cherry_picker on command line.

cherry_picker 1b39b502d33c68f52fd775c4e6c2174baddd40bd 3.13

@bedevere-bot
Copy link

⚠️⚠️⚠️ Buildbot failure ⚠️⚠️⚠️

Hi! The buildbot AMD64 CentOS9 NoGIL Refleaks 3.x has failed when building commit 1b39b50.

What do you need to do:

  1. Don't panic.
  2. Check the buildbot page in the devguide if you don't know what the buildbots are or how they work.
  3. Go to the page of the buildbot that failed (https://buildbot.python.org/#/builders/1610/builds/653) and take a look at the build logs.
  4. Check if the failure is related to this commit (1b39b50) or if it is a false positive.
  5. If the failure is related to this commit, please, reflect that on the issue and make a new Pull Request with a fix.

You can take a look at the buildbot page here:

https://buildbot.python.org/#/builders/1610/builds/653

Failed tests:

  • test_free_threading

Summary of the results of the build (if available):

==

Click to see traceback logs
remote: Enumerating objects: 5, done.        
remote: Counting objects:  25% (1/4)        
remote: Counting objects:  50% (2/4)        
remote: Counting objects:  75% (3/4)        
remote: Counting objects: 100% (4/4)        
remote: Counting objects: 100% (4/4), done.        
remote: Compressing objects:  50% (1/2)        
remote: Compressing objects: 100% (2/2)        
remote: Compressing objects: 100% (2/2), done.        
remote: Total 5 (delta 2), reused 2 (delta 2), pack-reused 1 (from 1)        
From https://github.com/python/cpython
 * branch                    main       -> FETCH_HEAD
Note: switching to '1b39b502d33c68f52fd775c4e6c2174baddd40bd'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by switching back to a branch.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -c with the switch command. Example:

  git switch -c <new-branch-name>

Or undo this operation with:

  git switch -

Turn off this advice by setting config variable advice.detachedHead to false

HEAD is now at 1b39b502d33 gh-128409: Document that pdb.post_mortem() accepts exceptions (#128410)
Switched to and reset branch 'main'

configure: WARNING: no system libmpdecimal found; falling back to bundled libmpdecimal (deprecated and scheduled for removal in Python 3.15)

make: *** [Makefile:2322: buildbottest] Error 2

@adamchainz adamchainz deleted the fix-issue-128409 branch January 11, 2025 00:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Documentation in the Doc dir needs backport to 3.13 bugs and security fixes skip news
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

Document pdb.post_mortem() accepts exceptions on Python 3.13+
5 participants