René's URL Explorer Experiment


Title: bpo-33211: Change line number of decorated nodes back to def by emmatyping · Pull Request #6460 · python/cpython · GitHub

Open Graph Title: bpo-33211: Change line number of decorated nodes back to def by emmatyping · Pull Request #6460 · python/cpython

X Title: bpo-33211: Change line number of decorated nodes back to def by emmatyping · Pull Request #6460 · python/cpython

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

Open Graph Description: This change moves the patching of decorated defs from the publicly used AST to the private bytecode. This has the advantage that decorated defs in the ast keep their line numbers correctly, but ins...

X Description: This change moves the patching of decorated defs from the publicly used AST to the private bytecode. This has the advantage that decorated defs in the ast keep their line numbers correctly, but ins...

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

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/commits(.:format)
route-controllerpull_requests
route-actioncommits
fetch-noncev2:9d032a13-4003-e59a-95c0-bfa155d4b9bc
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idB04C:23903E:FB9601:15BB493:6A53B9CE
html-safe-nonce00511ed505c8c8ecc50c5f3c43997b74b710efe3a850993d7f1ebcc76c1bfe98
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCMDRDOjIzOTAzRTpGQjk2MDE6MTVCQjQ5Mzo2QTUzQjlDRSIsInZpc2l0b3JfaWQiOiIzNjk2MzM4OTg2NjEwMTc4NTEwIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmacc99954228f8ffd0316ec6c5c9000787d061cd3b89553fd9e280bdb5ddc3ed1c0
hovercard-subject-tagpull_request:181343076
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/commits
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/python/cpython/pull/6460/commits
twitter:imagehttps://opengraph.githubassets.com/78dd6e1e80bbe5c959de85bb71b8453ffa6b9e59e1f8144752484dc3405990b5/python/cpython/pull/6460
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/78dd6e1e80bbe5c959de85bb71b8453ffa6b9e59e1f8144752484dc3405990b5/python/cpython/pull/6460
og:image:altThis change moves the patching of decorated defs from the publicly used AST to the private bytecode. This has the advantage that decorated defs in the ast keep their line numbers correctly, but ins...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameemmatyping
hostnamegithub.com
expected-hostnamegithub.com
Noneb9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb
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
release07a982c1d40157c619b364352b704c3ce66bb332
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/6460/commits#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F6460%2Fcommits
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%2F6460%2Fcommits
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%2Fcommits&source=header-repo&source_repo=python%2Fcpython
Reloadhttps://github.com/python/cpython/pull/6460/commits
Reloadhttps://github.com/python/cpython/pull/6460/commits
Reloadhttps://github.com/python/cpython/pull/6460/commits
Please reload this pagehttps://github.com/python/cpython/pull/6460/commits
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/6460/commits
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
emmatypinghttps://github.com/emmatyping
python:masterhttps://github.com/python/cpython/tree/master
emmatyping:deflinenohttps://github.com/emmatyping/cpython/tree/deflineno
Conversationhttps://github.com/python/cpython/pull/6460
Commits19 (19)https://github.com/python/cpython/pull/6460/commits
Checkshttps://github.com/python/cpython/pull/6460/checks
Files changedhttps://github.com/python/cpython/pull/6460/files
bpo-33211: Change line number of decorated nodes back to defhttps://github.com/python/cpython/pull/6460/commits#top
emmatypinghttps://github.com/emmatyping
python:masterhttps://github.com/python/cpython/tree/master
emmatyping:deflinenohttps://github.com/emmatyping/cpython/tree/deflineno
Change line number of decorated nodes back to defhttps://github.com/python/cpython/pull/6460/commits/b60b6a67290c1d44e3eb572e34116ebbe9c35a0d
https://github.com/emmatyping
emmatypinghttps://github.com/python/cpython/commits?author=emmatyping
b60b6a6https://github.com/python/cpython/pull/6460/commits/b60b6a67290c1d44e3eb572e34116ebbe9c35a0d
https://github.com/python/cpython/tree/b60b6a67290c1d44e3eb572e34116ebbe9c35a0d
Whitespace fixeshttps://github.com/python/cpython/pull/6460/commits/ae578b04d247c7555dc8351b569d22e32656bcef
https://github.com/emmatyping
emmatypinghttps://github.com/python/cpython/commits?author=emmatyping
ae578b0https://github.com/python/cpython/pull/6460/commits/ae578b04d247c7555dc8351b569d22e32656bcef
https://github.com/python/cpython/tree/ae578b04d247c7555dc8351b569d22e32656bcef
Fix test_dishttps://github.com/python/cpython/pull/6460/commits/191bd38a37c03824ba23764e48bf083e9956d41f
https://github.com/emmatyping
emmatypinghttps://github.com/python/cpython/commits?author=emmatyping
191bd38https://github.com/python/cpython/pull/6460/commits/191bd38a37c03824ba23764e48bf083e9956d41f
https://github.com/python/cpython/tree/191bd38a37c03824ba23764e48bf083e9956d41f
Change fistlineno of decorated nodes in the compilerhttps://github.com/python/cpython/pull/6460/commits/da4283253e3d77b13ba121f987dcc9499ab37d26
https://github.com/emmatyping
emmatypinghttps://github.com/python/cpython/commits?author=emmatyping
da42832https://github.com/python/cpython/pull/6460/commits/da4283253e3d77b13ba121f987dcc9499ab37d26
https://github.com/python/cpython/tree/da4283253e3d77b13ba121f987dcc9499ab37d26
Remove unused varhttps://github.com/python/cpython/pull/6460/commits/649506c5c535a53ccb658d0b38eaafd264c09730
https://github.com/emmatyping
emmatypinghttps://github.com/python/cpython/commits?author=emmatyping
649506chttps://github.com/python/cpython/pull/6460/commits/649506c5c535a53ccb658d0b38eaafd264c09730
https://github.com/python/cpython/tree/649506c5c535a53ccb658d0b38eaafd264c09730
Fix indentation bughttps://github.com/python/cpython/pull/6460/commits/29b0d604741761fdb011e88d2817e7e5bbfbeb2d
https://github.com/emmatyping
emmatypinghttps://github.com/python/cpython/commits?author=emmatyping
29b0d60https://github.com/python/cpython/pull/6460/commits/29b0d604741761fdb011e88d2817e7e5bbfbeb2d
https://github.com/python/cpython/tree/29b0d604741761fdb011e88d2817e7e5bbfbeb2d
Run patcheckhttps://github.com/python/cpython/pull/6460/commits/68b2228bac770f44cf55d9bb5f960a807078437c
https://github.com/emmatyping
emmatypinghttps://github.com/python/cpython/commits?author=emmatyping
68b2228https://github.com/python/cpython/pull/6460/commits/68b2228bac770f44cf55d9bb5f960a807078437c
https://github.com/python/cpython/tree/68b2228bac770f44cf55d9bb5f960a807078437c
Merge remote tracking branch into deflinenohttps://github.com/python/cpython/pull/6460/commits/09d8ab22941c609453be113dd55f082056698a85
https://github.com/emmatyping
emmatypinghttps://github.com/python/cpython/commits?author=emmatyping
09d8ab2https://github.com/python/cpython/pull/6460/commits/09d8ab22941c609453be113dd55f082056698a85
https://github.com/python/cpython/tree/09d8ab22941c609453be113dd55f082056698a85
Change tests back to original statehttps://github.com/python/cpython/pull/6460/commits/df9fbe2c92a78cd5d993ed30990385d883f423ff
https://github.com/emmatyping
emmatypinghttps://github.com/python/cpython/commits?author=emmatyping
df9fbe2https://github.com/python/cpython/pull/6460/commits/df9fbe2c92a78cd5d993ed30990385d883f423ff
https://github.com/python/cpython/tree/df9fbe2c92a78cd5d993ed30990385d883f423ff
Fix line number in compilerhttps://github.com/python/cpython/pull/6460/commits/9840f842ae84d304b8de5d9405b85c2d26637f66
https://github.com/emmatyping
emmatypinghttps://github.com/python/cpython/commits?author=emmatyping
9840f84https://github.com/python/cpython/pull/6460/commits/9840f842ae84d304b8de5d9405b85c2d26637f66
https://github.com/python/cpython/tree/9840f842ae84d304b8de5d9405b85c2d26637f66
Use unreachable macrohttps://github.com/python/cpython/pull/6460/commits/0842c205e0df6bee094e88f70d41327a085539c6
https://github.com/emmatyping
emmatypinghttps://github.com/python/cpython/commits?author=emmatyping
0842c20https://github.com/python/cpython/pull/6460/commits/0842c205e0df6bee094e88f70d41327a085539c6
https://github.com/python/cpython/tree/0842c205e0df6bee094e88f70d41327a085539c6
Fix silly indentation mistakehttps://github.com/python/cpython/pull/6460/commits/7f4fcdf6e7bab9c144c0c818e8b21db32f359c1f
https://github.com/emmatyping
emmatypinghttps://github.com/python/cpython/commits?author=emmatyping
7f4fcdfhttps://github.com/python/cpython/pull/6460/commits/7f4fcdf6e7bab9c144c0c818e8b21db32f359c1f
https://github.com/python/cpython/tree/7f4fcdf6e7bab9c144c0c818e8b21db32f359c1f
Test ast line numbers for decorated nodeshttps://github.com/python/cpython/pull/6460/commits/e4e7f1a20124c59c9725cb86002617531e17b8c9
https://github.com/emmatyping
emmatypinghttps://github.com/python/cpython/commits?author=emmatyping
e4e7f1ahttps://github.com/python/cpython/pull/6460/commits/e4e7f1a20124c59c9725cb86002617531e17b8c9
https://github.com/python/cpython/tree/e4e7f1a20124c59c9725cb86002617531e17b8c9
Fix true order tests for decoratorshttps://github.com/python/cpython/pull/6460/commits/a8e747dba1dfe905eca48f65efc6dc88d71beba7
https://github.com/emmatyping
emmatypinghttps://github.com/python/cpython/commits?author=emmatyping
a8e747dhttps://github.com/python/cpython/pull/6460/commits/a8e747dba1dfe905eca48f65efc6dc88d71beba7
https://github.com/python/cpython/tree/a8e747dba1dfe905eca48f65efc6dc88d71beba7
Fix bad indentationhttps://github.com/python/cpython/pull/6460/commits/3df5862014e3887e477a633faf0bbea991addc6b
https://github.com/emmatyping
emmatypinghttps://github.com/python/cpython/commits?author=emmatyping
3df5862https://github.com/python/cpython/pull/6460/commits/3df5862014e3887e477a633faf0bbea991addc6b
https://github.com/python/cpython/tree/3df5862014e3887e477a633faf0bbea991addc6b
Respond to reviewhttps://github.com/python/cpython/pull/6460/commits/44a3cd9d3815ec74b7c642b63127e23067250c13
https://github.com/emmatyping
emmatypinghttps://github.com/python/cpython/commits?author=emmatyping
44a3cd9https://github.com/python/cpython/pull/6460/commits/44a3cd9d3815ec74b7c642b63127e23067250c13
https://github.com/python/cpython/tree/44a3cd9d3815ec74b7c642b63127e23067250c13
Fix regression with inner decorated nodeshttps://github.com/python/cpython/pull/6460/commits/afd3b7e9082c8c605a8d682c19f4c3cbb3fff7e5
https://github.com/emmatyping
emmatypinghttps://github.com/python/cpython/commits?author=emmatyping
afd3b7ehttps://github.com/python/cpython/pull/6460/commits/afd3b7e9082c8c605a8d682c19f4c3cbb3fff7e5
https://github.com/python/cpython/tree/afd3b7e9082c8c605a8d682c19f4c3cbb3fff7e5
Remove redundant line number settinghttps://github.com/python/cpython/pull/6460/commits/bdc9942d385e08f13e8b558bfadd1c0c866356ab
https://github.com/emmatyping
emmatypinghttps://github.com/python/cpython/commits?author=emmatyping
bdc9942https://github.com/python/cpython/pull/6460/commits/bdc9942d385e08f13e8b558bfadd1c0c866356ab
https://github.com/python/cpython/tree/bdc9942d385e08f13e8b558bfadd1c0c866356ab
Fix style in compile.chttps://github.com/python/cpython/pull/6460/commits/914d0a032e40debc41e693d6e57f8e5b03c757bb
https://github.com/emmatyping
emmatypinghttps://github.com/python/cpython/commits?author=emmatyping
914d0a0https://github.com/python/cpython/pull/6460/commits/914d0a032e40debc41e693d6e57f8e5b03c757bb
https://github.com/python/cpython/tree/914d0a032e40debc41e693d6e57f8e5b03c757bb
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.