diff options
author | Giampaolo Rodola' <g.rodola@gmail.com> | 2014-04-04 13:34:17 (GMT) |
---|---|---|
committer | Giampaolo Rodola' <g.rodola@gmail.com> | 2014-04-04 13:34:17 (GMT) |
commit | e09fb7198ae2e4f737db7369006ad19e51699fbf (patch) | |
tree | 52a94575cd518a23b79430a0d89c66cbc839a2d5 /Doc/whatsnew | |
parent | bcc174615ca2bd5fe60442407ca1411759d823cf (diff) | |
download | cpython-e09fb7198ae2e4f737db7369006ad19e51699fbf.zip cpython-e09fb7198ae2e4f737db7369006ad19e51699fbf.tar.gz cpython-e09fb7198ae2e4f737db7369006ad19e51699fbf.tar.bz2 |
fix #21076: turn signal module constants into enums
Diffstat (limited to 'Doc/whatsnew')
-rw-r--r-- | Doc/whatsnew/3.5.rst | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Doc/whatsnew/3.5.rst b/Doc/whatsnew/3.5.rst index 78bddcb..4218134 100644 --- a/Doc/whatsnew/3.5.rst +++ b/Doc/whatsnew/3.5.rst @@ -134,6 +134,11 @@ New Modules Improved Modules ================ +* Different constants of :mod:`signal` module are now enumeration values using + the :mod:`enum` module. This allows meaningful names to be printed during + debugging, instead of integer “magic numbers”. (contribute by Giampaolo + Rodola' in :issue:`21076`) + * :class:`xmlrpc.client.ServerProxy` is now a :term:`context manager` (contributed by Claudiu Popa in :issue:`20627`). |