René's URL Explorer Experiment


Title: gh-118465: Add __firstlineno__ attribute to class by serhiy-storchaka · Pull Request #118475 · python/cpython · GitHub

Open Graph Title: gh-118465: Add __firstlineno__ attribute to class by serhiy-storchaka · Pull Request #118475 · python/cpython

X Title: gh-118465: Add __firstlineno__ attribute to class by serhiy-storchaka · Pull Request #118475 · python/cpython

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

Open Graph Description: It is set by compiler with the line number of the first line of the class definition. Issue: pydoc is obscenely slow for some modules #118465 📚 Documentation preview 📚: https://cpython-previe...

X Description: It is set by compiler with the line number of the first line of the class definition. Issue: pydoc is obscenely slow for some modules #118465 📚 Documentation preview 📚: https://cpython-previe...

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

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.113.3

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:76001f93-2cf4-83d7-e682-2233d788cd4f
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idB9BC:E19B:798E8:A39B9:6B0663BA
html-safe-nonceddf84c8f327d651e9d1dfb6d931e1d8c9b25db831f54c524706cd8c698005e65
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCOUJDOkUxOUI6Nzk4RTg6QTM5Qjk6NkIwNjYzQkEiLCJ2aXNpdG9yX2lkIjoiNDI0Njc2NTI1MzQ5NDcyNzYxMCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacf777a0553ebb4089a5cab911991413bc53b47363eff6584b350d5df5c47a6308
hovercard-subject-tagpull_request:1849786105
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///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/python/cpython/118475/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/6fee5b9132566c41030d2b4d61eb258b417a6d270abfcc21f91e8689c3203d18/python/cpython/pull/118475
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/6fee5b9132566c41030d2b4d61eb258b417a6d270abfcc21f91e8689c3203d18/python/cpython/pull/118475
og:image:altIt is set by compiler with the line number of the first line of the class definition. Issue: pydoc is obscenely slow for some modules #118465 📚 Documentation preview 📚: https://cpython-previe...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameserhiy-storchaka
hostnamegithub.com
expected-hostnamegithub.com
None6324e6ac990fb6befbec840cc0e102a1071c339bfe8f9826bb12de2e3ba1d297
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
release7f0aa75f4141d440c6110dc31af7ea7797abb6c4
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/python/cpython/pull/118475#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F118475
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
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
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://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
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F118475
Sign uphttps://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
Reloadhttps://github.com/python/cpython/pull/118475
Reloadhttps://github.com/python/cpython/pull/118475
Reloadhttps://github.com/python/cpython/pull/118475
pythonhttps://github.com/python
cpythonhttps://github.com/python/cpython
Codehttps://github.com/python/cpython
Issues5k+ (5k+)https://github.com/python/cpython/issues
Pull requests2.4k (2.4k)https://github.com/python/cpython/pulls
Actionshttps://github.com/python/cpython/actions
Projectshttps://github.com/python/cpython/projects
Security and qualityhttps://github.com/python/cpython/security
Insightshttps://github.com/python/cpython/insights
https://github.com/python/cpython
serhiy-storchakahttps://github.com/serhiy-storchaka
python:mainhttps://github.com/python/cpython/tree/main
serhiy-storchaka:class-firstlinenohttps://github.com/serhiy-storchaka/cpython/tree/class-firstlineno
Conversationhttps://github.com/python/cpython/pull/118475
Commits7 (7)https://github.com/python/cpython/pull/118475/commits
Checkshttps://github.com/python/cpython/pull/118475/checks
Files changedhttps://github.com/python/cpython/pull/118475/files
gh-118465: Add __firstlineno__ attribute to classhttps://github.com/python/cpython/pull/118475#top
serhiy-storchakahttps://github.com/serhiy-storchaka
python:mainhttps://github.com/python/cpython/tree/main
serhiy-storchaka:class-firstlinenohttps://github.com/serhiy-storchaka/cpython/tree/class-firstlineno
https://github.com/serhiy-storchaka
serhiy-storchakahttps://github.com/serhiy-storchaka
May 1, 2024https://github.com/python/cpython/pull/118475#issue-2273593821
Please reload this pagehttps://github.com/python/cpython/pull/118475
pydoc is obscenely slow for some modules #118465https://github.com/python/cpython/issues/118465
https://cpython-previews--118475.org.readthedocs.build/https://cpython-previews--118475.org.readthedocs.build/
Please reload this pagehttps://github.com/python/cpython/pull/118475
https://github.com/serhiy-storchaka
pythongh-118465https://github.com/python/cpython/issues/118465
: Add __firstlineno__ attribute to classhttps://github.com/python/cpython/pull/118475/commits/2d78936008030276424fe9d0dea5800669b71ae8
2d78936https://github.com/python/cpython/pull/118475/commits/2d78936008030276424fe9d0dea5800669b71ae8
https://github.com/serhiy-storchaka
serhiy-storchakahttps://github.com/serhiy-storchaka
AlexWaygoodhttps://github.com/AlexWaygood
JelleZijlstrahttps://github.com/JelleZijlstra
ethanfurmanhttps://github.com/ethanfurman
iritkatrielhttps://github.com/iritkatriel
markshannonhttps://github.com/markshannon
code ownershttps://github.com/python/cpython/blob/beb653cc24275025708758d444835db2ddbb74e4/.github/CODEOWNERS#L209
May 1, 2024 14:19https://github.com/python/cpython/pull/118475#event-12671000210
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
May 1, 2024 https://github.com/python/cpython/pull/118475#ref-issue-2273263590
pydoc is obscenely slow for some modules #118465 https://github.com/python/cpython/issues/118465
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
awaiting core review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20core%20review%22
May 1, 2024https://github.com/python/cpython/pull/118475#event-12671001012
https://github.com/markshannon
markshannonhttps://github.com/markshannon
May 1, 2024 https://github.com/python/cpython/pull/118475#pullrequestreview-2033724203
View reviewed changes https://github.com/python/cpython/pull/118475/files/2d78936008030276424fe9d0dea5800669b71ae8
Doc/reference/datamodel.rsthttps://github.com/python/cpython/pull/118475/files/2d78936008030276424fe9d0dea5800669b71ae8#diff-9125871b063a1ef80aa4bd3e46d7060921032c8437160c7cb8c1497756b02d61
Please reload this pagehttps://github.com/python/cpython/pull/118475
https://github.com/iritkatriel
iritkatrielhttps://github.com/iritkatriel
May 1, 2024 https://github.com/python/cpython/pull/118475#pullrequestreview-2033754313
View reviewed changes https://github.com/python/cpython/pull/118475/files/2d78936008030276424fe9d0dea5800669b71ae8
Doc/whatsnew/3.13.rsthttps://github.com/python/cpython/pull/118475/files/2d78936008030276424fe9d0dea5800669b71ae8#diff-0eef04c1aae0cf8389945464f271ff6789259ef8985f5fdbb21c9a99c4b5021f
iritkatrielhttps://github.com/iritkatriel
May 1, 2024https://github.com/python/cpython/pull/118475#discussion_r1586374477
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/118475
serhiy-storchakahttps://github.com/serhiy-storchaka
May 2, 2024https://github.com/python/cpython/pull/118475#discussion_r1587700041
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/118475
https://github.com/serhiy-storchaka
https://github.com/markshannon
Update Doc/reference/datamodel.rsthttps://github.com/python/cpython/pull/118475/commits/2ac81adae7e8fc02b3dffd2380a3764c17495d98
2ac81adhttps://github.com/python/cpython/pull/118475/commits/2ac81adae7e8fc02b3dffd2380a3764c17495d98
https://github.com/serhiy-storchaka
serhiy-storchakahttps://github.com/serhiy-storchaka
May 2, 2024 https://github.com/python/cpython/pull/118475#pullrequestreview-2035851923
View reviewed changes https://github.com/python/cpython/pull/118475/files/2ac81adae7e8fc02b3dffd2380a3764c17495d98
Doc/whatsnew/3.13.rsthttps://github.com/python/cpython/pull/118475/files/2d78936008030276424fe9d0dea5800669b71ae8#diff-0eef04c1aae0cf8389945464f271ff6789259ef8985f5fdbb21c9a99c4b5021f
serhiy-storchakahttps://github.com/serhiy-storchaka
May 2, 2024https://github.com/python/cpython/pull/118475#discussion_r1587700041
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/118475
Doc/reference/datamodel.rsthttps://github.com/python/cpython/pull/118475/files/2ac81adae7e8fc02b3dffd2380a3764c17495d98#diff-9125871b063a1ef80aa4bd3e46d7060921032c8437160c7cb8c1497756b02d61
Please reload this pagehttps://github.com/python/cpython/pull/118475
serhiy-storchakahttps://github.com/serhiy-storchaka
May 2, 2024 17:10https://github.com/python/cpython/pull/118475#commits-pushed-bc318a0
https://github.com/serhiy-storchaka
Update Doc/reference/datamodel.rsthttps://github.com/python/cpython/pull/118475/commits/bc318a0cb41a46f4dc724268e4c31dc898f7f1bd
bc318a0https://github.com/python/cpython/pull/118475/commits/bc318a0cb41a46f4dc724268e4c31dc898f7f1bd
https://github.com/serhiy-storchaka
Merge branch 'main' into class-firstlinenohttps://github.com/python/cpython/pull/118475/commits/c168577d536f57f59043bd4ef33fe496a332b150
c168577https://github.com/python/cpython/pull/118475/commits/c168577d536f57f59043bd4ef33fe496a332b150
https://github.com/JelleZijlstra
JelleZijlstrahttps://github.com/JelleZijlstra
May 4, 2024https://github.com/python/cpython/pull/118475#issuecomment-2093969981
Please reload this pagehttps://github.com/python/cpython/pull/118475
serhiy-storchakahttps://github.com/serhiy-storchaka
May 5, 2024 09:32https://github.com/python/cpython/pull/118475#commits-pushed-e557f02
https://github.com/serhiy-storchaka
Merge branch 'main' into class-firstlinenohttps://github.com/python/cpython/pull/118475/commits/e557f026cdff26f958398881d04c3f83bc80d029
e557f02https://github.com/python/cpython/pull/118475/commits/e557f026cdff26f958398881d04c3f83bc80d029
https://github.com/serhiy-storchaka
Handle classes without __firstlineno__.https://github.com/python/cpython/pull/118475/commits/3edda5799738e8381dfa296a047756c19ce520b3
3edda57https://github.com/python/cpython/pull/118475/commits/3edda5799738e8381dfa296a047756c19ce520b3
https://github.com/serhiy-storchaka
Bump the pyc magic number.https://github.com/python/cpython/pull/118475/commits/3939135c18f88defd2f3981ebce49c181c95d26f
3939135https://github.com/python/cpython/pull/118475/commits/3939135c18f88defd2f3981ebce49c181c95d26f
https://github.com/serhiy-storchaka
serhiy-storchakahttps://github.com/serhiy-storchaka
brettcannonhttps://github.com/brettcannon
ericsnowcurrentlyhttps://github.com/ericsnowcurrently
ncoghlanhttps://github.com/ncoghlan
warsawhttps://github.com/warsaw
code ownershttps://github.com/python/cpython/blob/c7c9b913c01afb8d2ff4048f82155969f7ef75b1/.github/CODEOWNERS#L106
May 5, 2024 07:02https://github.com/python/cpython/pull/118475#event-12706542675
https://github.com/serhiy-storchaka
serhiy-storchakahttps://github.com/serhiy-storchaka
May 5, 2024https://github.com/python/cpython/pull/118475#issuecomment-2094659783
Please reload this pagehttps://github.com/python/cpython/pull/118475
https://github.com/JelleZijlstra
JelleZijlstrahttps://github.com/JelleZijlstra
May 5, 2024 https://github.com/python/cpython/pull/118475#pullrequestreview-2039709471
View reviewed changes https://github.com/python/cpython/pull/118475/files/3939135c18f88defd2f3981ebce49c181c95d26f
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
awaiting merge https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20merge%22
awaiting core review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20core%20review%22
May 5, 2024https://github.com/python/cpython/pull/118475#event-12707544395
https://github.com/serhiy-storchaka
serhiy-storchakahttps://github.com/serhiy-storchaka
153b3f7https://github.com/python/cpython/commit/153b3f75306b5d26e29ea157105d0fdc247ef853
May 6, 2024https://github.com/python/cpython/pull/118475#event-12712074135
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
awaiting merge https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20merge%22
May 6, 2024https://github.com/python/cpython/pull/118475#event-12712074616
https://github.com/serhiy-storchaka
serhiy-storchakahttps://github.com/serhiy-storchaka
May 6, 2024 09:02https://github.com/python/cpython/pull/118475#event-12712074857
SonicFieldhttps://github.com/SonicField
May 8, 2024 https://github.com/python/cpython/pull/118475#ref-commit-7670241
https://github.com/serhiy-storchaka
https://github.com/SonicField
pythongh-118465https://github.com/python/cpython/issues/118465
: Add __firstlineno__ attribute to class (https://github.com/SonicField/cpython/commit/7670241949ae48050a344bf8c656bec524825597
pythonGH-118475https://github.com/python/cpython/pull/118475
7670241https://github.com/SonicField/cpython/commit/7670241949ae48050a344bf8c656bec524825597
https://github.com/python/cpython/pull/118475
https://github.com/frenzymadness
frenzymadnesshttps://github.com/frenzymadness
May 13, 2024 https://github.com/python/cpython/pull/118475#ref-issue-2292575157
Test failure with Python 3.13.0b1 cloudpipe/cloudpickle#533 https://github.com/cloudpipe/cloudpickle/issues/533
https://github.com/devdanzin
devdanzinhttps://github.com/devdanzin
Aug 14, 2024 https://github.com/python/cpython/pull/118475#ref-issue-2463957418
3.13 Regression: inspect.getsource() returns incorrect source code #122981 https://github.com/python/cpython/issues/122981
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%2F118475
https://github.com/iritkatriel
iritkatriel https://github.com/iritkatriel
https://github.com/python/cpython/pull/118475/files/2d78936008030276424fe9d0dea5800669b71ae8
https://github.com/markshannon
markshannon https://github.com/markshannon
https://github.com/python/cpython/pull/118475/files/2d78936008030276424fe9d0dea5800669b71ae8
https://github.com/JelleZijlstra
JelleZijlstra https://github.com/JelleZijlstra
https://github.com/python/cpython/pull/118475/files/3939135c18f88defd2f3981ebce49c181c95d26f
https://github.com/ethanfurman
ethanfurman https://github.com/ethanfurman
https://github.com/AlexWaygood
AlexWaygood https://github.com/AlexWaygood
https://github.com/brettcannon
brettcannon https://github.com/brettcannon
https://github.com/ericsnowcurrently
ericsnowcurrently https://github.com/ericsnowcurrently
https://github.com/ncoghlan
ncoghlan https://github.com/ncoghlan
https://github.com/warsaw
warsaw https://github.com/warsaw
Please reload this pagehttps://github.com/python/cpython/pull/118475
Please reload this pagehttps://github.com/python/cpython/pull/118475
https://github.com/serhiy-storchaka
https://github.com/JelleZijlstra
https://github.com/iritkatriel
https://github.com/markshannon
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

Response headers:
Servergithub.com
Content-Typetext/html; charset=utf-8
Cache-Controlno-cache

Viewport: width=device-width


URLs of crawlers that visited me.