[issue44794] Merge tests for typing.Callable and collection.abc.Callable

2021-07-31 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- Removed message: https://bugs.python.org/msg398654 ___ Python tracker ___ ___ Python-bugs-list maili

[issue44794] Merge tests for typing.Callable and collection.abc.Callable

2021-07-31 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: There is also similar bug in Generic: >>> from typing import * >>> T = TypeVar("T") >>> P = ParamSpec("P") >>> class X(Generic[T, P]): ... f: Callable[P, int] ... x: T ... >>> P_2 = ParamSpec("P_2") >>> X[int, P_2, str] __main__.X[int, ~P_2] --

[issue44794] Merge tests for typing.Callable and collection.abc.Callable

2021-07-31 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue44794] Merge tests for typing.Callable and collection.abc.Callable

2021-07-31 Thread miss-islington
miss-islington added the comment: New changeset 76903ff9ce2d28f542c44ba97aa043dde8b55daa by Miss Islington (bot) in branch '3.10': bpo-44794: Merge tests for typing.Callable and collection.abc.Callable (GH-27507) https://github.com/python/cpython/commit/76903ff9ce2d28f542c44ba97aa043dde8b55d

[issue44794] Merge tests for typing.Callable and collection.abc.Callable

2021-07-31 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset be4cb9089aaf58d5f90da5f9fa66dc3c6763b5a2 by Serhiy Storchaka in branch 'main': bpo-44794: Merge tests for typing.Callable and collection.abc.Callable (GH-27507) https://github.com/python/cpython/commit/be4cb9089aaf58d5f90da5f9fa66dc3c6763b5a2

[issue44794] Merge tests for typing.Callable and collection.abc.Callable

2021-07-31 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 3.0 -> 4.0 pull_requests: +26029 pull_request: https://github.com/python/cpython/pull/27514 ___ Python tracker _

[issue44794] Merge tests for typing.Callable and collection.abc.Callable

2021-07-31 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- keywords: +patch pull_requests: +26021 stage: -> patch review pull_request: https://github.com/python/cpython/pull/27507 ___ Python tracker ___

[issue44794] Merge tests for typing.Callable and collection.abc.Callable

2021-07-31 Thread Serhiy Storchaka
New submission from Serhiy Storchaka : The proposed PR merges tests for typing.Callable (in test_typing.py) and collection.abc.Callable (in test_genericalias.py). All old tests are now executed for both implementations. It has exposed a bug in typing.Callable (see issue44793) and minor bug in