Alex Waygood

Results 901 comments of Alex Waygood

> One thing that we need to implement as part of this is a vendored filesystem. It's not a functionality but a task to complete on our way to get...

We can't call ourself PEP-561-compliant until we do this, which is still outstanding, and important. It's not huge, but also not trivial: > * [ ] Add support for stubs...

> Are you suggesting that mypy can handle any cyclic import situation? (I can't find docs on that, but plenty of issues that are still open.) No, of course it...

> Would this kinda fix itself (at least for stubs) once all major type-checkers fully support the new `type` syntax? Maybe, but we won't be dropping support for Python 3.11...

Okay, I strongly suspect this is because of this delightful part of `typing.py`: https://github.com/python/cpython/blob/8ad88984200b2ccddc0a08229dd2f4c14d1a71fc/Lib/typing.py#L1784-L1790 I'll investigate more tomorrow.

Thanks for the clear bug report, @AdrianSosic!

Sorry, I haven't had a chance to look at this properly yet. But thanks for the ping. Please feel free to ping me again if I haven't responded in ~2...

If I haven't got to it by then, I'll definitely look at this at the PyCon Sprints (week commencing 20th May)

At least two commits changed the behaviour of this snippet between Python 3.11 and Python 3.12: - The first commit that changed behaviour was b27fe67f3c643e174c3619b669228ef34b6d87ee. Prior to this commit, the...