mirror of
https://github.com/python/cpython.git
synced 2024-12-12 03:04:15 +08:00
24d8b88420
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>
37 lines
919 B
Makefile
37 lines
919 B
Makefile
# -*- makefile -*-
|
|
|
|
# ---
|
|
# Built-in modules required to get a functioning interpreter;
|
|
# cannot be built as shared!
|
|
*static*
|
|
|
|
# module C APIs are used in core
|
|
atexit atexitmodule.c
|
|
faulthandler faulthandler.c
|
|
posix posixmodule.c
|
|
_signal signalmodule.c
|
|
_tracemalloc _tracemalloc.c
|
|
|
|
# modules used by importlib, deepfreeze, freeze, runpy, and sysconfig
|
|
_codecs _codecsmodule.c
|
|
_collections _collectionsmodule.c
|
|
errno errnomodule.c
|
|
_io _io/_iomodule.c _io/iobase.c _io/fileio.c _io/bytesio.c _io/bufferedio.c _io/textio.c _io/stringio.c
|
|
itertools itertoolsmodule.c
|
|
_sre _sre/sre.c
|
|
_thread _threadmodule.c
|
|
time timemodule.c
|
|
_typing _typingmodule.c
|
|
_weakref _weakref.c
|
|
|
|
# commonly used core modules
|
|
_abc _abc.c
|
|
_functools _functoolsmodule.c
|
|
_locale _localemodule.c
|
|
_operator _operator.c
|
|
_stat _stat.c
|
|
_symtable symtablemodule.c
|
|
|
|
# for systems without $HOME env, used by site._getuserbase()
|
|
@MODULE_PWD_TRUE@pwd pwdmodule.c
|