Alex Waygood

Results 901 comments of Alex Waygood

I updated the PR: I abandoned the attempt to describe a generalised concept of "closed types"; instead, I now just attempt to describe final nominal types (classes explicitly decorated wtih...

I've once again reworked the final section of this substantially, because I realised my last draft still had some inaccuracies. For example, I wrote that: > a final type in...

> Do you still want to land this? yes

> With #17376 being merged we should be able to check off `enum.nonmember`, no? Done

> The summary is half honest haha. The biggest change is that this is pr migrates to Clap just a means to an end ;)

Actually it looks like this is pretty doable

https://github.com/python/typing_extensions/pull/397 implements the correct behaviour on Python >=3.11.1. I don't know if it's feasible to backport it on earlier versions of Python, or if we should just document that it's...

> This runs fine for me on MacOS using Python 3.12. Which platform are you using? I'm also using Python 3.12 on MacOS. Possibly more relevantly, both my Python 3.12...

I fixed things up locally so that `python3.11` resolves to a pyenv 3.11 shim that executes Python 3.11 in my shell; this fixed things for me. It should still be...

This is no longer relevant following https://github.com/python/typing/pull/2010