[issue17959] Alternate approach to aliasing for PEP 435

Alex Gaynor report at bugs.python.org
Sun May 12 08:54:08 CEST 2013


Alex Gaynor added the comment:

This would preclude code like:

class Shape(Enum):
  rectangle = shape = 2

which seems (to me) to be the most reasonable way to express aliasing.

----------
nosy: +alex

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue17959>
_______________________________________


More information about the Python-bugs-list mailing list