https://github.com/python/cpython
Revision 2f2b69855d6524e15d12c15ddc0adce629e7de84 authored by larryhastings on 30 April 2021, 03:09:08 UTC, committed by GitHub on 30 April 2021, 03:09:08 UTC
Change class and module objects to lazy-create empty annotations dicts on demand.  The annotations dicts are stored in the object's `__dict__` for backwards compatibility.
1 parent dbe60ee
History
Tip revision: 2f2b69855d6524e15d12c15ddc0adce629e7de84 authored by larryhastings on 30 April 2021, 03:09:08 UTC
bpo-43901: Lazy-create an empty annotations dict in all unannotated user classes and modules (#25623)
Tip revision: 2f2b698
File Mode Size
.azure-pipelines
.github
Doc
Grammar
Include
Lib
Mac
Misc
Modules
Objects
PC
PCbuild
Parser
Programs
Python
Tools
.gitattributes -rw-r--r-- 2.0 KB
.gitignore -rw-r--r-- 1.8 KB
.travis.yml -rw-r--r-- 8.5 KB
CODE_OF_CONDUCT.md -rw-r--r-- 630 bytes
LICENSE -rw-r--r-- 13.6 KB
Makefile.pre.in -rw-r--r-- 70.3 KB
README.rst -rw-r--r-- 10.0 KB
aclocal.m4 -rw-r--r-- 22.3 KB
config.guess -rwxr-xr-x 43.1 KB
config.sub -rwxr-xr-x 35.4 KB
configure -rwxr-xr-x 508.2 KB
configure.ac -rw-r--r-- 172.7 KB
install-sh -rwxr-xr-x 15.0 KB
netlify.toml -rw-r--r-- 82 bytes
pyconfig.h.in -rw-r--r-- 45.0 KB
setup.py -rw-r--r-- 112.8 KB

README.rst

back to top