Title: [3.7] bpo-32691: Use mod_spec.parent when running modules with pdb (GH-5474) by miss-islington · Pull Request #5510 · python/cpython · GitHub
Open Graph Title: [3.7] bpo-32691: Use mod_spec.parent when running modules with pdb (GH-5474) by miss-islington · Pull Request #5510 · python/cpython
X Title: [3.7] bpo-32691: Use mod_spec.parent when running modules with pdb (GH-5474) by miss-islington · Pull Request #5510 · python/cpython
Description: Previously the module name was used, which broke relative imports when pdb was run against a plain module or submodule. (cherry picked from commit 38bfa84) Co-authored-by: Mario Corchero mariocj89@gmail.com https://bugs.python.org/issue32691
Open Graph Description: Previously the module name was used, which broke relative imports when pdb was run against a plain module or submodule. (cherry picked from commit 38bfa84) Co-authored-by: Mario Corchero mariocj89@...
X Description: Previously the module name was used, which broke relative imports when pdb was run against a plain module or submodule. (cherry picked from commit 38bfa84) Co-authored-by: Mario Corchero mariocj89@...
Opengraph URL: https://github.com/python/cpython/pull/5510
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:e05dc6cb-9e24-6c69-0eb6-0dc34130335c |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | CF60:165D8F:4E72912:6D1CA1F:6A50F1D2 |
| html-safe-nonce | 3339aebefef4c9e3d3e42acc17f12db31d1848d4f3b4f106002cc0d21efa2ea5 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDRjYwOjE2NUQ4Rjo0RTcyOTEyOjZEMUNBMUY6NkE1MEYxRDIiLCJ2aXNpdG9yX2lkIjoiMjA1MDgxNjAxNzY5MzczMzMzMCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 365c9c78499b0fc1261fe0b3284c74608c491b856391d85ff8b29eaa403baba5 |
| hovercard-subject-tag | pull_request:166949871 |
| 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/5510/files |
| twitter:image | https://avatars.githubusercontent.com/u/31488909?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/31488909?s=400&v=4 |
| og:image:alt | Previously the module name was used, which broke relative imports when pdb was run against a plain module or submodule. (cherry picked from commit 38bfa84) Co-authored-by: Mario Corchero mariocj89@... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5266e58c17a510c403505cc811606465e90a881d2007ee7df1c4800d5c659838 |
| 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 | 5ec60191a48933536a90c8a19f47142fcd0d4739 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width