Commit Graph

6 Commits

Author SHA1 Message Date
orlnub123
0fb9fadd3b bpo-34282: Fix Enum._convert shadowing members named _convert (GH-8568)
* Fix enum members getting shadowed by parent attributes
* Move Enum._convert to EnumMeta._convert_
* Deprecate _convert
2018-09-12 10:28:53 -07:00
Antoine Pitrou
9d3627e311
bpo-33332: Add signal.valid_signals() (GH-6581) 2018-05-04 13:00:50 +02:00
Martin Panter
d2ad5718ad Issue #25523: Further a-to-an corrections new in 3.5 2015-11-02 04:20:33 +00:00
Ethan Furman
24e837f231 issue23673
add private method to enum to support replacing global constants with Enum members:
- search for candidate constants via supplied filter
- create new enum class and members
- insert enum class and replace constants with members via supplied module name
- replace __reduce_ex__ with function that returns member name, so previous Python versions can unpickle
modify IntEnum classes to use new method
2015-03-18 17:27:57 -07:00
Victor Stinner
a2b5bf01e7 Issue #21076: sigpending() is not available on Windows 2014-04-04 16:57:24 +02:00
Giampaolo Rodola'
e09fb7198a fix #21076: turn signal module constants into enums 2014-04-04 15:34:17 +02:00