| route-pattern | /_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format) |
| route-controller | voltron_pull_requests_fragments |
| route-action | pull_request_layout |
| fetch-nonce | v2:02205d9b-267a-4e63-8e0c-3f9296f2fd55 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 943E:C8B0C:10C2F54:170E01E:696A97EA |
| html-safe-nonce | 967877184d45531e71d4ade0837f007a5682a947bd5386a1471ff6c642d18895 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5NDNFOkM4QjBDOjEwQzJGNTQ6MTcwRTAxRTo2OTZBOTdFQSIsInZpc2l0b3JfaWQiOiI0MzgzMTQ2NTE0MTQ1OTk2NTgiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | a1841cf08f137ecc4705157de685179db2c1c4be2a25bd2957de935f04412447 |
| hovercard-subject-tag | pull_request:1300731830 |
| 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 | ///voltron/pull_requests_fragments/pull_request_layout |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/python/cpython/103226/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/b29aa8f656263fdc4db50220d5045e42947abe9a7994fa976ed9143b642aa39a/python/cpython/pull/103226 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/b29aa8f656263fdc4db50220d5045e42947abe9a7994fa976ed9143b642aa39a/python/cpython/pull/103226 |
| og:image:alt | The problem is described in GH-103225.
I did not find any other usages of a line number returned by inspect.getsourcelines() except for pdb. However, I am not sure how many external usages of inspe... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | artemmukhin |
| hostname | github.com |
| expected-hostname | github.com |
| None | c0d8175e41e0e55b9e984c935b24b808cabab919dd3174aa45dac3ef503ed1af |
| turbo-cache-control | no-preview |
| 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 | 99aab454e5ddc8df30805fb76c114c3008a15842 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/python/cpython/pull/103226#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F103226 |
| GitHub CopilotWrite better code with AI | https://github.com/features/copilot |
| GitHub SparkBuild and deploy intelligent apps | https://github.com/features/spark |
| GitHub ModelsManage and compare prompts | https://github.com/features/models |
| 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 |
| GitHub SponsorsFund open source developers | https://github.com/sponsors |
| Security Lab | https://securitylab.github.com |
| Maintainer Community | https://maintainers.github.com |
| Accelerator | https://github.com/accelerator |
| 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/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%2F103226 |
|
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%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=python%2Fcpython |
| Reload | https://github.com/python/cpython/pull/103226 |
| Reload | https://github.com/python/cpython/pull/103226 |
| Reload | https://github.com/python/cpython/pull/103226 |
|
python
| https://github.com/python |
| cpython | https://github.com/python/cpython |
| Please reload this page | https://github.com/python/cpython/pull/103226 |
|
Notifications
| https://github.com/login?return_to=%2Fpython%2Fcpython |
|
Fork
33.9k
| https://github.com/login?return_to=%2Fpython%2Fcpython |
|
Star
71.1k
| 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.1k
| https://github.com/python/cpython/pulls |
|
Actions
| https://github.com/python/cpython/actions |
|
Projects
31
| https://github.com/python/cpython/projects |
|
Security
Uh oh!
There was an error while loading. Please reload this page.
| https://github.com/python/cpython/security |
| Please reload this page | https://github.com/python/cpython/pull/103226 |
|
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
| 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 |
| Jump to bottom | https://github.com/python/cpython/pull/103226#issue-comment-box |
| artemmukhin | https://github.com/artemmukhin |
| python:main | https://github.com/python/cpython/tree/main |
| artemmukhin:fix-inspect-getsourcelines-lineno | https://github.com/artemmukhin/cpython/tree/fix-inspect-getsourcelines-lineno |
|
GH-103319: Fix inspect.getsourcelines() to return 1-based line numbers
| https://github.com/python/cpython/pull/103226#top |
| artemmukhin | https://github.com/artemmukhin |
| python:main | https://github.com/python/cpython/tree/main |
| artemmukhin:fix-inspect-getsourcelines-lineno | https://github.com/artemmukhin/cpython/tree/fix-inspect-getsourcelines-lineno |
|
Conversation
9
| https://github.com/python/cpython/pull/103226 |
|
Commits
2
| https://github.com/python/cpython/pull/103226/commits |
|
Checks
0
| https://github.com/python/cpython/pull/103226/checks |
|
Files changed
| https://github.com/python/cpython/pull/103226/files |
| Please reload this page | https://github.com/python/cpython/pull/103226 |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/{{ revealButtonHref }} |
|
| https://github.com/artemmukhin |
| artemmukhin | https://github.com/artemmukhin |
| Apr 3, 2023 | https://github.com/python/cpython/pull/103226#issue-1652818214 |
| Please reload this page | https://github.com/python/cpython/pull/103226 |
| GH-103225 | https://github.com/python/cpython/issues/103225 |
| inspect.{getsourcelines, findsource} return 0 as the starting line number for modules #103319 | https://github.com/python/cpython/issues/103319 |
| Please reload this page | https://github.com/python/cpython/pull/103226 |
|
| https://github.com/artemmukhin |
| pythonGH-103225 | https://github.com/python/cpython/issues/103225 |
| : Fix | https://github.com/python/cpython/pull/103226/commits/25585fc995d6989ea34e602c85b4ae41f2d7f9e0 |
| inspect.getsourcelines() | https://github.com/python/cpython/pull/103226/commits/25585fc995d6989ea34e602c85b4ae41f2d7f9e0 |
| to return 1-based lin… | https://github.com/python/cpython/pull/103226/commits/25585fc995d6989ea34e602c85b4ae41f2d7f9e0 |
| 25585fc | https://github.com/python/cpython/pull/103226/commits/25585fc995d6989ea34e602c85b4ae41f2d7f9e0 |
| 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 |
| Apr 3, 2023 | https://github.com/python/cpython/pull/103226#event-8917663070 |
| https://github.com/bedevere-bot |
| bedevere-bot | https://github.com/bedevere-bot |
|
Apr 3, 2023
| https://github.com/python/cpython/pull/103226#ref-issue-1652804872 |
|
pdb shows wrong line numbers for modules
#103225
| https://github.com/python/cpython/issues/103225 |
| https://github.com/ghost |
| ghost | https://github.com/ghost |
| Apr 3, 2023 | https://github.com/python/cpython/pull/103226#issuecomment-1495026882 |
| Please reload this page | https://github.com/python/cpython/pull/103226 |
| https://cpython-clabot.herokuapp.com/signed-contributor-license-agreement?version=96a49432b8b111ec9bf5bfe9ad6c72c4 |
| Please reload this page | https://github.com/python/cpython/pull/103226 |
| https://github.com/artemmukhin |
| artemmukhin | https://github.com/artemmukhin |
| Apr 3, 2023 | https://github.com/python/cpython/pull/103226#issuecomment-1495029821 |
| @iritkatriel | https://github.com/iritkatriel |
| #101674 | https://github.com/python/cpython/pull/101674 |
| @gaogaotiantian | https://github.com/gaogaotiantian |
| Please reload this page | https://github.com/python/cpython/pull/103226 |
|
| https://github.com/apps/blurb-it |
| 📜🤖 Added by blurb_it. | https://github.com/python/cpython/pull/103226/commits/d6e40120e8cc59ddd6897def201908a71d3263b4 |
| d6e4012 | https://github.com/python/cpython/pull/103226/commits/d6e40120e8cc59ddd6897def201908a71d3263b4 |
| https://github.com/gaogaotiantian |
| gaogaotiantian | https://github.com/gaogaotiantian |
| Apr 3, 2023 | https://github.com/python/cpython/pull/103226#issuecomment-1495065372 |
| Please reload this page | https://github.com/python/cpython/pull/103226 |
| https://github.com/iritkatriel |
| iritkatriel | https://github.com/iritkatriel |
| Apr 3, 2023 | https://github.com/python/cpython/pull/103226#issuecomment-1495087033 |
| @iritkatriel | https://github.com/iritkatriel |
| #101674 | https://github.com/python/cpython/pull/101674 |
| @gaogaotiantian | https://github.com/gaogaotiantian |
| Please reload this page | https://github.com/python/cpython/pull/103226 |
| https://github.com/gaogaotiantian |
| gaogaotiantian | https://github.com/gaogaotiantian |
| Apr 3, 2023 | https://github.com/python/cpython/pull/103226#issuecomment-1495108901 |
| Please reload this page | https://github.com/python/cpython/pull/103226 |
| https://github.com/arhadthedev |
| arhadthedev | https://github.com/arhadthedev |
|
stdlib
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Astdlib |
| Apr 4, 2023 | https://github.com/python/cpython/pull/103226#event-8919828892 |
| https://github.com/iritkatriel |
| iritkatriel | https://github.com/iritkatriel |
| Apr 4, 2023 | https://github.com/python/cpython/pull/103226#issuecomment-1495669410 |
| @Yhg1s | https://github.com/Yhg1s |
| Please reload this page | https://github.com/python/cpython/pull/103226 |
| https://github.com/artemmukhin |
| artemmukhin | https://github.com/artemmukhin |
| Apr 4, 2023 | https://github.com/python/cpython/pull/103226#issuecomment-1495712170 |
| @iritkatriel | https://github.com/iritkatriel |
| #103225 | https://github.com/python/cpython/issues/103225 |
| @gaogaotiantian | https://github.com/gaogaotiantian |
| Please reload this page | https://github.com/python/cpython/pull/103226 |
| https://github.com/gaogaotiantian |
| gaogaotiantian | https://github.com/gaogaotiantian |
|
Apr 6, 2023
| https://github.com/python/cpython/pull/103226#ref-pullrequest-1654786763 |
|
gh-103225: Fixed zero lineno issue for pdb
#103265
| https://github.com/python/cpython/pull/103265 |
| https://github.com/artemmukhin |
| artemmukhin | https://github.com/artemmukhin |
| Apr 6, 2023 | https://github.com/python/cpython/pull/103226#issuecomment-1499494414 |
| @iritkatriel | https://github.com/iritkatriel |
| @gaogaotiantian | https://github.com/gaogaotiantian |
| #103319 | https://github.com/python/cpython/issues/103319 |
| Please reload this page | https://github.com/python/cpython/pull/103226 |
| https://github.com/artemmukhin |
| artemmukhin | https://github.com/artemmukhin |
| Apr 6, 2023 | https://github.com/python/cpython/pull/103226#event-8948924355 |
| https://github.com/bedevere-bot |
| bedevere-bot | https://github.com/bedevere-bot |
|
Apr 6, 2023
| https://github.com/python/cpython/pull/103226#ref-issue-1657906766 |
|
inspect.{getsourcelines, findsource} return 0 as the starting line number for modules
#103319
| https://github.com/python/cpython/issues/103319 |
| https://github.com/George-Ogden |
| George-Ogden | https://github.com/George-Ogden |
| Jul 20, 2025 | https://github.com/python/cpython/pull/103226#issuecomment-3094572602 |
| Please reload this page | https://github.com/python/cpython/pull/103226 |
| 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%2F103226 |
|
awaiting review
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20review%22 |
|
stdlib
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Astdlib |
| Please reload this page | https://github.com/python/cpython/pull/103226 |
|
| https://github.com/artemmukhin |
|
| https://github.com/gaogaotiantian |
|
| https://github.com/iritkatriel |
|
| https://github.com/George-Ogden |
|
| https://github.com/arhadthedev |
|
| https://github.com/bedevere-bot |
|
| 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 |