Title: Use Protocols to annotate python3 <= 3.6 `compileall` argument · Issue #3480 · python/typeshed · GitHub
Open Graph Title: Use Protocols to annotate python3 <= 3.6 `compileall` argument · Issue #3480 · python/typeshed
X Title: Use Protocols to annotate python3 <= 3.6 `compileall` argument · Issue #3480 · python/typeshed
Description: in stdib/3/compileall.pyi, there's a comment # rx can be any object with a 'search' method; once we have Protocols we can change the type. Since we have Protocols, we can do this. history The comment was introduced on Mar 18, 2017 by @Je...
Open Graph Description: in stdib/3/compileall.pyi, there's a comment # rx can be any object with a 'search' method; once we have Protocols we can change the type. Since we have Protocols, we can do this. history The comme...
X Description: in stdib/3/compileall.pyi, there's a comment # rx can be any object with a 'search' method; once we have Protocols we can change the type. Since we have Protocols, we can do this. histo...
Opengraph URL: https://github.com/python/typeshed/issues/3480
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Use Protocols to annotate python3 \u003c= 3.6 `compileall` argument","articleBody":"in [stdib/3/compileall.pyi](https://github.com/python/typeshed/blob/master/stdlib/3/compileall.pyi#L14), there's a comment \r\n\u003e `# rx can be any object with a 'search' method; once we have Protocols we can change the type`.\r\n\r\nSince we have Protocols, we can do this.\r\n \r\n\u003cdetails\u003e\u003csummary\u003ehistory\u003c/summary\u003e\r\nThe comment was introduced on Mar 18, 2017 by @JelleZijlstra in commit efdf2f1b1, and came up in the review of #3476.\r\n\u003c/details\u003e ","author":{"url":"https://github.com/SKalt","@type":"Person","name":"SKalt"},"datePublished":"2019-11-23T14:32:30.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/3480/typeshed/issues/3480"}
| 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:7ad06a99-ad4b-ad47-63ed-1ea5c057faad |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8AFC:24B668:1479110:1B6C9AE:6969A20B |
| html-safe-nonce | 64e58add84aad5e3dad66d11c909621830b892c8c86bdc9d1e3aed4b9d7cbe80 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4QUZDOjI0QjY2ODoxNDc5MTEwOjFCNkM5QUU6Njk2OUEyMEIiLCJ2aXNpdG9yX2lkIjoiODcwMDk3NzAzNzc1MzQ3MjExIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | bfc0ef8825317d478b1bdd9706d19b1d8094e37ee17def5b4794283f678be736 |
| hovercard-subject-tag | issue:527564225 |
| 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/3480/issue_layout |
| twitter:image | https://opengraph.githubassets.com/5b0f041d0c4b9ac58b7f6858b696cb748f20e367a49afd2285f00f702059e10e/python/typeshed/issues/3480 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/5b0f041d0c4b9ac58b7f6858b696cb748f20e367a49afd2285f00f702059e10e/python/typeshed/issues/3480 |
| og:image:alt | in stdib/3/compileall.pyi, there's a comment # rx can be any object with a 'search' method; once we have Protocols we can change the type. Since we have Protocols, we can do this. history The comme... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | SKalt |
| hostname | github.com |
| expected-hostname | github.com |
| None | 24c4c97a2d520cb286b35e1a4c22d7a4df3c26a2fa28dd7cdf0e65db327b4de7 |
| 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 | 124667f43168afb6c9c03b7c02eb5b1d2e1be3d9 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width