[Python-ideas] Consistency in naming [was Re: ...ALL CAPS]

Anders Hovmöller boxed at killingar.net
Fri Feb 1 17:07:04 EST 2019


> The only exception to that is that I wish that ``object`` would be 
> renamed to Object. That would distinguish between Object, the base class 
> of all types, and object, an instance of some class. In my personal 
> opinion, being more clear about that distinction would be worth the pain 
> in ways that (say) renaming datetime to DateTime would not be.

Could you detail what that pain would be? To me it seems like you'd have both names for a while with deprecation warnings. Doesn't sound too painful. Especially in the datetime case which is already quite painful. 

/ Anders


More information about the Python-ideas mailing list