cpython/Objects/clinic
Jelle Zijlstra 24d8b88420
gh-103763: Implement PEP 695 (#103764)
This implements PEP 695, Type Parameter Syntax. It adds support for:

- Generic functions (def func[T](): ...)
- Generic classes (class X[T](): ...)
- Type aliases (type X = ...)
- New scoping when the new syntax is used within a class body
- Compiler and interpreter changes to support the new syntax and scoping rules 

Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com>
Co-authored-by: Eric Traut <eric@traut.com>
Co-authored-by: Larry Hastings <larry@hastings.org>
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2023-05-15 20:36:23 -07:00
..
bytearrayobject.c.h bpo-15999: Accept arbitrary values for boolean parameters. (#15609) 2022-12-03 11:52:21 -08:00
bytesobject.c.h bpo-15999: Accept arbitrary values for boolean parameters. (#15609) 2022-12-03 11:52:21 -08:00
classobject.c.h gh-101409: Improve generated clinic code for self type checks (#101411) 2023-01-31 21:42:03 +01:00
codeobject.c.h gh-101409: Improve generated clinic code for self type checks (#101411) 2023-01-31 21:42:03 +01:00
complexobject.c.h gh-90928: Improve static initialization of keywords tuple in AC (#95907) 2022-08-13 12:09:40 +02:00
descrobject.c.h gh-90928: Improve static initialization of keywords tuple in AC (#95907) 2022-08-13 12:09:40 +02:00
dictobject.c.h gh-90928: Statically Initialize the Keywords Tuple in Clinic-Generated Code (gh-95860) 2022-08-11 15:25:49 -06:00
enumobject.c.h gh-101409: Improve generated clinic code for self type checks (#101411) 2023-01-31 21:42:03 +01:00
floatobject.c.h gh-101825: Clarify that as_integer_ratio() output is always normalized (#101843) 2023-02-27 19:11:28 +00:00
funcobject.c.h gh-90928: Improve static initialization of keywords tuple in AC (#95907) 2022-08-13 12:09:40 +02:00
listobject.c.h gh-101409: Improve generated clinic code for self type checks (#101411) 2023-01-31 21:42:03 +01:00
longobject.c.h gh-101825: Clarify that as_integer_ratio() output is always normalized (#101843) 2023-02-27 19:11:28 +00:00
memoryobject.c.h gh-102500: Implement PEP 688 (#102521) 2023-05-04 07:59:46 -07:00
moduleobject.c.h gh-90928: Improve static initialization of keywords tuple in AC (#95907) 2022-08-13 12:09:40 +02:00
odictobject.c.h gh-90928: Improve static initialization of keywords tuple in AC (#95907) 2022-08-13 12:09:40 +02:00
structseq.c.h gh-90928: Improve static initialization of keywords tuple in AC (#95907) 2022-08-13 12:09:40 +02:00
tupleobject.c.h gh-101409: Improve generated clinic code for self type checks (#101411) 2023-01-31 21:42:03 +01:00
typeobject.c.h gh-96526: Clarify format and __format__ docstrings (gh-96648) 2022-10-03 15:28:02 -07:00
typevarobject.c.h gh-103763: Implement PEP 695 (#103764) 2023-05-15 20:36:23 -07:00
unicodeobject.c.h bpo-15999: Accept arbitrary values for boolean parameters. (#15609) 2022-12-03 11:52:21 -08:00