]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
signal, socket, and ssl module IntEnum constant name lookups now return a
authorGregory P. Smith ext:(%20%5BGoogle%20Inc.%5D) <greg@krypto.org>
Fri, 3 Jun 2016 19:14:52 +0000 (19:14 +0000)
committerGregory P. Smith ext:(%20%5BGoogle%20Inc.%5D) <greg@krypto.org>
Fri, 3 Jun 2016 19:14:52 +0000 (19:14 +0000)
commit6f20bd6063380d47d4381295e3203466e762902c
tree9df36ad56d6acbd31026c2d78b07fdca41fa501c
parent16931c3559689cfa9d98e3b56e612b7e1e635b7a
signal, socket, and ssl module IntEnum constant name lookups now return a
consistent name for values having multiple names.  Ex: signal.Signals(6)
now refers to itself as signal.SIGALRM rather than flipping between that
and signal.SIGIOT based on the interpreter's hash randomization seed.

This helps finish issue27167.
Lib/enum.py
Lib/test/test_enum.py
Misc/NEWS