>>> 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? > > Or make the old names aliases for the new names and start a > PendingDeprecationWarning on the old names so they can be switched in the > distant future? Should the names in the __repr__ be changed now or later? >>> datetime(2008, 7, 31, 12, 0, 0) datetime.datetime(2008, 7, 31, 12, 0) Raymond
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4