Title: Support `__getattr__` method in AC · Issue #140382 · python/cpython · GitHub
Open Graph Title: Support `__getattr__` method in AC · Issue #140382 · python/cpython
X Title: Support `__getattr__` method in AC · Issue #140382 · python/cpython
Description: I tried to convert the function to Argument Clinic, but it failed, oh! Error in file 'Modules/zlibmodule.c' on line 2019: '__getattr__' is a special method and cannot be converted to Argument Clinic! Originally posted by @vstinner Would ...
Open Graph Description: I tried to convert the function to Argument Clinic, but it failed, oh! Error in file 'Modules/zlibmodule.c' on line 2019: '__getattr__' is a special method and cannot be converted to Argument Clini...
X Description: I tried to convert the function to Argument Clinic, but it failed, oh! Error in file 'Modules/zlibmodule.c' on line 2019: '__getattr__' is a special method and cannot be converted t...
Opengraph URL: https://github.com/python/cpython/issues/140382
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Support `__getattr__` method in AC","articleBody":"\u003e I tried to convert the function to Argument Clinic, but it failed, oh!\n\u003e\n\u003e Error in file 'Modules/zlibmodule.c' on line 2019:\n\u003e `'__getattr__' is a special method and cannot be converted to Argument Clinic!`\n\n_Originally posted by @vstinner_\n\n\u003e Would this be a valid feature request for AC or it’s somehow impossible?\n\n_Originally posted by @merwok in https://github.com/python/cpython/pull/140130#discussion_r2443367373_\n \n\n\u003c!-- gh-linked-prs --\u003e\n### Linked PRs\n* gh-140376\n\u003c!-- /gh-linked-prs --\u003e\n","author":{"url":"https://github.com/StanFromIreland","@type":"Person","name":"StanFromIreland"},"datePublished":"2025-10-20T18:11:38.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/140382/cpython/issues/140382"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:ff46660b-c6f9-3f60-a95b-26a6c36a5987 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | CBAE:11B239:3307349:4646B39:6A50899E |
| html-safe-nonce | ff2112a061256d95d58c1fd89554ae245fd394c12591f3facf64bdd3f311ff56 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDQkFFOjExQjIzOTozMzA3MzQ5OjQ2NDZCMzk6NkE1MDg5OUUiLCJ2aXNpdG9yX2lkIjoiMjQ4NTIxMDc5NjcxNzU0MTc5MCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | f5243c8103c8b1d53b6db1cb0afd819c5b958d52a7b47ac31bd372eb671febad |
| hovercard-subject-tag | issue:3533426493 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/python/cpython/140382/issue_layout |
| twitter:image | https://opengraph.githubassets.com/e8c72e2bdd8572d7205fc3006922bb1686a5e737d495c29efbfbdf95afc1f8f4/python/cpython/issues/140382 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/e8c72e2bdd8572d7205fc3006922bb1686a5e737d495c29efbfbdf95afc1f8f4/python/cpython/issues/140382 |
| og:image:alt | I tried to convert the function to Argument Clinic, but it failed, oh! Error in file 'Modules/zlibmodule.c' on line 2019: '__getattr__' is a special method and cannot be converted to Argument Clini... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | StanFromIreland |
| hostname | github.com |
| expected-hostname | github.com |
| None | d6dc8294eb500fa36bbc57472d61fe87c522f9c3c1d64f70f4926f66a66a7efb |
| 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 | 7ac0ad2f2c7e4b9056617355fd9e33e22b0c8df9 |
| ui-target | canary-1 |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width