[Python-Dev] Re: From the SC (was Re: Enum -- last call for comments on 3.10 changes)

2021-07-13 Thread Miro Hrončok

On 13. 07. 21 5:21, Ethan Furman wrote:

On 7/11/21 4:00 PM, Miro Hrončok wrote:
 > On 07. 07. 21 3:58, Ethan Furman wrote:

 >> 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).
 >
 > 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 bringing that up, a new news entry has been added.


Thank you, Ethan.

--
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/XNXJILZGHGSA3LAZSPP67GRNYDDUTCIZ/
Code of Conduct: http://python.org/psf/codeofconduct/


[Python-Dev] Re: From the SC (was Re: Enum -- last call for comments on 3.10 changes)

2021-07-12 Thread Ethan Furman

On 7/11/21 4:00 PM, Miro Hrončok wrote:
> On 07. 07. 21 3:58, Ethan Furman wrote:

>> 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).
>
> 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 bringing that up, a new news entry has been added.

--
~Ethan~
___
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/RXFYYX74WVI5ALUNJUL645EANUVFNU6G/
Code of Conduct: http://python.org/psf/codeofconduct/


[Python-Dev] Re: From the SC (was Re: Enum -- last call for comments on 3.10 changes)

2021-07-11 Thread Miro Hrončok

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/


[Python-Dev] Re: From the SC (was Re: Enum -- last call for comments on 3.10 changes)

2021-07-06 Thread Ethan Furman

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).


A PEP will be forthcoming.

My apologies and sympathies to those that contributed to the 3.10 enum module 
-- look for those changes in 3.11.

--
~Ethan~
___
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/LSTMFAPSPD3BGZ4D6HQFODXZVB3PLYKF/
Code of Conduct: http://python.org/psf/codeofconduct/