René's URL Explorer Experiment


Title: bpo-41287: Handle `doc` argument of `property.__init__` in subclasses by sizmailov · Pull Request #23205 · python/cpython · GitHub

Open Graph Title: bpo-41287: Handle `doc` argument of `property.__init__` in subclasses by sizmailov · Pull Request #23205 · python/cpython

X Title: bpo-41287: Handle `doc` argument of `property.__init__` in subclasses by sizmailov · Pull Request #23205 · python/cpython

Description: Process explicit doc argument of property(...) in the same manner as docstring of getter function in property subclasses. This eliminates behavior differences between dummy class Property(property): pass and property (see test case for example) https://bugs.python.org/issue41287

Open Graph Description: Process explicit doc argument of property(...) in the same manner as docstring of getter function in property subclasses. This eliminates behavior differences between dummy class Property(property)...

X Description: Process explicit doc argument of property(...) in the same manner as docstring of getter function in property subclasses. This eliminates behavior differences between dummy class Property(property)...

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

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:cc62018a-17c3-b64a-8d98-367d6420571f
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idD398:2A6639:DB4D3B:11D1E49:696B2BCF
html-safe-nonce29bcd16449c3fd4f7a6eb55d5e2f7ee91430f245b3508cd303c421662d3c8503
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEMzk4OjJBNjYzOTpEQjREM0I6MTFEMUU0OTo2OTZCMkJDRiIsInZpc2l0b3JfaWQiOiI1MTkyMjkzMDUyMzIyNjIyNDE1IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac4aef6f09ac0bed9ce26339686c3c4a5ed40e174859e0c315bd5e4064bb420fd0
hovercard-subject-tagpull_request:517651752
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/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/python/cpython/pull/23205/files
twitter:imagehttps://avatars.githubusercontent.com/u/2975991?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/2975991?s=400&v=4
og:image:altProcess explicit doc argument of property(...) in the same manner as docstring of getter function in property subclasses. This eliminates behavior differences between dummy class Property(property)...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None5f99f7c1d70f01da5b93e5ca90303359738944d8ab470e396496262c66e60b8d
turbo-cache-controlno-preview
diff-viewunified
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 full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release82560a55c6b2054555076f46e683151ee28a19bc
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/23205/files#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F23205%2Ffiles
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
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
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
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/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%2F23205%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
Reloadhttps://github.com/python/cpython/pull/23205/files
Reloadhttps://github.com/python/cpython/pull/23205/files
Reloadhttps://github.com/python/cpython/pull/23205/files
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/23205/files
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 pagehttps://github.com/python/cpython/pull/23205/files
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 servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fpython%2Fcpython%2Fissues%2Fnew%2Fchoose
JelleZijlstrahttps://github.com/JelleZijlstra
python:mainhttps://github.com/python/cpython/tree/main
sizmailov:fix-issue41287https://github.com/sizmailov/cpython/tree/fix-issue41287
Conversation 47 https://github.com/python/cpython/pull/23205
Commits 19 https://github.com/python/cpython/pull/23205/commits
Checks 0 https://github.com/python/cpython/pull/23205/checks
Files changed https://github.com/python/cpython/pull/23205/files
Please reload this pagehttps://github.com/python/cpython/pull/23205/files
bpo-41287: Handle doc argument of property.__init__ in subclasses https://github.com/python/cpython/pull/23205/files#top
Show all changes 19 commits https://github.com/python/cpython/pull/23205/files
b19523a Handle `doc` argument of `property.__init__` in subclasses sizmailov Nov 9, 2020 https://github.com/python/cpython/pull/23205/commits/b19523aa70aae30611e59f8461d25391620b9967
0745f70 Add NEWS entry sizmailov Apr 3, 2022 https://github.com/python/cpython/pull/23205/commits/0745f700dbf906b77dd9cec2678d95c59c3088c4
ebec602 Update Misc/NEWS.d/next/Library/2022-04-03-11-25-02.bpo-41287.8CTdwf.rst sizmailov Apr 5, 2022 https://github.com/python/cpython/pull/23205/commits/ebec602f432fa4dd522de46d64f5a1b96ce98307
f09e6ac Move test to test_property.py sizmailov Apr 5, 2022 https://github.com/python/cpython/pull/23205/commits/f09e6acf396c4728cef810a1a675a9d60c0ad2fa
dcab455 Rename local get_doc -> prop_doc sizmailov Apr 5, 2022 https://github.com/python/cpython/pull/23205/commits/dcab455a9055238174fd972933b3e977678a148d
de2c3c0 Add prop_doc != NULL check sizmailov Apr 5, 2022 https://github.com/python/cpython/pull/23205/commits/de2c3c0a29a119c68da8a53c538db6add0cf7656
bd4cdca Add more tests sizmailov Apr 5, 2022 https://github.com/python/cpython/pull/23205/commits/bd4cdca9ec312bae3aa053ac3d3f7ce0bcc070f0
1a1247e Fix test sizmailov Apr 5, 2022 https://github.com/python/cpython/pull/23205/commits/1a1247e3aaf7e9c22c5c6b5b8e0d192970131a8b
009a9f3 Fix introduced refleak sizmailov Apr 7, 2022 https://github.com/python/cpython/pull/23205/commits/009a9f3ef8799a53fda9b2bda235099f7cbbf32f
d2aa925 Merge branch 'main' into fix-issue41287 JelleZijlstra May 2, 2022 https://github.com/python/cpython/pull/23205/commits/d2aa925ed42327e25d3a7be2cf0d4294ffc2c539
8730abc Test vanila property too sizmailov May 22, 2022 https://github.com/python/cpython/pull/23205/commits/8730abc81abbae2023718a4a3a8af942e5416694
0302ffb Fix __doc__ assignment in property subclass sizmailov May 22, 2022 https://github.com/python/cpython/pull/23205/commits/0302ffbf1e7cba30e8a646d9f340d321de4963c5
e1ec1dc Merge remote-tracking branch 'upstream/main' into fix-issue41287 sizmailov May 22, 2022 https://github.com/python/cpython/pull/23205/commits/e1ec1dcba1fea0af3ee46fa4e963d286067e1a5a
fb8c2d4 Fix Py_None ref leak sizmailov May 22, 2022 https://github.com/python/cpython/pull/23205/commits/fb8c2d4908d3f8ac992a404c2baa38090c33611e
f8fb254 Add a comment sizmailov May 22, 2022 https://github.com/python/cpython/pull/23205/commits/f8fb254ad15c11da45df45d8f4d0cab87172e58c
fc16ab9 Remove unnecessary check sizmailov May 22, 2022 https://github.com/python/cpython/pull/23205/commits/fc16ab974fb5d0e564478ed845ac18843bc70758
4943868 Add test for property copy doc sizmailov May 26, 2022 https://github.com/python/cpython/pull/23205/commits/4943868df7fe79049c9b1e6443e44f993655f5ef
36fc1b0 Assign getter_doc only for non-null prop_doc sizmailov May 26, 2022 https://github.com/python/cpython/pull/23205/commits/36fc1b09e78bb954b9f2d49e214749bac30e5085
14bdd86 Apply suggestions from code review sizmailov May 28, 2022 https://github.com/python/cpython/pull/23205/commits/14bdd862dae123e5291ab3682831d0c765ef91f0
Clear filters https://github.com/python/cpython/pull/23205/files
Please reload this pagehttps://github.com/python/cpython/pull/23205/files
Please reload this pagehttps://github.com/python/cpython/pull/23205/files
test_property.py https://github.com/python/cpython/pull/23205/files#diff-510a022afde6dbb437080870cced7548f338fb8654a4df10c425e5105a83b2e3
2022-04-03-11-25-02.bpo-41287.8CTdwf.rst https://github.com/python/cpython/pull/23205/files#diff-e8868cd4dfa25369acdb9f0a23fbdf28f3f35a4d715e9af84ce038a2297beaad
descrobject.c https://github.com/python/cpython/pull/23205/files#diff-7952643fe36a8662b3e4be2c6478b06b1af5b5754fc25eaf3eb4b46569659264
Lib/test/test_property.pyhttps://github.com/python/cpython/pull/23205/files#diff-510a022afde6dbb437080870cced7548f338fb8654a4df10c425e5105a83b2e3
View file https://github.com/sizmailov/cpython/blob/14bdd862dae123e5291ab3682831d0c765ef91f0/Lib/test/test_property.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/23205/{{ revealButtonHref }}
https://github.com/python/cpython/pull/23205/files#diff-510a022afde6dbb437080870cced7548f338fb8654a4df10c425e5105a83b2e3
https://github.com/python/cpython/pull/23205/files#diff-510a022afde6dbb437080870cced7548f338fb8654a4df10c425e5105a83b2e3
https://github.com/python/cpython/pull/23205/files#diff-510a022afde6dbb437080870cced7548f338fb8654a4df10c425e5105a83b2e3
https://github.com/python/cpython/pull/23205/files#diff-510a022afde6dbb437080870cced7548f338fb8654a4df10c425e5105a83b2e3
Misc/NEWS.d/next/Library/2022-04-03-11-25-02.bpo-41287.8CTdwf.rsthttps://github.com/python/cpython/pull/23205/files#diff-e8868cd4dfa25369acdb9f0a23fbdf28f3f35a4d715e9af84ce038a2297beaad
View file https://github.com/sizmailov/cpython/blob/14bdd862dae123e5291ab3682831d0c765ef91f0/Misc/NEWS.d/next/Library/2022-04-03-11-25-02.bpo-41287.8CTdwf.rst
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/23205/{{ revealButtonHref }}
Objects/descrobject.chttps://github.com/python/cpython/pull/23205/files#diff-7952643fe36a8662b3e4be2c6478b06b1af5b5754fc25eaf3eb4b46569659264
View file https://github.com/sizmailov/cpython/blob/14bdd862dae123e5291ab3682831d0c765ef91f0/Objects/descrobject.c
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/23205/{{ revealButtonHref }}
https://github.com/python/cpython/pull/23205/files#diff-7952643fe36a8662b3e4be2c6478b06b1af5b5754fc25eaf3eb4b46569659264
Please reload this pagehttps://github.com/python/cpython/pull/23205/files
https://github.com/python/cpython/pull/23205/files#diff-7952643fe36a8662b3e4be2c6478b06b1af5b5754fc25eaf3eb4b46569659264
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.