[python-committers] Re: metaclass names and backwards compatibility

2021-01-22 Thread Nick Coghlan
I think you had good reason to call it EnumMeta though: to better distinguish "the enum meta type" (i.e. EnumMeta) from "enum types" (i.e. instances of EnumMeta). Cheers, Nick. On Sat, 23 Jan 2021, 9:17 am Ethan Furman, wrote: > The question: > >Can we change the name of classes if we keep

[python-committers] Re: metaclass names and backwards compatibility

2021-01-22 Thread Guido van Rossum
Seems reasonable -- I think we've done this kind of thing before. On Fri, Jan 22, 2021 at 3:17 PM Ethan Furman 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 `En

[python-committers] metaclass names and backwards compatibility

2021-01-22 Thread Ethan Furman
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