Title: Add `__init__` to `subprocess.Popen` · Issue #3363 · python/typeshed · GitHub
Open Graph Title: Add `__init__` to `subprocess.Popen` · Issue #3363 · python/typeshed
X Title: Add `__init__` to `subprocess.Popen` · Issue #3363 · python/typeshed
Description: Are you reporting a bug, or opening a feature request? Bug Please insert below the code you are checking with mypy, or a mock-up repro if the source is private. We would appreciate if you try to simplify your case to a minimal repro. imp...
Open Graph Description: Are you reporting a bug, or opening a feature request? Bug Please insert below the code you are checking with mypy, or a mock-up repro if the source is private. We would appreciate if you try to si...
X Description: Are you reporting a bug, or opening a feature request? Bug Please insert below the code you are checking with mypy, or a mock-up repro if the source is private. We would appreciate if you try to si...
Opengraph URL: https://github.com/python/typeshed/issues/3363
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Add `__init__` to `subprocess.Popen`","articleBody":"* Are you reporting a bug, or opening a feature request?\r\nBug\r\n\r\n* Please insert below the code you are checking with mypy,\r\n or a mock-up repro if the source is private. We would appreciate\r\n if you try to simplify your case to a minimal repro.\r\n\r\n```python\r\nimport subprocess\r\n\r\nclass MyPopen(subprocess.Popen):\r\n\r\n def __init__(self) -> None:\r\n args = ['echo', 'test']\r\n super().__init__(\r\n args=args,\r\n )\r\n```\r\n\r\n* What is the actual behavior/output?\r\n```\r\n$ python -m mypy mypy_subprocess.py\r\nmypy_subprocess.py:9: error: Unexpected keyword argument \"args\" for \"__init__\" of \"object\"\r\nFound 1 error in 1 file (checked 1 source file)\r\n```\r\n\r\n* What are the versions of mypy and Python you are using?\r\n```\r\n$ python -m mypy --version\r\nmypy 0.740+dev.742d33a41271206d6eb7dd2e4b04659de4683597\r\n\r\n$ python --version\r\nPython 3.7.4\r\n```","author":{"url":"https://github.com/actionless","@type":"Person","name":"actionless"},"datePublished":"2019-10-10T22:49:21Z","url":"https://github.com/python/typeshed/issues/3363"}
| 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:51ef5650-9690-0528-1fbe-146f3bc9a88e |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 93AE:9E1B2:2639E69:31F6463:6AFFFB1F |
| html-safe-nonce | 49a4ae9c9fcdab0f2c0f27febed96b298468111d95e8d599e434b4ada44be62d |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5M0FFOjlFMUIyOjI2MzlFNjk6MzFGNjQ2Mzo2QUZGRkIxRiIsInZpc2l0b3JfaWQiOiI0MjIyNjUxNjEwNTgyNDgxNjk1IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 8556b20d9c20b17d1ada67146705beaed61e8c92f615ab7293ab77f918326973 |
| hovercard-subject-tag | issue:506733705 |
| 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/3363/issue_layout |
| twitter:image | https://opengraph.githubassets.com/16f003a8e1850cf5975d72bb65da63483acf2cfd2345474ac035b08f446776ef/python/typeshed/issues/3363 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/16f003a8e1850cf5975d72bb65da63483acf2cfd2345474ac035b08f446776ef/python/typeshed/issues/3363 |
| og:image:alt | Are you reporting a bug, or opening a feature request? Bug Please insert below the code you are checking with mypy, or a mock-up repro if the source is private. We would appreciate if you try to si... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | actionless |
| hostname | github.com |
| expected-hostname | github.com |
| None | 0a0d8686a27478df474dd7415776a7a080cde8838b3cd92ea7601187572e5729 |
| 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 | 16a11879678aaf97e2a42c33ee70830aa084fa37 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width