On 07/24/2016 01:10 PM, Vasiliy Faronov wrote:
I'm building a Python library where I want to use Python 3.4-style
enums. Because I need to support Python 2.7, I'm considering using
enum34 [1]. But I'm not sure how to do this:
If I simply depend on enum34, it will install a module named `enum`
e
Vasiliy Faronov writes:
> If I simply depend on enum34, it will install a module named `enum`
> even in Python 3.4+ environments, and that could shadow the stdlib
> module.
As far as I know, ‘enum34’ is intended to provide all the same features
as the latest Python 3 standard library's ‘enum’ li
Hi all,
I'm building a Python library where I want to use Python 3.4-style
enums. Because I need to support Python 2.7, I'm considering using
enum34 [1]. But I'm not sure how to do this:
If I simply depend on enum34, it will install a module named `enum`
even in Python 3.4+ environments, and that