typeshed
typeshed copied to clipboard
Collection of library stubs for Python, with static types
After #14063, calls to `psutil.process_iter` and `psutil.Process.as_dict` are being reported by Pyright, as the `ad_value` parameter is untyped. However, given that (from the documentation) this is just a placeholder value...
For the longest time using clang as been rather annoying on python 3 since the entire library lacks typehinting and I have been using clang for developing bindings as well...
Closes: #13834
Would close https://github.com/python/typeshed/issues/13974, but as previously mentioned, there's some blockers from uv: - https://github.com/astral-sh/uv/issues/9683#issuecomment-2705480073 - https://github.com/astral-sh/uv/issues/9258#issuecomment-2705491878 - (See the CI error) AFAIK there's currently no way to have a dependency...
#12558 by @ZeroIntensity (since the branch was deleted) but without the Python 3.16 mention I didn't scope the deprecation to only 3.14+ because I think any non-EOL Python version has...
This is https://learn.microsoft.com/en-us/windows/win32/api/commctrl/nf-commctrl-_trackmouseevent pywin32 itself explicitly exposes it: https://mhammond.github.io/pywin32/win32gui___TrackMouseEvent_meth.html
Closes: #13446
We get intermittent failures in CI during the "pyright: Run test cases" step. The failure is always consistent between all three platform this test runs on, and also look consistent...
https://github.com/python/mypy/issues/14032 has been fixed in mypy 1.11.0 (I didn't go as far as to search for the exact commit). This updates `operator.itemgetter` to include a change I originally wanted to...