Title: GH-101673: Fix pdb bug that local variable changes lost after longlist by gaogaotiantian · Pull Request #101674 · python/cpython · GitHub
Open Graph Title: GH-101673: Fix pdb bug that local variable changes lost after longlist by gaogaotiantian · Pull Request #101674 · python/cpython
X Title: GH-101673: Fix pdb bug that local variable changes lost after longlist by gaogaotiantian · Pull Request #101674 · python/cpython
Description: The bug is described in #101673. Using f_code.co_name to check whether it's a frame module avoids reading f_local whose side effect reverts local variable changes in pdb. Issue: gh-101673
Open Graph Description: The bug is described in #101673. Using f_code.co_name to check whether it's a frame module avoids reading f_local whose side effect reverts local variable changes in pdb. Issue: gh-101673
X Description: The bug is described in #101673. Using f_code.co_name to check whether it's a frame module avoids reading f_local whose side effect reverts local variable changes in pdb. Issue: gh-101673
Opengraph URL: https://github.com/python/cpython/pull/101674
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:9dc08ee1-ad10-6d94-6194-37df6db9c680 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | DFEE:275F42:1B4C50C:255F1A4:696AB63D |
| html-safe-nonce | e96a6d4d77570471468e19904d01803e8a5e582022e2872469fdcce41b799b6d |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJERkVFOjI3NUY0MjoxQjRDNTBDOjI1NUYxQTQ6Njk2QUI2M0QiLCJ2aXNpdG9yX2lkIjoiNDgyOTAwOTA1ODk3NjE1MTEwMSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | e1bab637c64f18ef4447b64ae0f7a7ff91d1226f5aa47ae484e8bcf964755dfa |
| hovercard-subject-tag | pull_request:1232942440 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/python/cpython/pull/101674/files |
| twitter:image | https://avatars.githubusercontent.com/u/13121107?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/13121107?s=400&v=4 |
| og:image:alt | The bug is described in #101673. Using f_code.co_name to check whether it's a frame module avoids reading f_local whose side effect reverts local variable changes in pdb. Issue: gh-101673 |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 46ce962e0e18113ea447391b6ace8b02d4d2861e57b4fbab3658698f73d8855b |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/python/cpython git https://github.com/python/cpython.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 81598961 |
| octolytics-dimension-repository_nwo | python/cpython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 81598961 |
| octolytics-dimension-repository_network_root_nwo | python/cpython |
| turbo-body-classes | logged-out env-production page-responsive full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 30300f30bb3949de255e84a146706a3bdb5c19c9 |
| ui-target | canary-1 |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width