]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Speed-up building enums by value, e.g. http.HTTPStatus(200) (GH-11318) (GH-11324)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Wed, 26 Dec 2018 20:48:55 +0000 (12:48 -0800)
committerAndrew Svetlov <andrew.svetlov@gmail.com>
Wed, 26 Dec 2018 20:48:55 +0000 (22:48 +0200)
commit705b5998035739b1794a862123d3dc6e339a14d0
treeca8b4b33f556dddfaf565572d67b7690d588734e
parentdcf14d1a9875143747cd87c66fae6e693b21c6de
Speed-up building enums by value, e.g. http.HTTPStatus(200) (GH-11318) (GH-11324)

bpo-35585: Speed up enum by-value lookup
(cherry picked from commit 34ae04f74dcf4ac97d07c3e82eaf8f619d80cedb)

Co-authored-by: Andrew Svetlov <andrew.svetlov@gmail.com>
Lib/enum.py
Misc/NEWS.d/next/Library/2018-12-26-02-28-00.bpo-35585.Lkzd3Z.rst [new file with mode: 0644]