Title: Module 'stat' has no attribute 'filemode' · Issue #1836 · python/typeshed · GitHub
Open Graph Title: Module 'stat' has no attribute 'filemode' · Issue #1836 · python/typeshed
X Title: Module 'stat' has no attribute 'filemode' · Issue #1836 · python/typeshed
Description: from stat import filemode $ mypy test1.py test1.py:1: error: Module 'stat' has no attribute 'filemode' Looking in my copy of typeshed/stdlib, I see that 3/stat.pyi does not contain a stub for filemode. 3.4/_stat.pyi does, but mypy does n...
Open Graph Description: from stat import filemode $ mypy test1.py test1.py:1: error: Module 'stat' has no attribute 'filemode' Looking in my copy of typeshed/stdlib, I see that 3/stat.pyi does not contain a stub for filem...
X Description: from stat import filemode $ mypy test1.py test1.py:1: error: Module 'stat' has no attribute 'filemode' Looking in my copy of typeshed/stdlib, I see that 3/stat.pyi does not contain ...
Opengraph URL: https://github.com/python/typeshed/issues/1836
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Module 'stat' has no attribute 'filemode'","articleBody":"```python\r\nfrom stat import filemode\r\n```\r\n\r\n```\r\n$ mypy test1.py\r\ntest1.py:1: error: Module 'stat' has no attribute 'filemode'\r\n```\r\n\r\nLooking in my copy of typeshed/stdlib, I see that `3/stat.pyi` does not contain a stub for `filemode`. `3.4/_stat.pyi` does, but mypy does not see it there.\r\n\r\nWhat is the right way to deal with that?","author":{"url":"https://github.com/yurikhan","@type":"Person","name":"yurikhan"},"datePublished":"2018-01-20T16:51:41Z","url":"https://github.com/python/typeshed/issues/1836"}
| 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:79880d0f-1ea2-82b3-248a-525e4e126bd2 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8A8E:37BEAD:204FEB1:2BFB5EA:6B001EF3 |
| html-safe-nonce | 87d42de8d6260916d6af6c97256cea0b75eaced454ffed3d323ca86d1f47f71c |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4QThFOjM3QkVBRDoyMDRGRUIxOjJCRkI1RUE6NkIwMDFFRjMiLCJ2aXNpdG9yX2lkIjoiMTcxMDc2OTA2ODc0MDQ1MjA4MyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 3bd3b2351fb53d8282ca9bee7de6a2f6fc223b40a58adccf1399e5700758127b |
| hovercard-subject-tag | issue:290205691 |
| 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/1836/issue_layout |
| twitter:image | https://opengraph.githubassets.com/cba79687fc461a6bb13b9f600d009c7d3ca29853f4b17b5b97f1323ba689646d/python/typeshed/issues/1836 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/cba79687fc461a6bb13b9f600d009c7d3ca29853f4b17b5b97f1323ba689646d/python/typeshed/issues/1836 |
| og:image:alt | from stat import filemode $ mypy test1.py test1.py:1: error: Module 'stat' has no attribute 'filemode' Looking in my copy of typeshed/stdlib, I see that 3/stat.pyi does not contain a stub for filem... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | yurikhan |
| hostname | github.com |
| expected-hostname | github.com |
| None | 4eb4cba0d69f045374ac15de9666d22b0961e1d555cc3824f36b7734c00c78e0 |
| 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 | 44c658b24abf00491fb7ae5f56d42c9f38cbeab2 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width