[issue26988] Add AutoNumberedEnum to stdlib
Kenneth Reitz
report at bugs.python.org
Fri Aug 19 03:03:21 EDT 2016
Kenneth Reitz added the comment:
This addition to Python, specifically the bare assignment-free `red` syntax would be a huge mistake for the language. It looks like a syntax error to me, and completely destroys my mental model for how Python code either does work or should work.
A simple assignment to `None`, `()`, or imported static `AUTO_ENUM` (or similar, akin to subprocess.PIPE) would be *much* preferred.
----------
nosy: +kennethreitz
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue26988>
_______________________________________
More information about the Python-bugs-list
mailing list