• Ethan Furman's avatar
    issue23673 · 24e837f2
    Ethan Furman yazdı
    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
    24e837f2
ssl.py 40.8 KB