◐ Shell
clean mode source ↗

gh-103763: Implement PEP 695 by JelleZijlstra · Pull Request #103764 · python/cpython

and others added 30 commits

April 8, 2023 18:04
…This commit includes:

1. Parser updates
2. AST updates
3. typing.py updates
4. Unit tests

It does not include the following:
5. Symtable updates
6. Compiler updates
7. C implementations of TypeVar, TypeVarTuple, ParamSpec, Generic
This fixes compilation for me locally.
This isn't fully functional, but it should be enough to unblock work
on the runtime. I'll update this PR as I implement more.

carljm added a commit to carljm/cpython that referenced this pull request

May 16, 2023

jacobtylerwalls added a commit to jacobtylerwalls/astroid that referenced this pull request

Jun 22, 2023
A C-accelerator was introduced for the typing module in
Python 3.12 (see python/cpython#103764).

Because a pure python source is no longer available, now we stub
out the missing classes and provide some __class_getitem__
methods to allow subscripting like Type[int].

This may mean when 3.12 is the minimum, we can remove older
brain features like infer_typing_alias().

jacobtylerwalls added a commit to jacobtylerwalls/astroid that referenced this pull request

Jun 22, 2023
A C-accelerator was introduced for the typing module in
Python 3.12 (see python/cpython#103764).

Because a pure python source is no longer available, now we stub
out the missing classes and provide some __class_getitem__
methods to allow subscripting like Type[int].

This may mean when 3.12 is the minimum, we can remove older
brain features like infer_typing_alias().

jacobtylerwalls added a commit to jacobtylerwalls/astroid that referenced this pull request

Jun 22, 2023
A C-accelerator was introduced for the typing module in
Python 3.12 (see python/cpython#103764).

Because a pure python source is no longer available, now we stub
out the missing classes and provide some __class_getitem__
methods to allow subscripting like Type[int].

This may mean when 3.12 is the minimum, we can remove older
brain features like infer_typing_alias().

jacobtylerwalls added a commit to jacobtylerwalls/astroid that referenced this pull request

Jun 22, 2023
A C-accelerator was introduced for the typing module in
Python 3.12 (see python/cpython#103764).

Because a pure python source is no longer available, now we stub
out the missing classes and provide some __class_getitem__
methods to allow subscripting like Type[int].

This may mean when 3.12 is the minimum, we can remove older
brain features like infer_typing_alias().

jacobtylerwalls added a commit to jacobtylerwalls/astroid that referenced this pull request

Jun 22, 2023
A C-accelerator was introduced for the typing module in
Python 3.12 (see python/cpython#103764).

Because a pure python source is no longer available, now we stub
out the missing classes and provide some __class_getitem__
methods to allow subscripting like Type[int].

This may mean when 3.12 is the minimum, we can remove older
brain features like infer_typing_alias().

jacobtylerwalls added a commit to jacobtylerwalls/astroid that referenced this pull request

Jun 22, 2023
A C-accelerator was introduced for the typing module in
Python 3.12 (see python/cpython#103764).

Because a pure python source is no longer available, now we stub
out the missing classes and provide some __class_getitem__
methods to allow subscripting like Type[int].

This may mean when 3.12 is the minimum, we can remove older
brain features like infer_typing_alias().

jacobtylerwalls added a commit to jacobtylerwalls/astroid that referenced this pull request

Jun 23, 2023
A C-accelerator was introduced for the typing module in
Python 3.12 (see python/cpython#103764).

Because a pure python source is no longer available, now we stub
out the missing classes and provide some __class_getitem__
methods to allow subscripting like Type[int].

This may mean when 3.12 is the minimum, we can remove older
brain features like infer_typing_alias().

jacobtylerwalls added a commit to jacobtylerwalls/astroid that referenced this pull request

Jun 25, 2023
A C-accelerator was introduced for the typing module in
Python 3.12 (see python/cpython#103764).

Because a pure python source is no longer available, now we stub
out the missing classes and provide some __class_getitem__
methods to allow subscripting like Type[int].

This may mean when 3.12 is the minimum, we can remove older
brain features like infer_typing_alias().

jacobtylerwalls added a commit to pylint-dev/astroid that referenced this pull request

Jun 27, 2023
A C-accelerator was introduced for the typing module in
Python 3.12 (see python/cpython#103764).

Because a pure python source is no longer available, now we stub
out the missing classes and provide some __class_getitem__
methods to allow subscripting like Type[int].

This may mean when 3.12 is the minimum, we can remove older
brain features like infer_typing_alias().