summaryrefslogtreecommitdiffstats
path: root/Python/sysmodule.c
diff options
context:
space:
mode:
authorEthan Furman <ethan@stoneleaf.us>2021-02-09 01:32:38 (GMT)
committerGitHub <noreply@github.com>2021-02-09 01:32:38 (GMT)
commitd65b9033d6d092552775f6f5e41e7647100f9f2c (patch)
tree2119b986b118b3dd773d9015f1bfd00f3114bbae /Python/sysmodule.c
parente1f77695132e814728cda982f11342a2e3c7272c (diff)
downloadcpython-d65b9033d6d092552775f6f5e41e7647100f9f2c.zip
cpython-d65b9033d6d092552775f6f5e41e7647100f9f2c.tar.gz
cpython-d65b9033d6d092552775f6f5e41e7647100f9f2c.tar.bz2
bpo-43162: [Enum] deprecate enum member.member access (GH-24486)
In 3.5 (?) a speed optimization made it possible to access members as attributes of other members, i.e. ``Color.RED.BLUE``. This was always discouraged in the docs, and other recent optimizations has made that one no longer necessary. Because some may be relying on it anyway, it is being deprecated in 3.10, and will be removed in 3.11.
Diffstat (limited to 'Python/sysmodule.c')
0 files changed, 0 insertions, 0 deletions