| route-pattern | /:user_id/:repository/pull/*id(.:format) |
| route-controller | pull_requests |
| route-action | show |
| fetch-nonce | v2:4862359e-0731-968d-fc89-8342ed25331f |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | A802:1F29:46D64A3:62922AE:6A50EEB0 |
| html-safe-nonce | b8a263e275a0713a759ecd22a602b26fd061ea2470a0f30114f4ee1a7fe8fcd3 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBODAyOjFGMjk6NDZENjRBMzo2MjkyMkFFOjZBNTBFRUIwIiwidmlzaXRvcl9pZCI6Ijc0MzkzMjc4MTAyNjE0MTM1NTIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 6766726c73c2e2018cff94aaf7f830f4e03c54d549425c7e84971d55c595ae01 |
| hovercard-subject-tag | pull_request:157093402 |
| 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 | ///pull_requests/show |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/python/cpython/pull/4752 |
| twitter:image | https://opengraph.githubassets.com/abdfcce076806a143a1875bc36ebe30d3de62827c4b679fd4f0d683a0610919a/python/cpython/pull/4752 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/abdfcce076806a143a1875bc36ebe30d3de62827c4b679fd4f0d683a0610919a/python/cpython/pull/4752 |
| og:image:alt | This change allows pdb to run modules and not only script.
This is quite useful when working on "runnable" modules as there is no other way to run them at the moment.
Example running unit... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | mariocj89 |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5266e58c17a510c403505cc811606465e90a881d2007ee7df1c4800d5c659838 |
| turbo-cache-control | no-cache |
| 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 |
| disable-turbo | false |
| 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 |
| Skip to content | https://github.com/python/cpython/pull/4752#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F4752 |
| GitHub CopilotWrite better code with AI | https://github.com/features/copilot |
| GitHub Copilot appDirect agents from issue to merge | https://github.com/features/ai/github-app |
| MCP RegistryNewIntegrate external tools | https://github.com/mcp |
| ActionsAutomate any workflow | https://github.com/features/actions |
| CodespacesInstant dev environments | https://github.com/features/codespaces |
| IssuesPlan and track work | https://github.com/features/issues |
| Code ReviewManage code changes | https://github.com/features/code-review |
| GitHub Advanced SecurityFind and fix vulnerabilities | https://github.com/security/advanced-security |
| Code securitySecure your code as you build | https://github.com/security/advanced-security/code-security |
| Secret protectionStop leaks before they start | https://github.com/security/advanced-security/secret-protection |
| Why GitHub | https://github.com/why-github |
| Documentation | https://docs.github.com |
| Blog | https://github.blog |
| Changelog | https://github.blog/changelog |
| Marketplace | https://github.com/marketplace |
| View all features | https://github.com/features |
| Enterprises | https://github.com/enterprise |
| Small and medium teams | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| App Modernization | https://github.com/solutions/use-case/app-modernization |
| DevSecOps | https://github.com/solutions/use-case/devsecops |
| DevOps | https://github.com/solutions/use-case/devops |
| CI/CD | https://github.com/solutions/use-case/ci-cd |
| View all use cases | https://github.com/solutions/use-case |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| View all industries | https://github.com/solutions/industry |
| View all solutions | https://github.com/solutions |
| AI | https://github.com/resources/articles?topic=ai |
| Software Development | https://github.com/resources/articles?topic=software-development |
| DevOps | https://github.com/resources/articles?topic=devops |
| Security | https://github.com/resources/articles?topic=security |
| View all topics | https://github.com/resources/articles |
| Customer stories | https://github.com/customer-stories |
| Events & webinars | https://github.com/resources/events |
| Ebooks & reports | https://github.com/resources/whitepapers |
| Business insights | https://github.com/solutions/executive-insights |
| GitHub Skills | https://skills.github.com |
| Documentation | https://docs.github.com |
| Customer support | https://support.github.com |
| Community forum | https://github.com/orgs/community/discussions |
| Trust center | https://github.com/trust-center |
| Partners | https://github.com/partners |
| View all resources | https://github.com/resources |
| GitHub SponsorsFund open source developers | https://github.com/open-source/sponsors |
| Security Lab | https://securitylab.github.com |
| Maintainer Community | https://maintainers.github.com |
| Accelerator | https://github.com/open-source/accelerator |
| GitHub Stars | https://stars.github.com |
| Archive Program | https://archiveprogram.github.com |
| Topics | https://github.com/topics |
| Trending | https://github.com/trending |
| Collections | https://github.com/collections |
| Enterprise platformAI-powered developer platform | https://github.com/enterprise |
| GitHub Advanced SecurityEnterprise-grade security features | https://github.com/security/advanced-security |
| Copilot for BusinessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/enterprise/premium-support |
| Pricing | https://github.com/pricing |
| Search syntax tips | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
| documentation | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F4752 |
|
Sign up
| https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow&source=header-repo&source_repo=python%2Fcpython |
| Reload | https://github.com/python/cpython/pull/4752 |
| Reload | https://github.com/python/cpython/pull/4752 |
| Reload | https://github.com/python/cpython/pull/4752 |
| Please reload this page | https://github.com/python/cpython/pull/4752 |
|
python
| https://github.com/python |
| cpython | https://github.com/python/cpython |
| Please reload this page | https://github.com/python/cpython/pull/4752 |
|
Notifications
| https://github.com/login?return_to=%2Fpython%2Fcpython |
|
Fork
35k
| https://github.com/login?return_to=%2Fpython%2Fcpython |
|
Star
73.8k
| https://github.com/login?return_to=%2Fpython%2Fcpython |
|
Code
| https://github.com/python/cpython |
|
Issues
5k+
| https://github.com/python/cpython/issues |
|
Pull requests
2.3k
| https://github.com/python/cpython/pulls |
|
Actions
| https://github.com/python/cpython/actions |
|
Projects
| https://github.com/python/cpython/projects |
|
Security and quality
0
| https://github.com/python/cpython/security |
|
Insights
| https://github.com/python/cpython/pulse |
|
Code
| https://github.com/python/cpython |
|
Issues
| https://github.com/python/cpython/issues |
|
Pull requests
| https://github.com/python/cpython/pulls |
|
Actions
| https://github.com/python/cpython/actions |
|
Projects
| https://github.com/python/cpython/projects |
|
Security and quality
| https://github.com/python/cpython/security |
|
Insights
| https://github.com/python/cpython/pulse |
| ncoghlan | https://github.com/ncoghlan |
| python:master | https://github.com/python/cpython/tree/master |
| mariocj89:pdb_run_module | https://github.com/mariocj89/cpython/tree/pdb_run_module |
| Conversation | https://github.com/python/cpython/pull/4752 |
| Commits12 (12) | https://github.com/python/cpython/pull/4752/commits |
| Checks | https://github.com/python/cpython/pull/4752/checks |
| Files changed | https://github.com/python/cpython/pull/4752/files |
| bpo-32206: Pdb can now run modules | https://github.com/python/cpython/pull/4752#top |
| ncoghlan | https://github.com/ncoghlan |
| python:master | https://github.com/python/cpython/tree/master |
| mariocj89:pdb_run_module | https://github.com/mariocj89/cpython/tree/pdb_run_module |
|
| https://github.com/mariocj89 |
| mariocj89 | https://github.com/mariocj89 |
| Dec 7, 2017 | https://github.com/python/cpython/pull/4752#issue-280266622 |
| Please reload this page | https://github.com/python/cpython/pull/4752 |
| mariocj89@e00c7b2 | https://github.com/mariocj89/cpython/commit/e00c7b2002a6e52219a9f830c2c797a4686afa79 |
| https://bugs.python.org/issue32206 | https://bugs.python.org/issue32206 |
| Please reload this page | https://github.com/python/cpython/pull/4752 |
| mariocj89 | https://github.com/mariocj89 |
| December 3, 2017 13:31 | https://github.com/python/cpython/pull/4752#commits-pushed-f47d1b7 |
|
| https://github.com/mariocj89 |
| WIP: Run modules as script with pdb | https://github.com/python/cpython/pull/4752/commits/f47d1b779333657d7d87b21db841d5d3ad6cfa5c |
| f47d1b7 | https://github.com/python/cpython/pull/4752/commits/f47d1b779333657d7d87b21db841d5d3ad6cfa5c |
|
| https://github.com/mariocj89 |
| Fix pdb starting in runpy | https://github.com/python/cpython/pull/4752/commits/db73bf77214150584f10b1a44d3db20e102d37a7 |
| db73bf7 | https://github.com/python/cpython/pull/4752/commits/db73bf77214150584f10b1a44d3db20e102d37a7 |
|
| https://github.com/mariocj89 |
| fix infinite loop | https://github.com/python/cpython/pull/4752/commits/1d59520313f19495eacbdea10deeb308ad903860 |
| 1d59520 | https://github.com/python/cpython/pull/4752/commits/1d59520313f19495eacbdea10deeb308ad903860 |
|
| https://github.com/mariocj89 |
| Add news entry | https://github.com/python/cpython/pull/4752/commits/57c4ea19aa31dc4cbecc1d559875d9cbfa52b410 |
| 57c4ea1 | https://github.com/python/cpython/pull/4752/commits/57c4ea19aa31dc4cbecc1d559875d9cbfa52b410 |
|
| https://github.com/mariocj89 |
| Fix running modules out of path | https://github.com/python/cpython/pull/4752/commits/e8788cdbe4960f47f581d89af5ea61c32fcd3f8c |
| e8788cd | https://github.com/python/cpython/pull/4752/commits/e8788cdbe4960f47f581d89af5ea61c32fcd3f8c |
|
| https://github.com/mariocj89 |
| Add further tests | https://github.com/python/cpython/pull/4752/commits/a0226bd625e746ef07984f9a8557d5baebe213e9 |
| a0226bd | https://github.com/python/cpython/pull/4752/commits/a0226bd625e746ef07984f9a8557d5baebe213e9 |
| https://github.com/the-knights-who-say-ni |
| the-knights-who-say-ni | https://github.com/the-knights-who-say-ni |
|
CLA signed
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22CLA%20signed%22 |
| Dec 7, 2017 | https://github.com/python/cpython/pull/4752#event-1377678636 |
| https://github.com/bedevere-bot |
| bedevere-bot | https://github.com/bedevere-bot |
|
awaiting review
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20review%22 |
| Dec 7, 2017 | https://github.com/python/cpython/pull/4752#event-1377678659 |
| mariocj89 | https://github.com/mariocj89 |
| December 13, 2017 09:35 | https://github.com/python/cpython/pull/4752#commits-pushed-2d38a6e |
|
| https://github.com/mariocj89 |
| Remove duplicated test | https://github.com/python/cpython/pull/4752/commits/2d38a6e3ca28ee348533ee2fd4c1a044d66374bf |
| 2d38a6e | https://github.com/python/cpython/pull/4752/commits/2d38a6e3ca28ee348533ee2fd4c1a044d66374bf |
|
| https://github.com/mariocj89 |
| Make test pass on windows | https://github.com/python/cpython/pull/4752/commits/15ff83931e33827b5676ca9c3f0be62fe664aeac |
| 15ff839 | https://github.com/python/cpython/pull/4752/commits/15ff83931e33827b5676ca9c3f0be62fe664aeac |
|
| https://github.com/mariocj89 |
| Add entry in Docs/Library/pdb | https://github.com/python/cpython/pull/4752/commits/7a1494a32bf73867f0ed0ab38433ab63943b65f7 |
| 7a1494a | https://github.com/python/cpython/pull/4752/commits/7a1494a32bf73867f0ed0ab38433ab63943b65f7 |
| https://github.com/mariocj89 |
| mariocj89 | https://github.com/mariocj89 |
| force-pushed | https://github.com/python/cpython/compare/5acd330b710ec8709a027edf5ef8f5feb1e0c536..7a1494a32bf73867f0ed0ab38433ab63943b65f7 |
| 5acd330 | https://github.com/python/cpython/commit/5acd330b710ec8709a027edf5ef8f5feb1e0c536 |
| 7a1494a | https://github.com/python/cpython/commit/7a1494a32bf73867f0ed0ab38433ab63943b65f7 |
|
Compare
| https://github.com/python/cpython/compare/5acd330b710ec8709a027edf5ef8f5feb1e0c536..7a1494a32bf73867f0ed0ab38433ab63943b65f7 |
| December 13, 2017 22:59 | https://github.com/python/cpython/pull/4752#event-1386672030 |
| https://github.com/ncoghlan |
| ncoghlan | https://github.com/ncoghlan |
|
Jan 5, 2018
| https://github.com/python/cpython/pull/4752#pullrequestreview-86834700 |
|
View reviewed changes
| https://github.com/python/cpython/pull/4752/files/7a1494a32bf73867f0ed0ab38433ab63943b65f7 |
| ncoghlan | https://github.com/ncoghlan |
| https://github.com/python/cpython/pull/4752#pullrequestreview-86834700 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/cpython/pull/4752 |
| Doc/library/pdb.rst | https://github.com/python/cpython/pull/4752/files/7a1494a32bf73867f0ed0ab38433ab63943b65f7#diff-03cb75fe4cee43d472cdf7d000745d71b0d137dddde696c7053d4c178cf2c0f1 |
| ncoghlan | https://github.com/ncoghlan |
| Jan 5, 2018 | https://github.com/python/cpython/pull/4752#discussion_r159820268 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/cpython/pull/4752 |
| Doc/library/pdb.rst | https://github.com/python/cpython/pull/4752/files/7a1494a32bf73867f0ed0ab38433ab63943b65f7#diff-03cb75fe4cee43d472cdf7d000745d71b0d137dddde696c7053d4c178cf2c0f1 |
| ncoghlan | https://github.com/ncoghlan |
| Jan 5, 2018 | https://github.com/python/cpython/pull/4752#discussion_r159820365 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/cpython/pull/4752 |
| Lib/pdb.py | https://github.com/python/cpython/pull/4752/files/7a1494a32bf73867f0ed0ab38433ab63943b65f7#diff-98d47941a1bfadcfdfe02973122c83be2940ca6f3b1c32ca8898e7f594d2669d |
| ncoghlan | https://github.com/ncoghlan |
| Jan 5, 2018 | https://github.com/python/cpython/pull/4752#discussion_r159820556 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/cpython/pull/4752 |
| Lib/test/test_pdb.py | https://github.com/python/cpython/pull/4752/files/7a1494a32bf73867f0ed0ab38433ab63943b65f7#diff-62d496a5c437924e8e749b16d45e0b928917c424ba7deb45112f5a7a9450c6f5 |
| ncoghlan | https://github.com/ncoghlan |
| Jan 5, 2018 | https://github.com/python/cpython/pull/4752#discussion_r159821326 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/cpython/pull/4752 |
| mariocj89 | https://github.com/mariocj89 |
| Jan 5, 2018 | https://github.com/python/cpython/pull/4752#discussion_r159996479 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| this | https://github.com/python/cpython/blob/6f0eb93183519024cb360162bdd81b9faec97ba6/Lib/test/test_iterlen.py#L84 |
| Please reload this page | https://github.com/python/cpython/pull/4752 |
| https://github.com/bedevere-bot |
| bedevere-bot | https://github.com/bedevere-bot |
| Jan 5, 2018 | https://github.com/python/cpython/pull/4752#issuecomment-355491855 |
| Please reload this page | https://github.com/python/cpython/pull/4752 |
| https://github.com/bedevere-bot |
| bedevere-bot | https://github.com/bedevere-bot |
|
awaiting changes
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20changes%22 |
|
awaiting review
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20review%22 |
| Jan 5, 2018 | https://github.com/python/cpython/pull/4752#event-1410843289 |
| mariocj89 | https://github.com/mariocj89 |
| January 5, 2018 19:15 | https://github.com/python/cpython/pull/4752#commits-pushed-8134c27 |
|
| https://github.com/mariocj89 |
| Add entry in standard library docs section | https://github.com/python/cpython/pull/4752/commits/8134c27f97ba05739b55a6a3c51921ac043bff22 |
| 8134c27 | https://github.com/python/cpython/pull/4752/commits/8134c27f97ba05739b55a6a3c51921ac043bff22 |
|
| https://github.com/mariocj89 |
| Rewording from Nick's review | https://github.com/python/cpython/pull/4752/commits/6c4eed5d446a4d4dcda119cea89d8a191b80c056 |
| 6c4eed5 | https://github.com/python/cpython/pull/4752/commits/6c4eed5d446a4d4dcda119cea89d8a191b80c056 |
|
| https://github.com/mariocj89 |
| Restructure pdb tests | https://github.com/python/cpython/pull/4752/commits/d77dc8768f5aa7ea7b00772d57a5ba2193c2a499 |
| d77dc87 | https://github.com/python/cpython/pull/4752/commits/d77dc8768f5aa7ea7b00772d57a5ba2193c2a499 |
| https://github.com/mariocj89 |
| mariocj89 | https://github.com/mariocj89 |
| Jan 5, 2018 | https://github.com/python/cpython/pull/4752#issuecomment-355685488 |
| Please reload this page | https://github.com/python/cpython/pull/4752 |
| https://github.com/bedevere-bot |
| bedevere-bot | https://github.com/bedevere-bot |
| Jan 5, 2018 | https://github.com/python/cpython/pull/4752#issuecomment-355685493 |
| @ncoghlan | https://github.com/ncoghlan |
| Please reload this page | https://github.com/python/cpython/pull/4752 |
| https://github.com/bedevere-bot |
| bedevere-bot | https://github.com/bedevere-bot |
|
awaiting change review
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20change%20review%22 |
|
awaiting changes
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20changes%22 |
| Jan 5, 2018 | https://github.com/python/cpython/pull/4752#event-1412105578 |
| https://github.com/mariocj89 |
| mariocj89 | https://github.com/mariocj89 |
| Jan 5, 2018 | https://github.com/python/cpython/pull/4752#issuecomment-355685640 |
| Please reload this page | https://github.com/python/cpython/pull/4752 |
| https://github.com/ncoghlan |
| ncoghlan | https://github.com/ncoghlan |
| 9f1e5f1 | https://github.com/python/cpython/commit/9f1e5f1b7f074e026843a5d70834233a95a6bf9d |
| Jan 6, 2018 | https://github.com/python/cpython/pull/4752#event-1412328964 |
| https://github.com/bedevere-bot |
| bedevere-bot | https://github.com/bedevere-bot |
|
awaiting change review
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20change%20review%22 |
| Jan 6, 2018 | https://github.com/python/cpython/pull/4752#event-1412328970 |
| https://github.com/ncoghlan |
| ncoghlan | https://github.com/ncoghlan |
| Jan 6, 2018 | https://github.com/python/cpython/pull/4752#issuecomment-355730720 |
| Please reload this page | https://github.com/python/cpython/pull/4752 |
| https://github.com/mariocj89 |
| mariocj89 | https://github.com/mariocj89 |
| January 6, 2018 09:01 | https://github.com/python/cpython/pull/4752#event-1412342683 |
| https://github.com/mariocj89 |
| mariocj89 | https://github.com/mariocj89 |
|
Jan 6, 2018
| https://github.com/python/cpython/pull/4752#ref-pullrequest-286475646 |
|
bpo-32206: Update pdb usage to include new module option
#5111
| https://github.com/python/cpython/pull/5111 |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/{{ revealButtonHref }} |
| Sign up for free | https://github.com/join?source=comment-repo |
| Sign in to comment | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F4752 |
|
| https://github.com/ncoghlan |
|
ncoghlan
| https://github.com/ncoghlan |
|
| https://github.com/python/cpython/pull/4752/files/7a1494a32bf73867f0ed0ab38433ab63943b65f7 |
| Please reload this page | https://github.com/python/cpython/pull/4752 |
|
| https://github.com/mariocj89 |
|
| https://github.com/bedevere-bot |
|
| https://github.com/ncoghlan |
|
| https://github.com/the-knights-who-say-ni |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |