gh-87390: Add tests demonstrating current type variable substitution behaviour by mrahtz · Pull Request #32341 · python/cpython

bedevere-bot · GitHub

@mrahtz
gvanrossum
@mrahtz
@mrahtz
@mrahtz
@mrahtz
@mrahtz
@mrahtz
@mrahtz

mrahtz

marked this pull request as ready for review

April 10, 2022 09:40

@mrahtz
JelleZijlstra
@mrahtz
@mrahtz
@mrahtz
@mrahtz

mrahtz

changed the title bpo-47006: Add tests demonstrating current type variable substitution behaviourgh-87390: Add tests demonstrating current type variable substitution behaviour

Apr 11, 2022

@mrahtz

Closed

@mrahtz
@mrahtz
pradeep90
pradeep90

JelleZijlstra

added a commit to JelleZijlstra/typing that referenced this pull request

Apr 15, 2022

@JelleZijlstra

- Defer to the PEP 646 implementation in typing.py on 3.11 - Adjust some tests accordingly. Noted a bug in

python/cpython#32341 (comment)

- typing._type_check() is more lenient in 3.11 and no longer rejects ints - The representation of the empty tuple type changed Tests pass for me on a 3.11 build from today now. Merged

@mrahtz
@mrahtz

… is non-variadic

@mrahtz

JelleZijlstra

added a commit to python/typing that referenced this pull request

Apr 16, 2022

- Defer to the PEP 646 implementation in typing.py on 3.11 - Adjust some tests accordingly. Noted a bug in

python/cpython#32341 (comment)

- typing._type_check() is more lenient in 3.11 and no longer rejects ints - The representation of the empty tuple type changed Tests pass for me on a 3.11 build from today now.

…id arguments for a *Ts

…o* now get a TypeError

Merged

JelleZijlstra

added a commit to python/typing_extensions that referenced this pull request

May 19, 2022

- Defer to the PEP 646 implementation in typing.py on 3.11 - Adjust some tests accordingly. Noted a bug in

python/cpython#32341 (comment)

- typing._type_check() is more lenient in 3.11 and no longer rejects ints - The representation of the empty tuple type changed Tests pass for me on a 3.11 build from today now.

JelleZijlstra

added a commit to python/typing_extensions that referenced this pull request

May 19, 2022

- Defer to the PEP 646 implementation in typing.py on 3.11 - Adjust some tests accordingly. Noted a bug in

python/cpython#32341 (comment)

- typing._type_check() is more lenient in 3.11 and no longer rejects ints - The representation of the empty tuple type changed Tests pass for me on a 3.11 build from today now.

JelleZijlstra

added a commit to python/typing_extensions that referenced this pull request

May 19, 2022

- Defer to the PEP 646 implementation in typing.py on 3.11 - Adjust some tests accordingly. Noted a bug in

python/cpython#32341 (comment)

- typing._type_check() is more lenient in 3.11 and no longer rejects ints - The representation of the empty tuple type changed Tests pass for me on a 3.11 build from today now.