On 07. 07. 21 3:58, Ethan Furman wrote:
On 6/29/21 9:50 AM, Barry Warsaw wrote:
> the Steering Council strongly suggests that for Python 3.10, the changes in
Enum’s
> str and repr be reverted back to the Python 3.9 behavior, and that a PEP be
written
> for Python 3.11.
I was unable to revert just the str and repr changes in the time available as
many of them were integral to fixes and improvements made to Flag. As a result
the enum in 3.10 will be the same as 3.9 (complete module reversion).
Hello Ethan.
I see the revert was merged with the "skip news" label. The changelog now
mentions the original change, but not the revert.
Is it possible to mention this retroactively in the 3.10.0b4 changelog, or is
that frozen now? I think it's important to document this for maintainers of
codebases that already adapted their code to the new behavior with an if Python
version >= 3.10 conditional.
Thanks for considering,
--
Miro Hrončok
--
Phone: +420777974800
IRC: mhroncok
_______________________________________________
Python-Dev mailing list -- python-dev@python.org
To unsubscribe send an email to python-dev-le...@python.org
https://mail.python.org/mailman3/lists/python-dev.python.org/
Message archived at
https://mail.python.org/archives/list/python-dev@python.org/message/3YE5FOVKK5ZEGPARDBE3JOGA3R66HCAD/
Code of Conduct: http://python.org/psf/codeofconduct/