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 <rep...@bugs.python.org>
<http://bugs.python.org/issue26893>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to