Title: Error messages about stdlib modules not consistent · Issue #5351 · python/mypy · GitHub
Open Graph Title: Error messages about stdlib modules not consistent · Issue #5351 · python/mypy
X Title: Error messages about stdlib modules not consistent · Issue #5351 · python/mypy
Description: Using mypy from master, reporting a usability bug. Mypy seems to recognize standard library imports: /usr/local/lib/python3.6/dist-packages/dns/entropy.py:23: error: No library stub file for standard library module 'dummy_threading' But ...
Open Graph Description: Using mypy from master, reporting a usability bug. Mypy seems to recognize standard library imports: /usr/local/lib/python3.6/dist-packages/dns/entropy.py:23: error: No library stub file for standa...
X Description: Using mypy from master, reporting a usability bug. Mypy seems to recognize standard library imports: /usr/local/lib/python3.6/dist-packages/dns/entropy.py:23: error: No library stub file for standa...
Opengraph URL: https://github.com/python/mypy/issues/5351
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Error messages about stdlib modules not consistent","articleBody":"Using mypy from master, reporting a usability bug.\r\n\r\nMypy seems to recognize standard library imports:\r\n\r\n /usr/local/lib/python3.6/dist-packages/dns/entropy.py:23: error: No library stub file for standard library module 'dummy_threading'\r\n\r\nBut when I got an error message about \"encodings.idna\", I didn't think it was a stdlib module since Mypy used a different wording:\r\n\r\n /usr/local/lib/python3.6/dist-packages/dns/name.py:23: error: Cannot find module named 'encodings.idna'\r\n\r\nBut encodings.idna is in Python! See https://github.com/python/cpython/blob/master/Lib/encodings/idna.py\r\n\r\nThank you for your patience, I hope the bug report is good, please let me know if you need further information.","author":{"url":"https://github.com/ysangkok","@type":"Person","name":"ysangkok"},"datePublished":"2018-07-13T15:13:42Z","url":"https://github.com/python/mypy/issues/5351"}
| 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:c15d28d7-024f-9071-4032-9b0f45980ec2 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | CB12:2F0104:1148C9C:16C2F23:6B000C8B |
| html-safe-nonce | 3f6f406b0e06ca283260840f5d1ba6e22ea117852a1dfc2991536ccb0b5fd21f |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDQjEyOjJGMDEwNDoxMTQ4QzlDOjE2QzJGMjM6NkIwMDBDOEIiLCJ2aXNpdG9yX2lkIjoiNTc0MTY3MjQ3MjQ4MzIwNDIzNSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 6f4dd1ebdc14c602f5f09752046537ca9670474b56ddb44288e031509f05dd39 |
| hovercard-subject-tag | issue:341057483 |
| 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/mypy/5351/issue_layout |
| twitter:image | https://opengraph.githubassets.com/f5986e31d1211e8d40d6a6d66c7a5432bb18c10c7cafb3e34d00369482a28c70/python/mypy/issues/5351 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/f5986e31d1211e8d40d6a6d66c7a5432bb18c10c7cafb3e34d00369482a28c70/python/mypy/issues/5351 |
| og:image:alt | Using mypy from master, reporting a usability bug. Mypy seems to recognize standard library imports: /usr/local/lib/python3.6/dist-packages/dns/entropy.py:23: error: No library stub file for standa... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | ysangkok |
| hostname | github.com |
| expected-hostname | github.com |
| None | 0a0d8686a27478df474dd7415776a7a080cde8838b3cd92ea7601187572e5729 |
| turbo-cache-control | no-preview |
| go-import | github.com/python/mypy git https://github.com/python/mypy.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 7053637 |
| octolytics-dimension-repository_nwo | python/mypy |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 7053637 |
| octolytics-dimension-repository_network_root_nwo | python/mypy |
| 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 | 16a11879678aaf97e2a42c33ee70830aa084fa37 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width