[New-bugs-announce] [issue26893] ValueError exception raised when using IntEnum with an attribute called "name" and @unique decorator
Julien Enche
report at bugs.python.org
Sat Apr 30 08:35:26 EDT 2016
New submission from Julien Enche:
The linked file fails with the following error :
ValueError: duplicate values found in <enum 'User'>: id -> User.name, name -> User.name
This exception was not raised with Python 3.4.
----------
files: enumtest.py
messages: 264554
nosy: Julien Enche
priority: normal
severity: normal
status: open
title: ValueError exception raised when using IntEnum with an attribute called "name" and @unique decorator
type: behavior
versions: Python 3.5
Added file: http://bugs.python.org/file42664/enumtest.py
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue26893>
_______________________________________
More information about the New-bugs-announce
mailing list