[Python-Dev] PEP 372 -- Adding an ordered directory to collections ready for pronouncement

Ivan Krstić krstic at solarsail.hcs.harvard.edu
Tue Mar 3 12:01:07 CET 2009

On Mar 2, 2009, at 7:08 PM, Steve Holden wrote:
>>> PS.: so is datetime.datetime a builtin then? :)
>> Another historic accident. Like socket.socket. :-(
> A pity this stuff wasn't addressed for 3.0. Way too late now, though.

It may be too late to rename the existing accidents, but why not add  
consistently-named aliases (socket.Socket, datetime.DateTime, etc) and  
strongly encourage their use in new code?

Ivan Krstić <krstic at solarsail.hcs.harvard.edu> | http://radian.org

More information about the Python-Dev mailing list