On Jun 05, 2012, at 07:41 PM, Alexander Belopolsky wrote: >The second feature has its uses. If I want wake up at 7 AM every >weekday, I don't want my alarm clock ask me whether I mean standard or >daylight saving time, but if I attempt to set it to 1:30 AM on the day >when 1:30 AM happens twice, I don't want it to go off twice or divine >which 1:30 AM I had in mind. I think stdlib should allow me to write >a robust application that knows that some naive datetime objects >correspond to two points in time and some correspond to none.
Really? Why would naive datetimes know that? I would expect that an aware datetime would have that information but not naive ones. -Barry
signature.asc
Description: PGP signature
_______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com