Title: GitHub · Where software is built
Open Graph Title: python/typeshed
X Title: python/typeshed
Description: Collection of library stubs for Python, with static types - python/typeshed
Open Graph Description: Collection of library stubs for Python, with static types - python/typeshed
X Description: Collection of library stubs for Python, with static types - python/typeshed
Opengraph URL: https://github.com/python/typeshed
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Improve multiprocessing stubs","articleBody":"stubtest finds a number of issues with the existing multiprocessing stubs. PRs that work toward fixing these (if they need fixing) are welcome, even if they're small!\r\n```\r\n~/dev/typeshed master λ python3.8 -m mypy.stubtest --custom-typeshed-dir . multiprocessing --concise \r\nmultiprocessing.Array is not a type\r\nmultiprocessing.Event is inconsistent, runtime does not have argument \"lock\"\r\nmultiprocessing.JoinableQueue is not a type\r\nmultiprocessing.Queue is not a type\r\nmultiprocessing.RawArray is not present in stub\r\nmultiprocessing.RawValue is not present in stub\r\nmultiprocessing.SimpleQueue is not a type\r\nmultiprocessing.Value is not a type\r\nmultiprocessing.reducer is not present in stub\r\nmultiprocessing.set_executable is inconsistent, stub argument \"exe\" differs from runtime argument \"executable\"\r\nmultiprocessing.context.BaseContext.Event is inconsistent, runtime does not have argument \"lock\"\r\nmultiprocessing.dummy.Namespace.__getattr__ is not present at runtime\r\nmultiprocessing.dummy.Pipe is not present in stub\r\nmultiprocessing.managers.BaseManager.shutdown is not present at runtime\r\nmultiprocessing.managers.Namespace.__getattr__ is not present at runtime\r\nmultiprocessing.managers.Server.__init__ is inconsistent, stub does not have argument \"registry\"\r\nmultiprocessing.managers.Server.__init__ is inconsistent, stub does not have argument \"address\"\r\nmultiprocessing.managers.Server.__init__ is inconsistent, stub does not have argument \"authkey\"\r\nmultiprocessing.managers.Server.__init__ is inconsistent, stub does not have argument \"serializer\"\r\nmultiprocessing.managers.Server.accept_connection is not present in stub\r\nmultiprocessing.managers.Server.accepter is not present in stub\r\nmultiprocessing.managers.Server.create is not present in stub\r\nmultiprocessing.managers.Server.debug_info is not present in stub\r\nmultiprocessing.managers.Server.decref is not present in stub\r\nmultiprocessing.managers.Server.dummy is not present in stub\r\nmultiprocessing.managers.Server.fallback_getvalue is not present in stub\r\nmultiprocessing.managers.Server.fallback_mapping is not present in stub\r\nmultiprocessing.managers.Server.fallback_repr is not present in stub\r\nmultiprocessing.managers.Server.fallback_str is not present in stub\r\nmultiprocessing.managers.Server.get_methods is not present in stub\r\nmultiprocessing.managers.Server.handle_request is not present in stub\r\nmultiprocessing.managers.Server.incref is not present in stub\r\nmultiprocessing.managers.Server.number_of_objects is not present in stub\r\nmultiprocessing.managers.Server.public is not present in stub\r\nmultiprocessing.managers.Server.serve_client is not present in stub\r\nmultiprocessing.managers.Server.shutdown is not present in stub\r\nmultiprocessing.managers.SharedMemoryServer.__init__ is inconsistent, stub does not have *args argument \"args\"\r\nmultiprocessing.managers.SharedMemoryServer.create is not present in stub\r\nmultiprocessing.managers.SharedMemoryServer.list_segments is not present in stub\r\nmultiprocessing.managers.SharedMemoryServer.public is not present in stub\r\nmultiprocessing.managers.SharedMemoryServer.release_segment is not present in stub\r\nmultiprocessing.managers.SharedMemoryServer.shutdown is not present in stub\r\nmultiprocessing.managers.SharedMemoryServer.track_segment is not present in stub\r\nmultiprocessing.managers.SyncManager.Barrier is not present in stub\r\nmultiprocessing.managers.SyncManager.Event is inconsistent, stub does not have *args argument \"args\"\r\nmultiprocessing.managers.SyncManager.JoinableQueue is not present in stub\r\nmultiprocessing.managers.SyncManager.Lock is inconsistent, stub does not have *args argument \"args\"\r\nmultiprocessing.managers.SyncManager.Namespace is inconsistent, stub does not have *args argument \"args\"\r\nmultiprocessing.managers.SyncManager.Pool is not present in stub\r\nmultiprocessing.managers.SyncManager.RLock is inconsistent, stub does not have *args argument \"args\"\r\nmultiprocessing.pool.ApplyResult.__init__ is inconsistent, stub does not have argument \"pool\"\r\nmultiprocessing.pool.ApplyResult.__init__ is inconsistent, stub does not have argument \"callback\"\r\nmultiprocessing.pool.ApplyResult.__init__ is inconsistent, stub does not have argument \"error_callback\"\r\nmultiprocessing.pool.CLOSE variable differs from runtime type Literal['CLOSE']\r\nmultiprocessing.pool.IMapIterator.__init__ is inconsistent, stub does not have argument \"pool\"\r\nmultiprocessing.pool.MapResult.__init__ is inconsistent, stub does not have argument \"pool\"\r\nmultiprocessing.pool.MapResult.__init__ is inconsistent, stub does not have argument \"chunksize\"\r\nmultiprocessing.pool.MapResult.__init__ is inconsistent, stub does not have argument \"length\"\r\nmultiprocessing.pool.MapResult.__init__ is inconsistent, stub does not have argument \"callback\"\r\nmultiprocessing.pool.MapResult.__init__ is inconsistent, stub does not have argument \"error_callback\"\r\nmultiprocessing.pool.Pool.Process is not present in stub\r\nmultiprocessing.pool.Pool.imap is inconsistent, stub argument \"iterable\" has a default value but runtime argument does not\r\nmultiprocessing.pool.Pool.imap_unordered is inconsistent, stub argument \"iterable\" has a default value but runtime argument does not\r\nmultiprocessing.pool.Pool.map is inconsistent, stub argument \"iterable\" has a default value but runtime argument does not\r\nmultiprocessing.pool.Pool.map_async is inconsistent, stub argument \"iterable\" has a default value but runtime argument does not\r\nmultiprocessing.pool.Pool.starmap is inconsistent, stub argument \"iterable\" has a default value but runtime argument does not\r\nmultiprocessing.pool.Pool.starmap_async is inconsistent, stub argument \"iterable\" has a default value but runtime argument does not\r\nmultiprocessing.pool.RUN variable differs from runtime type Literal['RUN']\r\nmultiprocessing.pool.TERMINATE variable differs from runtime type Literal['TERMINATE']\r\nmultiprocessing.pool.ThreadPool.Process is not present in stub\r\nmultiprocessing.queues.JoinableQueue.__init__ is inconsistent, stub argument \"ctx\" has a default value but runtime argument does not\r\nmultiprocessing.queues.Queue.__init__ is inconsistent, stub argument \"ctx\" has a default value but runtime argument does not\r\nmultiprocessing.queues.Queue.put_nowait is inconsistent, stub argument \"item\" differs from runtime argument \"obj\"\r\nmultiprocessing.queues.SimpleQueue.__init__ is inconsistent, stub argument \"ctx\" has a default value but runtime argument does not\r\nmultiprocessing.queues.SimpleQueue.put is inconsistent, stub argument \"item\" differs from runtime argument \"obj\"\r\nmultiprocessing.spawn._main is inconsistent, stub does not have argument \"parent_sentinel\"\r\nmultiprocessing.synchronize.Barrier.__init__ is inconsistent, runtime does not have *args argument \"ctx\"\r\nmultiprocessing.synchronize.Barrier.__init__ is inconsistent, stub does not have argument \"ctx\"\r\nmultiprocessing.synchronize.Condition.acquire is not present at runtime\r\nmultiprocessing.synchronize.Condition.release is not present at runtime\r\nmultiprocessing.synchronize.Event.__init__ is inconsistent, runtime does not have argument \"lock\"\r\nmultiprocessing.synchronize.SemLock.__init__ is inconsistent, stub does not have argument \"kind\"\r\nmultiprocessing.synchronize.SemLock.__init__ is inconsistent, stub does not have argument \"value\"\r\nmultiprocessing.synchronize.SemLock.__init__ is inconsistent, stub does not have argument \"maxvalue\"\r\nmultiprocessing.synchronize.SemLock.__init__ is inconsistent, stub does not have argument \"ctx\"\r\nmultiprocessing.synchronize.SemLock.acquire is not present at runtime\r\nmultiprocessing.synchronize.SemLock.release is not present at runtime\r\nmultiprocessing.synchronize.Semaphore.get_value is not present in stub\r\n```","author":{"url":"https://github.com/hauntsaninja","@type":"Person","name":"hauntsaninja"},"datePublished":"2020-06-26T05:44:05.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":16},"url":"https://github.com/4266/typeshed/issues/4266"}
| route-pattern | /:user_id/:repository/issues/:id(.:format) |
| route-controller | issues |
| route-action | show |
| fetch-nonce | v2:381aea1b-7827-75de-4b2d-b6403e22c9b7 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A6CE:2E1DE1:3D98DB:538608:69696CCD |
| html-safe-nonce | eb9e66014eae393eb9c8bee0e27e5dc20acfaf18248a03ffac1bb0f67cb7c51f |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBNkNFOjJFMURFMTozRDk4REI6NTM4NjA4OjY5Njk2Q0NEIiwidmlzaXRvcl9pZCI6IjgxMzc3NDgyMzQ4NDM1NDg4NzciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 34d0bbd18a3bede44440c16d6e4cca6358268311a0698b46456cd06f0d7bfe27 |
| hovercard-subject-tag | repository:31696383 |
| 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/python/typeshed/issues/4266 |
| twitter:image | https://opengraph.githubassets.com/a20a388f48668f263dc01fbbca1297d3e44e06a0c5a95d1eb87d56bd43a3855b/python/typeshed |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/a20a388f48668f263dc01fbbca1297d3e44e06a0c5a95d1eb87d56bd43a3855b/python/typeshed |
| og:image:alt | Collection of library stubs for Python, with static types - python/typeshed |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | c6f193beb8ff08443adc07685d75302ab8aaf0a135f6e251c3ff3112c8deb881 |
| turbo-cache-control | no-cache |
| 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 | ec4d88fbe7ed62446d90b0a6d8e6db4248a8f8b8 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width