Title: Remove `function` from builtins · Issue #2999 · python/typeshed · GitHub
Open Graph Title: Remove `function` from builtins · Issue #2999 · python/typeshed
X Title: Remove `function` from builtins · Issue #2999 · python/typeshed
Description: There's a class function in builtins.pyi. There's also a mention to remove it: # TODO not defined in builtins!. I feel like this was probably created for mypy? As an alternative I would suggest using types.pyi's FunctionType. I personall...
Open Graph Description: There's a class function in builtins.pyi. There's also a mention to remove it: # TODO not defined in builtins!. I feel like this was probably created for mypy? As an alternative I would suggest usi...
X Description: There's a class function in builtins.pyi. There's also a mention to remove it: # TODO not defined in builtins!. I feel like this was probably created for mypy? As an alternative I would sug...
Opengraph URL: https://github.com/python/typeshed/issues/2999
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Remove `function` from builtins","articleBody":"There's a `class function` in `builtins.pyi`. There's also a mention to remove it: `# TODO not defined in builtins!`. I feel like this was probably created for mypy? As an alternative I would suggest using `types.pyi`'s `FunctionType`.\r\n\r\nI personally have to patch typeshed to remove this for Jedi. Why is this there and is it still needed? I'm happy to create a PR for this.","author":{"url":"https://github.com/davidhalter","@type":"Person","name":"davidhalter"},"datePublished":"2019-05-19T11:11:13Z","url":"https://github.com/python/typeshed/issues/2999"}
| react-profiling | 0 |
| react-import-map | react,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/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:ca0c0561-56a4-5980-f7c2-026daea3c410 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8D40:C6D27:68B0C:93AEF:6B004FD9 |
| html-safe-nonce | 029eede1c3987e34fc7fe1bfde85e224398b598dedc513e56755a08340eae112 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4RDQwOkM2RDI3OjY4QjBDOjkzQUVGOjZCMDA0RkQ5IiwidmlzaXRvcl9pZCI6IjQxNjcwNTgyNzExNjI2MTc4MTciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 6d230205563e901a1c048a929b4f559b0c750bc3c543a78452f2aa559868ba68 |
| hovercard-subject-tag | issue:445807418 |
| 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/typeshed/2999/issue_layout |
| twitter:image | https://opengraph.githubassets.com/a630611e886f01a76e8f2b9cfece6385cf3fdaf148aba79fb530f299fc881934/python/typeshed/issues/2999 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/a630611e886f01a76e8f2b9cfece6385cf3fdaf148aba79fb530f299fc881934/python/typeshed/issues/2999 |
| og:image:alt | There's a class function in builtins.pyi. There's also a mention to remove it: # TODO not defined in builtins!. I feel like this was probably created for mypy? As an alternative I would suggest usi... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | davidhalter |
| hostname | github.com |
| expected-hostname | github.com |
| None | f420f4996e6b1ff1ccd6d7683f8134f4b5f0f8a50124c210dbfe7490e5644abb |
| turbo-cache-control | no-preview |
| go-import | github.com/python/typeshed git https://github.com/python/typeshed.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 31696383 |
| octolytics-dimension-repository_nwo | python/typeshed |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 31696383 |
| octolytics-dimension-repository_network_root_nwo | python/typeshed |
| 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 | 26e00df917aba0f128135dc073ea0c5e33a70d40 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width