Seems reasonable -- I think we've done this kind of thing before.

On Fri, Jan 22, 2021 at 3:17 PM Ethan Furman <et...@stoneleaf.us> wrote:

> The question:
>
>    Can we change the name of classes if we keep the old name as an alias?
>
> The specifics:
>
>    When Enum was first created for 3.4 I thought the name `EnumMeta` was
> clever and appropriate.  However, in the intervening years an error
> message has occasionally popped up with mention of an "EnumMeta object",
> and it invariably makes me think harder about what object it's talking
> about than I think I should have to.
>
>    I would like to rename `EnumMeta` to `EnumType`, with an assignment of
> `EnumMeta = EnumType` at the end.  The only affect this should have is
> that those occasional error messages will now say "EnumType object"
> which will fit my brain better.
>
> Since we are allowed to change `repr()`s between major releases I thought
> this might be allowed, but wanted to check.
>
> --
> ~Ethan~
> _______________________________________________
> python-committers mailing list -- python-committers@python.org
> To unsubscribe send an email to python-committers-le...@python.org
> https://mail.python.org/mailman3/lists/python-committers.python.org/
> Message archived at
> https://mail.python.org/archives/list/python-committers@python.org/message/A6B52BFBLLOSKEX2GXUKNBFPXREO5PKB/
> Code of Conduct: https://www.python.org/psf/codeofconduct/
>


-- 
--Guido van Rossum (python.org/~guido)
*Pronouns: he/him **(why is my pronoun here?)*
<http://feministing.com/2015/02/03/how-using-they-as-a-singular-pronoun-can-change-the-world/>
_______________________________________________
python-committers mailing list -- python-committers@python.org
To unsubscribe send an email to python-committers-le...@python.org
https://mail.python.org/mailman3/lists/python-committers.python.org/
Message archived at 
https://mail.python.org/archives/list/python-committers@python.org/message/JF6WRKG6JEVPT3TLJD4ZHA5NZGXFFWI7/
Code of Conduct: https://www.python.org/psf/codeofconduct/

Reply via email to