Message 109135 - Python tracker (original) (raw)

This comment in datetime.new makes me +0.5 on s/_//:

self = date.__new__(cls, year, month, day)
    # XXX This duplicates __year, __month, __day for convenience :-(                                                                                                                 
    self.__year = year
    self.__month = month
    self.__day = day

Tim,

Do you remember why it was a good idea to derive datetime from date?