[issue41559] Add support for PEP 612 (Parameter Specification Variables) to typing.py

2021-04-28 Thread Guido van Rossum
Guido van Rossum added the comment: Thanks for your major contribution, Ken! Agreed, that bugfix can come later. -- ___ Python tracker ___

[issue41559] Add support for PEP 612 (Parameter Specification Variables) to typing.py

2021-04-28 Thread Ken Jin
Ken Jin added the comment: The last of the patches have landed. Guido, thank you so much for helping me through this 5 month long process. Please enjoy your vacation! PS: I need to send in a bugfix for typing.py later to ignore ``ParamSpec`` in the ``__parameters__`` of invalid locations

[issue41559] Add support for PEP 612 (Parameter Specification Variables) to typing.py

2021-04-28 Thread Guido van Rossum
Guido van Rossum added the comment: New changeset 859577c24981d6b36960d309f99f7fc810fe75c2 by Ken Jin in branch 'master': bpo-41559: Change PEP 612 implementation to pure Python (#25449) https://github.com/python/cpython/commit/859577c24981d6b36960d309f99f7fc810fe75c2 --

[issue41559] Add support for PEP 612 (Parameter Specification Variables) to typing.py

2021-04-16 Thread Guido van Rossum
Guido van Rossum added the comment: Yeah, like this idea. Let’s get this in before beta 1. -- nosy: +Guido.van.Rossum ___ Python tracker ___

[issue41559] Add support for PEP 612 (Parameter Specification Variables) to typing.py

2021-04-16 Thread Ken Jin
Change by Ken Jin : -- pull_requests: +24178 pull_request: https://github.com/python/cpython/pull/25449 ___ Python tracker ___ ___

[issue41559] Add support for PEP 612 (Parameter Specification Variables) to typing.py

2021-04-16 Thread Ken Jin
Ken Jin added the comment: Guido, I hope I didn't choose a bad time to send this PR over (I suspect you may already be flooded by emails about PEP 563). The jist of the PR is that it's possible to implement PEP 612 in pure-Python. Specifically, PEP 612 says: > As before,

[issue41559] Add support for PEP 612 (Parameter Specification Variables) to typing.py

2021-02-12 Thread Ken Jin
Ken Jin added the comment: Hi Guido, after a month of observing how people stumbled over the related collections.abc.Callable bugs, and experience from implementing this PEP, I learnt a few things which I think may interest you: Previously it was *recommended* that everything in typing be

[issue41559] Add support for PEP 612 (Parameter Specification Variables) to typing.py

2021-01-02 Thread Ken Jin
Change by Ken Jin : -- pull_requests: +22890 pull_request: https://github.com/python/cpython/pull/24056 ___ Python tracker ___ ___

[issue41559] Add support for PEP 612 (Parameter Specification Variables) to typing.py

2021-01-01 Thread Ken Jin
Ken Jin added the comment: I have just one more PR - one that converts genericalias nested lists to tuples by default. It'll simplify the code a little bit and prepare 3.9.x for PEP 612. -- ___ Python tracker

[issue41559] Add support for PEP 612 (Parameter Specification Variables) to typing.py

2021-01-01 Thread Guido van Rossum
Guido van Rossum added the comment: Looks like we can close this now, right? You can open a separate issue in the python/typing repo to update typing_extensions. -- ___ Python tracker

[issue41559] Add support for PEP 612 (Parameter Specification Variables) to typing.py

2021-01-01 Thread Guido van Rossum
Guido van Rossum added the comment: New changeset 11276cd9c49faea66ce7760f26a238d1edbf6421 by Ken Jin in branch 'master': bpo-41559: Documentation for PEP 612 (GH-24000) https://github.com/python/cpython/commit/11276cd9c49faea66ce7760f26a238d1edbf6421 --

[issue41559] Add support for PEP 612 (Parameter Specification Variables) to typing.py

2020-12-29 Thread Ken Jin
Change by Ken Jin : -- pull_requests: +22842 pull_request: https://github.com/python/cpython/pull/24000 ___ Python tracker ___ ___

[issue41559] Add support for PEP 612 (Parameter Specification Variables) to typing.py

2020-12-23 Thread Ken Jin
Ken Jin added the comment: Thanks for the extremely helpful reviews and help in this Guido! Sure, I'll probably start work on that next week, slightly busy with life right now. After that I'll work on docs. -- ___ Python tracker

[issue41559] Add support for PEP 612 (Parameter Specification Variables) to typing.py

2020-12-23 Thread Guido van Rossum
Guido van Rossum added the comment: Huge thanks! I think the next step is to port the essence to typing_extensions, which has to work for anything from 3.5 up (or maybe 3.6), *including* 3.10 and above. https://github.com/python/typing/tree/master/typing_extensions Honestly maybe we could

[issue41559] Add support for PEP 612 (Parameter Specification Variables) to typing.py

2020-12-23 Thread Guido van Rossum
Guido van Rossum added the comment: New changeset 73607be68668ab7f4bee53507c8dc7b5a46c9cb4 by kj in branch 'master': bpo-41559: Implement PEP 612 - Add ParamSpec and Concatenate to typing (#23702) https://github.com/python/cpython/commit/73607be68668ab7f4bee53507c8dc7b5a46c9cb4 --

[issue41559] Add support for PEP 612 (Parameter Specification Variables) to typing.py

2020-12-13 Thread Guido van Rossum
Guido van Rossum added the comment: This is now unblocked now that GH-23060 has landed. -- ___ Python tracker ___ ___

[issue41559] Add support for PEP 612 (Parameter Specification Variables) to typing.py

2020-12-11 Thread Raymond Hettinger
Change by Raymond Hettinger : -- title: Add support for PEP 612 to typing.py -> Add support for PEP 612 (Parameter Specification Variables) to typing.py ___ Python tracker