| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:dac2433d-2a08-ff54-3bb0-6b7f389c2441 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | AFEA:15316C:108435E:17A4CE8:6A5A15F2 |
| html-safe-nonce | 490ab4a2ee095007e17f1f26ea7b4264d025307aa6c2299d8d8a1dfaaa5d0f15 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBRkVBOjE1MzE2QzoxMDg0MzVFOjE3QTRDRTg6NkE1QTE1RjIiLCJ2aXNpdG9yX2lkIjoiNjAxNTIxNTQ2OTIyMDk5MjQ5OCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 3005f7a750fb0e8b19bb4afb8c5cd09f0b4cfebd355158c4441df35264bc6318 |
| hovercard-subject-tag | pull_request:508640861 |
| 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/22906/files |
| twitter:image | https://avatars.githubusercontent.com/u/1623689?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/1623689?s=400&v=4 |
| og:image:alt | Work in progress. A couple of sections remain. |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 8c2fe7351e4e987cb8f75e2425a0b895d807779bc4c2d3c312be0a54082219f7 |
| 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 | 501ec24a694e4933bb3d70e768b1461c0def57a2 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/python/cpython/pull/22906/files#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F22906%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%2F22906%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/22906/files |
| Reload | https://github.com/python/cpython/pull/22906/files |
| Reload | https://github.com/python/cpython/pull/22906/files |
| Please reload this page | https://github.com/python/cpython/pull/22906/files |
|
python
| https://github.com/python |
| cpython | https://github.com/python/cpython |
| Please reload this page | https://github.com/python/cpython/pull/22906/files |
|
Notifications
| https://github.com/login?return_to=%2Fpython%2Fcpython |
|
Fork
34.9k
| 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 |
| 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 |
| rhettinger | https://github.com/rhettinger |
| python:master | https://github.com/python/cpython/tree/master |
| rhettinger:descriptor_primer | https://github.com/rhettinger/cpython/tree/descriptor_primer |
|
Conversation
8
| https://github.com/python/cpython/pull/22906 |
|
Commits
33
| https://github.com/python/cpython/pull/22906/commits |
|
Checks
0
| https://github.com/python/cpython/pull/22906/checks |
|
Files changed
| https://github.com/python/cpython/pull/22906/files |
| Please reload this page | https://github.com/python/cpython/pull/22906/files |
|
Create a primer section for the descriptor howto guide
| https://github.com/python/cpython/pull/22906/files#top |
|
Show all changes
33 commits
| https://github.com/python/cpython/pull/22906/files |
|
4285090
Simplest example: Return a constant
rhettinger Oct 22, 2020
| https://github.com/python/cpython/pull/22906/commits/42850905f1769026065279272910fdab9f2f3fa2 |
|
fc4865a
Add directory size example of a dynamic descriptor
rhettinger Oct 23, 2020
| https://github.com/python/cpython/pull/22906/commits/fc4865a92014db2b69a300d1f9780a6a0e1ff637 |
|
83d7240
Add the managed attributes example
rhettinger Oct 23, 2020
| https://github.com/python/cpython/pull/22906/commits/83d72407f63c18d3c6d6d8de13955bbb96cec3a2 |
|
6e1bae3
Add stub sections
rhettinger Oct 23, 2020
| https://github.com/python/cpython/pull/22906/commits/6e1bae3715b2ac33c2ad24a94d58ce759d2ddfd7 |
|
5cd1b8d
Fix hardwired value
rhettinger Oct 23, 2020
| https://github.com/python/cpython/pull/22906/commits/5cd1b8d35d21e0836a89ca6e967c532401097481 |
|
e8db254
Add the set_name example.
rhettinger Oct 23, 2020
| https://github.com/python/cpython/pull/22906/commits/e8db25463a2970c85760d9ef6866d2ef0d8ecc97 |
|
3624731
Add the data validators complete practical example.
rhettinger Oct 23, 2020
| https://github.com/python/cpython/pull/22906/commits/36247316f2279e372bbfe9035fb3ba468879af75 |
|
dab7c25
Minor touch-ups
rhettinger Oct 23, 2020
| https://github.com/python/cpython/pull/22906/commits/dab7c25a08bf6de2de6fa12cd7ff3b05235a7de5 |
|
95e1513
Add technical section for __set_name__
rhettinger Oct 23, 2020
| https://github.com/python/cpython/pull/22906/commits/95e1513691fff6555d40aca847c8836d9ae6b95e |
|
65a0ab3
Line wrap
rhettinger Oct 23, 2020
| https://github.com/python/cpython/pull/22906/commits/65a0ab3b9b56c35ab1fcd2298f68660ce3a77dee |
|
8e5f962
Use the @-notation where possible
rhettinger Oct 23, 2020
| https://github.com/python/cpython/pull/22906/commits/8e5f962d4d5d0ab1bfdfbaf96ccc0b51dd444fca |
|
7f52aee
Modern style uses "cls" instead of "klass"
rhettinger Oct 23, 2020
| https://github.com/python/cpython/pull/22906/commits/7f52aee1628589be18c4eaa5047d53583ab9bffa |
|
48329d2
Fix typo
rhettinger Oct 23, 2020
| https://github.com/python/cpython/pull/22906/commits/48329d21646c4d4f02213ad64ad61a2ef6021109 |
|
1583c25
Missing colon
rhettinger Oct 23, 2020
| https://github.com/python/cpython/pull/22906/commits/1583c25a6e6c673f2a52be9303a05678a53a94e7 |
|
45466fc
Note false positive in the suspcious entry extension
rhettinger Oct 23, 2020
| https://github.com/python/cpython/pull/22906/commits/45466fcba90ef763026f08fc51568910b93ee19b |
|
31fb230
Note false positive in the suspcious entry extension
rhettinger Oct 23, 2020
| https://github.com/python/cpython/pull/22906/commits/31fb2306f4d7736ccc9f86e6c4dce440f320d815 |
|
58275e7
Note false positive in the suspcious entry extension
rhettinger Oct 23, 2020
| https://github.com/python/cpython/pull/22906/commits/58275e7f620f8e45336daef4ad0de450f8f59efb |
|
80bfd08
Note false positive in the suspcious entry extension
rhettinger Oct 23, 2020
| https://github.com/python/cpython/pull/22906/commits/80bfd0823b0fa359a450816a55e75c44a3c9db58 |
|
112a272
Fix typos. Minor grammar edits.
rhettinger Oct 23, 2020
| https://github.com/python/cpython/pull/22906/commits/112a2728c0e350a02687b8cd76be65aa67402c65 |
|
1a899c8
Fix method name
rhettinger Oct 23, 2020
| https://github.com/python/cpython/pull/22906/commits/1a899c8201e2240b53cbaa177e24b185aa1e6fa6 |
|
b3934e8
Fix SyntaxError and misspelled predicate name
rhettinger Oct 23, 2020
| https://github.com/python/cpython/pull/22906/commits/b3934e85409f7771657ffa6e0e6794c6027d206c |
|
90992bf
Add references to and from the glossary
rhettinger Oct 23, 2020
| https://github.com/python/cpython/pull/22906/commits/90992bfc5b67dda9eefcaf5ed03f21f9ab1baa15 |
|
2599cff
Fix markup
rhettinger Oct 23, 2020
| https://github.com/python/cpython/pull/22906/commits/2599cff41bd4c6655056a200219ebb08678d52c0 |
|
11e790a
Update Doc/howto/descriptor.rst
rhettinger Oct 23, 2020
| https://github.com/python/cpython/pull/22906/commits/11e790ae95e26962d5f447ca9a8ee631842ffa1a |
|
b0c435c
Minor comment and variable name improvements
rhettinger Oct 23, 2020
| https://github.com/python/cpython/pull/22906/commits/b0c435caee4a49b2ddfb6b8285ef174e9094d790 |
|
0f6df85
Simplify examples. Add closing thoughts section.
rhettinger Oct 23, 2020
| https://github.com/python/cpython/pull/22906/commits/0f6df85be8fb388856cd19288cb270c026aa7ff2 |
|
1e9482e
Add more section headings
rhettinger Oct 23, 2020
| https://github.com/python/cpython/pull/22906/commits/1e9482e7678200af2e0e2197ed6f6d0ff39cd40f |
|
512fa4b
More wordsmithing
rhettinger Oct 23, 2020
| https://github.com/python/cpython/pull/22906/commits/512fa4b9bd43ef9beb7a242c04a50b565fbb3a69 |
|
0dc5f72
Wrap long lines
rhettinger Oct 23, 2020
| https://github.com/python/cpython/pull/22906/commits/0dc5f723fb7aad280494581ab4426152bca9ce9a |
|
10b9cd4
Clarify the motivation and the caller/callee relationship
rhettinger Oct 23, 2020
| https://github.com/python/cpython/pull/22906/commits/10b9cd4db8a9f6b22b34c610d8c086c66c8856f1 |
|
12b0fa2
Beautify technical tutorial sections
rhettinger Oct 23, 2020
| https://github.com/python/cpython/pull/22906/commits/12b0fa260155dc0500411e6ecd797b0c846af860 |
|
8ca8c77
Move comments of the the code and into the main text
rhettinger Oct 23, 2020
| https://github.com/python/cpython/pull/22906/commits/8ca8c77e324cf6f013f04e3c67978a2f1e53d451 |
|
cc22b88
Remove outdated references to Python 2 and new-style classes
rhettinger Oct 23, 2020
| https://github.com/python/cpython/pull/22906/commits/cc22b88421e8042960a8d73c8dfc709cf9cacfe6 |
|
Clear filters
| https://github.com/python/cpython/pull/22906/files |
| Please reload this page | https://github.com/python/cpython/pull/22906/files |
| Please reload this page | https://github.com/python/cpython/pull/22906/files |
|
glossary.rst
| https://github.com/python/cpython/pull/22906/files#diff-dfb52ee6e68075f904da6e69ed1799c5cbf1185c279968a807787d69ae2e8cf5 |
|
descriptor.rst
| https://github.com/python/cpython/pull/22906/files#diff-cd5dc4415c95a8ebaa765e9bc0b42495d8614295044502499ec66333c1ed6df9 |
|
susp-ignored.csv
| https://github.com/python/cpython/pull/22906/files#diff-f2d07d8e818b46b42f9fff17a09058c554e8cb6baa7fbfbdf77b266c97155f4e |
| Doc/glossary.rst | https://github.com/python/cpython/pull/22906/files#diff-dfb52ee6e68075f904da6e69ed1799c5cbf1185c279968a807787d69ae2e8cf5 |
|
View file
| https://github.com/rhettinger/cpython/blob/cc22b88421e8042960a8d73c8dfc709cf9cacfe6/Doc/glossary.rst |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/22906/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/22906/files#diff-dfb52ee6e68075f904da6e69ed1799c5cbf1185c279968a807787d69ae2e8cf5 |
|
| https://github.com/python/cpython/pull/22906/files#diff-dfb52ee6e68075f904da6e69ed1799c5cbf1185c279968a807787d69ae2e8cf5 |
| Please reload this page | https://github.com/python/cpython/pull/22906/files |
|
| 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 |