| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:c938d1a0-e0cb-460d-3179-472ba9b460c4 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 93AA:FAECF:391D3:4BD49:6A524E6A |
| html-safe-nonce | cf65b06a4d180a3a1a2d5c89e74aba87efd3d5f074665e7a0adb205abaa684e3 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5M0FBOkZBRUNGOjM5MUQzOjRCRDQ5OjZBNTI0RTZBIiwidmlzaXRvcl9pZCI6IjIzNTkzNTUzNDc0NDIyNzQzNCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 2532e8c8456efeeef052c645991602de21a795230f1e35ff4146c6723e986b79 |
| 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/files |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/python/cpython/pull/4752/files |
| twitter:image | https://avatars.githubusercontent.com/u/3709683?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/3709683?s=400&v=4 |
| 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:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | b9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb |
| 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 | 7aed05249554b889eb33d002851a973eebcc7e91 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/python/cpython/pull/4752/files#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F4752%2Ffiles |
| 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%2Ffiles |
|
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%2Ffiles&source=header-repo&source_repo=python%2Fcpython |
| Reload | https://github.com/python/cpython/pull/4752/files |
| Reload | https://github.com/python/cpython/pull/4752/files |
| Reload | https://github.com/python/cpython/pull/4752/files |
| Please reload this page | https://github.com/python/cpython/pull/4752/files |
|
python
| https://github.com/python |
| cpython | https://github.com/python/cpython |
| Please reload this page | https://github.com/python/cpython/pull/4752/files |
|
Notifications
| https://github.com/login?return_to=%2Fpython%2Fcpython |
|
Fork
35k
| https://github.com/login?return_to=%2Fpython%2Fcpython |
|
Star
73.7k
| 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 |
| Sign up for GitHub
| https://github.com/signup?return_to=%2Fpython%2Fcpython%2Fissues%2Fnew%2Fchoose |
| terms of service | https://docs.github.com/terms |
| privacy statement | https://docs.github.com/privacy |
| Sign in | https://github.com/login?return_to=%2Fpython%2Fcpython%2Fissues%2Fnew%2Fchoose |
| 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
11
| https://github.com/python/cpython/pull/4752 |
|
Commits
12
| https://github.com/python/cpython/pull/4752/commits |
|
Checks
0
| https://github.com/python/cpython/pull/4752/checks |
|
Files changed
| https://github.com/python/cpython/pull/4752/files |
| Please reload this page | https://github.com/python/cpython/pull/4752/files |
|
bpo-32206: Pdb can now run modules
| https://github.com/python/cpython/pull/4752/files#top |
|
Show all changes
12 commits
| https://github.com/python/cpython/pull/4752/files |
|
f47d1b7
WIP: Run modules as script with pdb
mariocj89 Dec 3, 2017
| https://github.com/python/cpython/pull/4752/commits/f47d1b779333657d7d87b21db841d5d3ad6cfa5c |
|
db73bf7
Fix pdb starting in runpy
mariocj89 Dec 6, 2017
| https://github.com/python/cpython/pull/4752/commits/db73bf77214150584f10b1a44d3db20e102d37a7 |
|
1d59520
fix infinite loop
mariocj89 Dec 7, 2017
| https://github.com/python/cpython/pull/4752/commits/1d59520313f19495eacbdea10deeb308ad903860 |
|
57c4ea1
Add news entry
mariocj89 Dec 7, 2017
| https://github.com/python/cpython/pull/4752/commits/57c4ea19aa31dc4cbecc1d559875d9cbfa52b410 |
|
e8788cd
Fix running modules out of path
mariocj89 Dec 7, 2017
| https://github.com/python/cpython/pull/4752/commits/e8788cdbe4960f47f581d89af5ea61c32fcd3f8c |
|
a0226bd
Add further tests
mariocj89 Dec 7, 2017
| https://github.com/python/cpython/pull/4752/commits/a0226bd625e746ef07984f9a8557d5baebe213e9 |
|
2d38a6e
Remove duplicated test
mariocj89 Dec 13, 2017
| https://github.com/python/cpython/pull/4752/commits/2d38a6e3ca28ee348533ee2fd4c1a044d66374bf |
|
15ff839
Make test pass on windows
mariocj89 Dec 13, 2017
| https://github.com/python/cpython/pull/4752/commits/15ff83931e33827b5676ca9c3f0be62fe664aeac |
|
7a1494a
Add entry in Docs/Library/pdb
mariocj89 Dec 13, 2017
| https://github.com/python/cpython/pull/4752/commits/7a1494a32bf73867f0ed0ab38433ab63943b65f7 |
|
8134c27
Add entry in standard library docs section
mariocj89 Jan 5, 2018
| https://github.com/python/cpython/pull/4752/commits/8134c27f97ba05739b55a6a3c51921ac043bff22 |
|
6c4eed5
Rewording from Nick's review
mariocj89 Jan 5, 2018
| https://github.com/python/cpython/pull/4752/commits/6c4eed5d446a4d4dcda119cea89d8a191b80c056 |
|
d77dc87
Restructure pdb tests
mariocj89 Jan 5, 2018
| https://github.com/python/cpython/pull/4752/commits/d77dc8768f5aa7ea7b00772d57a5ba2193c2a499 |
|
Clear filters
| https://github.com/python/cpython/pull/4752/files |
| Please reload this page | https://github.com/python/cpython/pull/4752/files |
| Please reload this page | https://github.com/python/cpython/pull/4752/files |
|
pdb.rst
| https://github.com/python/cpython/pull/4752/files#diff-03cb75fe4cee43d472cdf7d000745d71b0d137dddde696c7053d4c178cf2c0f1 |
|
3.7.rst
| https://github.com/python/cpython/pull/4752/files#diff-830b405713d1c40982ffa918864e39c40c1b318d79b8dd2b523646dc3bd18b52 |
|
pdb.py
| https://github.com/python/cpython/pull/4752/files#diff-98d47941a1bfadcfdfe02973122c83be2940ca6f3b1c32ca8898e7f594d2669d |
|
test_pdb.py
| https://github.com/python/cpython/pull/4752/files#diff-62d496a5c437924e8e749b16d45e0b928917c424ba7deb45112f5a7a9450c6f5 |
|
2017-12-07-13-14-40.bpo-32206.obm4OM.rst
| https://github.com/python/cpython/pull/4752/files#diff-43c011a84d05c8f75c977d181496ef47724292485a2a2c30655e134b388420fb |
| Doc/library/pdb.rst | https://github.com/python/cpython/pull/4752/files#diff-03cb75fe4cee43d472cdf7d000745d71b0d137dddde696c7053d4c178cf2c0f1 |
|
View file
| https://github.com/mariocj89/cpython/blob/d77dc8768f5aa7ea7b00772d57a5ba2193c2a499/Doc/library/pdb.rst |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/4752/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/4752/files#diff-03cb75fe4cee43d472cdf7d000745d71b0d137dddde696c7053d4c178cf2c0f1 |
|
| https://github.com/python/cpython/pull/4752/files#diff-03cb75fe4cee43d472cdf7d000745d71b0d137dddde696c7053d4c178cf2c0f1 |
| Doc/whatsnew/3.7.rst | https://github.com/python/cpython/pull/4752/files#diff-830b405713d1c40982ffa918864e39c40c1b318d79b8dd2b523646dc3bd18b52 |
|
View file
| https://github.com/mariocj89/cpython/blob/d77dc8768f5aa7ea7b00772d57a5ba2193c2a499/Doc/whatsnew/3.7.rst |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/4752/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/4752/files#diff-830b405713d1c40982ffa918864e39c40c1b318d79b8dd2b523646dc3bd18b52 |
|
| https://github.com/python/cpython/pull/4752/files#diff-830b405713d1c40982ffa918864e39c40c1b318d79b8dd2b523646dc3bd18b52 |
| Lib/pdb.py | https://github.com/python/cpython/pull/4752/files#diff-98d47941a1bfadcfdfe02973122c83be2940ca6f3b1c32ca8898e7f594d2669d |
|
View file
| https://github.com/mariocj89/cpython/blob/d77dc8768f5aa7ea7b00772d57a5ba2193c2a499/Lib/pdb.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/4752/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/4752/files#diff-98d47941a1bfadcfdfe02973122c83be2940ca6f3b1c32ca8898e7f594d2669d |
|
| https://github.com/python/cpython/pull/4752/files#diff-98d47941a1bfadcfdfe02973122c83be2940ca6f3b1c32ca8898e7f594d2669d |
|
| https://github.com/python/cpython/pull/4752/files#diff-98d47941a1bfadcfdfe02973122c83be2940ca6f3b1c32ca8898e7f594d2669d |
|
| https://github.com/python/cpython/pull/4752/files#diff-98d47941a1bfadcfdfe02973122c83be2940ca6f3b1c32ca8898e7f594d2669d |
|
| https://github.com/python/cpython/pull/4752/files#diff-98d47941a1bfadcfdfe02973122c83be2940ca6f3b1c32ca8898e7f594d2669d |
| Lib/test/test_pdb.py | https://github.com/python/cpython/pull/4752/files#diff-62d496a5c437924e8e749b16d45e0b928917c424ba7deb45112f5a7a9450c6f5 |
|
View file
| https://github.com/mariocj89/cpython/blob/d77dc8768f5aa7ea7b00772d57a5ba2193c2a499/Lib/test/test_pdb.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/4752/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/4752/files#diff-62d496a5c437924e8e749b16d45e0b928917c424ba7deb45112f5a7a9450c6f5 |
|
| https://github.com/python/cpython/pull/4752/files#diff-62d496a5c437924e8e749b16d45e0b928917c424ba7deb45112f5a7a9450c6f5 |
|
| https://github.com/python/cpython/pull/4752/files#diff-62d496a5c437924e8e749b16d45e0b928917c424ba7deb45112f5a7a9450c6f5 |
|
| https://github.com/python/cpython/pull/4752/files#diff-62d496a5c437924e8e749b16d45e0b928917c424ba7deb45112f5a7a9450c6f5 |
|
| https://github.com/python/cpython/pull/4752/files#diff-62d496a5c437924e8e749b16d45e0b928917c424ba7deb45112f5a7a9450c6f5 |
|
| https://github.com/python/cpython/pull/4752/files#diff-62d496a5c437924e8e749b16d45e0b928917c424ba7deb45112f5a7a9450c6f5 |
|
| https://github.com/python/cpython/pull/4752/files#diff-62d496a5c437924e8e749b16d45e0b928917c424ba7deb45112f5a7a9450c6f5 |
|
| https://github.com/python/cpython/pull/4752/files#diff-62d496a5c437924e8e749b16d45e0b928917c424ba7deb45112f5a7a9450c6f5 |
| Misc/NEWS.d/next/Library/2017-12-07-13-14-40.bpo-32206.obm4OM.rst | https://github.com/python/cpython/pull/4752/files#diff-43c011a84d05c8f75c977d181496ef47724292485a2a2c30655e134b388420fb |
|
View file
| https://github.com/mariocj89/cpython/blob/d77dc8768f5aa7ea7b00772d57a5ba2193c2a499/Misc/NEWS.d/next/Library/2017-12-07-13-14-40.bpo-32206.obm4OM.rst |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/4752/{{ revealButtonHref }} |
|
| 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 |