René's URL Explorer Experiment


Title: bpo-32206: Pdb can now run modules by mariocj89 · Pull Request #4752 · python/cpython · GitHub

Open Graph Title: bpo-32206: Pdb can now run modules by mariocj89 · Pull Request #4752 · python/cpython

X Title: bpo-32206: Pdb can now run modules by mariocj89 · Pull Request #4752 · python/cpython

Description: The Python programming language. Contribute to python/cpython development by creating an account on GitHub.

Open Graph Description: 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...

X Description: 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 runn...

Opengraph URL: https://github.com/python/cpython/pull/4752

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/*id(.:format)
route-controllerpull_requests
route-actionshow
fetch-noncev2:4862359e-0731-968d-fc89-8342ed25331f
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idA802:1F29:46D64A3:62922AE:6A50EEB0
html-safe-nonceb8a263e275a0713a759ecd22a602b26fd061ea2470a0f30114f4ee1a7fe8fcd3
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBODAyOjFGMjk6NDZENjRBMzo2MjkyMkFFOjZBNTBFRUIwIiwidmlzaXRvcl9pZCI6Ijc0MzkzMjc4MTAyNjE0MTM1NTIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac6766726c73c2e2018cff94aaf7f830f4e03c54d549425c7e84971d55c595ae01
hovercard-subject-tagpull_request:157093402
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/python/cpython/pull/4752
twitter:imagehttps://opengraph.githubassets.com/abdfcce076806a143a1875bc36ebe30d3de62827c4b679fd4f0d683a0610919a/python/cpython/pull/4752
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/abdfcce076806a143a1875bc36ebe30d3de62827c4b679fd4f0d683a0610919a/python/cpython/pull/4752
og:image:altThis 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:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamemariocj89
hostnamegithub.com
expected-hostnamegithub.com
None5266e58c17a510c403505cc811606465e90a881d2007ee7df1c4800d5c659838
turbo-cache-controlno-cache
go-importgithub.com/python/cpython git https://github.com/python/cpython.git
octolytics-dimension-user_id1525981
octolytics-dimension-user_loginpython
octolytics-dimension-repository_id81598961
octolytics-dimension-repository_nwopython/cpython
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id81598961
octolytics-dimension-repository_network_root_nwopython/cpython
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release5ec60191a48933536a90c8a19f47142fcd0d4739
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://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 AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://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
Reloadhttps://github.com/python/cpython/pull/4752
Reloadhttps://github.com/python/cpython/pull/4752
Reloadhttps://github.com/python/cpython/pull/4752
Please reload this pagehttps://github.com/python/cpython/pull/4752
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://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
ncoghlanhttps://github.com/ncoghlan
python:masterhttps://github.com/python/cpython/tree/master
mariocj89:pdb_run_modulehttps://github.com/mariocj89/cpython/tree/pdb_run_module
Conversationhttps://github.com/python/cpython/pull/4752
Commits12 (12)https://github.com/python/cpython/pull/4752/commits
Checkshttps://github.com/python/cpython/pull/4752/checks
Files changedhttps://github.com/python/cpython/pull/4752/files
bpo-32206: Pdb can now run moduleshttps://github.com/python/cpython/pull/4752#top
ncoghlanhttps://github.com/ncoghlan
python:masterhttps://github.com/python/cpython/tree/master
mariocj89:pdb_run_modulehttps://github.com/mariocj89/cpython/tree/pdb_run_module
https://github.com/mariocj89
mariocj89https://github.com/mariocj89
Dec 7, 2017https://github.com/python/cpython/pull/4752#issue-280266622
Please reload this pagehttps://github.com/python/cpython/pull/4752
mariocj89@e00c7b2https://github.com/mariocj89/cpython/commit/e00c7b2002a6e52219a9f830c2c797a4686afa79
https://bugs.python.org/issue32206https://bugs.python.org/issue32206
Please reload this pagehttps://github.com/python/cpython/pull/4752
mariocj89https://github.com/mariocj89
December 3, 2017 13:31https://github.com/python/cpython/pull/4752#commits-pushed-f47d1b7
https://github.com/mariocj89
WIP: Run modules as script with pdbhttps://github.com/python/cpython/pull/4752/commits/f47d1b779333657d7d87b21db841d5d3ad6cfa5c
f47d1b7https://github.com/python/cpython/pull/4752/commits/f47d1b779333657d7d87b21db841d5d3ad6cfa5c
https://github.com/mariocj89
Fix pdb starting in runpyhttps://github.com/python/cpython/pull/4752/commits/db73bf77214150584f10b1a44d3db20e102d37a7
db73bf7https://github.com/python/cpython/pull/4752/commits/db73bf77214150584f10b1a44d3db20e102d37a7
https://github.com/mariocj89
fix infinite loophttps://github.com/python/cpython/pull/4752/commits/1d59520313f19495eacbdea10deeb308ad903860
1d59520https://github.com/python/cpython/pull/4752/commits/1d59520313f19495eacbdea10deeb308ad903860
https://github.com/mariocj89
Add news entryhttps://github.com/python/cpython/pull/4752/commits/57c4ea19aa31dc4cbecc1d559875d9cbfa52b410
57c4ea1https://github.com/python/cpython/pull/4752/commits/57c4ea19aa31dc4cbecc1d559875d9cbfa52b410
https://github.com/mariocj89
Fix running modules out of pathhttps://github.com/python/cpython/pull/4752/commits/e8788cdbe4960f47f581d89af5ea61c32fcd3f8c
e8788cdhttps://github.com/python/cpython/pull/4752/commits/e8788cdbe4960f47f581d89af5ea61c32fcd3f8c
https://github.com/mariocj89
Add further testshttps://github.com/python/cpython/pull/4752/commits/a0226bd625e746ef07984f9a8557d5baebe213e9
a0226bdhttps://github.com/python/cpython/pull/4752/commits/a0226bd625e746ef07984f9a8557d5baebe213e9
https://github.com/the-knights-who-say-ni
the-knights-who-say-nihttps://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, 2017https://github.com/python/cpython/pull/4752#event-1377678636
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
awaiting review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20review%22
Dec 7, 2017https://github.com/python/cpython/pull/4752#event-1377678659
mariocj89https://github.com/mariocj89
December 13, 2017 09:35https://github.com/python/cpython/pull/4752#commits-pushed-2d38a6e
https://github.com/mariocj89
Remove duplicated testhttps://github.com/python/cpython/pull/4752/commits/2d38a6e3ca28ee348533ee2fd4c1a044d66374bf
2d38a6ehttps://github.com/python/cpython/pull/4752/commits/2d38a6e3ca28ee348533ee2fd4c1a044d66374bf
https://github.com/mariocj89
Make test pass on windowshttps://github.com/python/cpython/pull/4752/commits/15ff83931e33827b5676ca9c3f0be62fe664aeac
15ff839https://github.com/python/cpython/pull/4752/commits/15ff83931e33827b5676ca9c3f0be62fe664aeac
https://github.com/mariocj89
Add entry in Docs/Library/pdbhttps://github.com/python/cpython/pull/4752/commits/7a1494a32bf73867f0ed0ab38433ab63943b65f7
7a1494ahttps://github.com/python/cpython/pull/4752/commits/7a1494a32bf73867f0ed0ab38433ab63943b65f7
https://github.com/mariocj89
mariocj89https://github.com/mariocj89
force-pushedhttps://github.com/python/cpython/compare/5acd330b710ec8709a027edf5ef8f5feb1e0c536..7a1494a32bf73867f0ed0ab38433ab63943b65f7
5acd330https://github.com/python/cpython/commit/5acd330b710ec8709a027edf5ef8f5feb1e0c536
7a1494ahttps://github.com/python/cpython/commit/7a1494a32bf73867f0ed0ab38433ab63943b65f7
Compare https://github.com/python/cpython/compare/5acd330b710ec8709a027edf5ef8f5feb1e0c536..7a1494a32bf73867f0ed0ab38433ab63943b65f7
December 13, 2017 22:59https://github.com/python/cpython/pull/4752#event-1386672030
https://github.com/ncoghlan
ncoghlanhttps://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
ncoghlanhttps://github.com/ncoghlan
https://github.com/python/cpython/pull/4752#pullrequestreview-86834700
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/4752
Doc/library/pdb.rsthttps://github.com/python/cpython/pull/4752/files/7a1494a32bf73867f0ed0ab38433ab63943b65f7#diff-03cb75fe4cee43d472cdf7d000745d71b0d137dddde696c7053d4c178cf2c0f1
ncoghlanhttps://github.com/ncoghlan
Jan 5, 2018https://github.com/python/cpython/pull/4752#discussion_r159820268
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/4752
Doc/library/pdb.rsthttps://github.com/python/cpython/pull/4752/files/7a1494a32bf73867f0ed0ab38433ab63943b65f7#diff-03cb75fe4cee43d472cdf7d000745d71b0d137dddde696c7053d4c178cf2c0f1
ncoghlanhttps://github.com/ncoghlan
Jan 5, 2018https://github.com/python/cpython/pull/4752#discussion_r159820365
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/4752
Lib/pdb.pyhttps://github.com/python/cpython/pull/4752/files/7a1494a32bf73867f0ed0ab38433ab63943b65f7#diff-98d47941a1bfadcfdfe02973122c83be2940ca6f3b1c32ca8898e7f594d2669d
ncoghlanhttps://github.com/ncoghlan
Jan 5, 2018https://github.com/python/cpython/pull/4752#discussion_r159820556
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/4752
Lib/test/test_pdb.pyhttps://github.com/python/cpython/pull/4752/files/7a1494a32bf73867f0ed0ab38433ab63943b65f7#diff-62d496a5c437924e8e749b16d45e0b928917c424ba7deb45112f5a7a9450c6f5
ncoghlanhttps://github.com/ncoghlan
Jan 5, 2018https://github.com/python/cpython/pull/4752#discussion_r159821326
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/4752
mariocj89https://github.com/mariocj89
Jan 5, 2018https://github.com/python/cpython/pull/4752#discussion_r159996479
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
thishttps://github.com/python/cpython/blob/6f0eb93183519024cb360162bdd81b9faec97ba6/Lib/test/test_iterlen.py#L84
Please reload this pagehttps://github.com/python/cpython/pull/4752
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
Jan 5, 2018https://github.com/python/cpython/pull/4752#issuecomment-355491855
Please reload this pagehttps://github.com/python/cpython/pull/4752
https://github.com/bedevere-bot
bedevere-bothttps://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, 2018https://github.com/python/cpython/pull/4752#event-1410843289
mariocj89https://github.com/mariocj89
January 5, 2018 19:15https://github.com/python/cpython/pull/4752#commits-pushed-8134c27
https://github.com/mariocj89
Add entry in standard library docs sectionhttps://github.com/python/cpython/pull/4752/commits/8134c27f97ba05739b55a6a3c51921ac043bff22
8134c27https://github.com/python/cpython/pull/4752/commits/8134c27f97ba05739b55a6a3c51921ac043bff22
https://github.com/mariocj89
Rewording from Nick's reviewhttps://github.com/python/cpython/pull/4752/commits/6c4eed5d446a4d4dcda119cea89d8a191b80c056
6c4eed5https://github.com/python/cpython/pull/4752/commits/6c4eed5d446a4d4dcda119cea89d8a191b80c056
https://github.com/mariocj89
Restructure pdb testshttps://github.com/python/cpython/pull/4752/commits/d77dc8768f5aa7ea7b00772d57a5ba2193c2a499
d77dc87https://github.com/python/cpython/pull/4752/commits/d77dc8768f5aa7ea7b00772d57a5ba2193c2a499
https://github.com/mariocj89
mariocj89https://github.com/mariocj89
Jan 5, 2018https://github.com/python/cpython/pull/4752#issuecomment-355685488
Please reload this pagehttps://github.com/python/cpython/pull/4752
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
Jan 5, 2018https://github.com/python/cpython/pull/4752#issuecomment-355685493
@ncoghlanhttps://github.com/ncoghlan
Please reload this pagehttps://github.com/python/cpython/pull/4752
https://github.com/bedevere-bot
bedevere-bothttps://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, 2018https://github.com/python/cpython/pull/4752#event-1412105578
https://github.com/mariocj89
mariocj89https://github.com/mariocj89
Jan 5, 2018https://github.com/python/cpython/pull/4752#issuecomment-355685640
Please reload this pagehttps://github.com/python/cpython/pull/4752
https://github.com/ncoghlan
ncoghlanhttps://github.com/ncoghlan
9f1e5f1https://github.com/python/cpython/commit/9f1e5f1b7f074e026843a5d70834233a95a6bf9d
Jan 6, 2018https://github.com/python/cpython/pull/4752#event-1412328964
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
awaiting change review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20change%20review%22
Jan 6, 2018https://github.com/python/cpython/pull/4752#event-1412328970
https://github.com/ncoghlan
ncoghlanhttps://github.com/ncoghlan
Jan 6, 2018https://github.com/python/cpython/pull/4752#issuecomment-355730720
Please reload this pagehttps://github.com/python/cpython/pull/4752
https://github.com/mariocj89
mariocj89https://github.com/mariocj89
January 6, 2018 09:01https://github.com/python/cpython/pull/4752#event-1412342683
https://github.com/mariocj89
mariocj89https://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 freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://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 pagehttps://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
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.