Title: PEP 561: Clarify the rules for extension only packages · Issue #2318 · python/peps · GitHub
Open Graph Title: PEP 561: Clarify the rules for extension only packages · Issue #2318 · python/peps
X Title: PEP 561: Clarify the rules for extension only packages · Issue #2318 · python/peps
Description: PEP-0561 does not mention extension packages, packages that consist of just an .so file. Given that PEP-484 mentions extension modules as a use case for stub files, should PEP-561 make it more clear what the ideal layout of an extension ...
Open Graph Description: PEP-0561 does not mention extension packages, packages that consist of just an .so file. Given that PEP-484 mentions extension modules as a use case for stub files, should PEP-561 make it more clea...
X Description: PEP-0561 does not mention extension packages, packages that consist of just an .so file. Given that PEP-484 mentions extension modules as a use case for stub files, should PEP-561 make it more clea...
Opengraph URL: https://github.com/python/peps/issues/2318
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"PEP 561: Clarify the rules for extension only packages","articleBody":"PEP-0561 does not mention extension packages, packages that consist of just an .so file. Given that PEP-484 mentions extension modules as a use case for stub files, should PEP-561 make it more clear what the ideal layout of an extension only package is?\r\nIt appears to be valid to have a package structure like the following:\r\n\r\n```\r\n.../site-packages/\r\n mypackage/\r\n __init__.pyi\r\n py.typed\r\n mypackage.cpython-37m-x86_64-linux-gnu.so\r\n```","author":{"url":"https://github.com/AWhetter","@type":"Person","name":"AWhetter"},"datePublished":"2022-02-09T00:42:23.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":4},"url":"https://github.com/2318/peps/issues/2318"}
| 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:61b5da42-20d5-801c-774b-b4b3c38bd348 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B716:3F3654:11FA95:124F07:6A60FB79 |
| html-safe-nonce | b72425fca242cb1dba28e87e2e93bfa3dd5a838ac3bde9980ce3c186e5a27514 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCNzE2OjNGMzY1NDoxMUZBOTU6MTI0RjA3OjZBNjBGQjc5IiwidmlzaXRvcl9pZCI6IjIxMzc5MzY2NzE5MjUxNDAzNDUiLCJyZWdpb25fZWRnZSI6InNlYSIsInJlZ2lvbl9yZW5kZXIiOiJzZWEifQ== |
| visitor-hmac | 028d8534d695df5a8dcbe42f11832d8177c6f6b844f775b122a14cf559d6c8ad |
| hovercard-subject-tag | issue:1127910123 |
| 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/peps/2318/issue_layout |
| twitter:image | https://opengraph.githubassets.com/c191107210106ee1b8c46c990067029fd48b663945b49eac456a8398c675e0e2/python/peps/issues/2318 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/c191107210106ee1b8c46c990067029fd48b663945b49eac456a8398c675e0e2/python/peps/issues/2318 |
| og:image:alt | PEP-0561 does not mention extension packages, packages that consist of just an .so file. Given that PEP-484 mentions extension modules as a use case for stub files, should PEP-561 make it more clea... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | AWhetter |
| hostname | github.com |
| expected-hostname | github.com |
| None | 40a35f8d38abec207dcde39ffae0c0d14012c6d27b769f13fdac3ab78dc77ebe |
| turbo-cache-control | no-preview |
| go-import | github.com/python/peps git https://github.com/python/peps.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 13414105 |
| octolytics-dimension-repository_nwo | python/peps |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 13414105 |
| octolytics-dimension-repository_network_root_nwo | python/peps |
| 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 | ef41e0ca8cf502957b8d49077bbe7c8dcdcbb037 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width