commit | d65b9033d6d092552775f6f5e41e7647100f9f2c | [log] [tgz] |
---|---|---|
author | Ethan Furman <ethan@stoneleaf.us> | Mon Feb 08 17:32:38 2021 -0800 |
committer | GitHub <noreply@github.com> | Mon Feb 08 17:32:38 2021 -0800 |
tree | 2119b986b118b3dd773d9015f1bfd00f3114bbae | |
parent | e1f77695132e814728cda982f11342a2e3c7272c [diff] |
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.