| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
This is added to all protocol classes on Python 3.12.2+ (it was added in a patch release of 3.12 as part of a bugfix). There's no reason why you'd want to explicitly include it in a stub (and doing so would lead the type checker to incorrectly conclude that you wanted a member literally called `__non_callable_proto_members__`) Cf. python/typeshed#11384 and python/typeshed#11383 (cherry picked from commit 517f5ae)
|
Windows test seems to be flaky again. Would need a restart. |
Sorry, something went wrong.
|
I retried once and it failed again, and it also failed on #16900 with a similar traceback (infinite recursion in shutil). This might be a real problem though it's unlikely to be related to this PR. |
Sorry, something went wrong.
Yeah. I've seen this as well on some other PRs, #16897 for example. It's always one of the mypy/test/testdaemon.py tests with windows-64 and a max recursion error. Not sure though what's really causing the issue. I did a small run on my fork just for the testdeamon.py tests and everything seems to be fine. That would leave some differences in the action runners which could sometimes trigger it 🤔 https://github.com/cdce8p/mypy/actions/runs/7855994392/job/21438300911#step:8:21 Anyway, I'm not sure this should block any of the PRs. Those could be merged as is, IMO. |
Sorry, something went wrong.
IIRC it's a windows-only bug in the stdlib that only sometimes occurs (some kind of race condition), and was fixed on newer versions of Python but not backported as far as py38. Don't quote me on that though. |
Sorry, something went wrong.
Probably true, but the second retry succeeded anyway :) |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
This is added to all protocol classes on Python 3.12.2+ (it was added in a patch release of 3.12 as part of a bugfix). There's no reason why you'd want to explicitly include it in a stub (and doing so would lead the type checker to incorrectly conclude that you wanted a member literally called __non_callable_proto_members__)
Cf. python/typeshed#11384 and python/typeshed#11383
(cherry picked from commit 517f5ae)