On Jul 25, 2015, at 09:15, Alexander Belopolsky email@example.com wrote:
On Sat, Jul 25, 2015 at 2:40 AM, Lennart Regebro firstname.lastname@example.org wrote: There really is a reason every other date time implementation I know of uses UTC internally, and there really is a reason why everyone always recommends storing date times in UTC with the time zone or offset separately.
Current datetime design does not prevent your application from storing date-times in UTC. You can store them in naive datetime instances, but the recommended approach is to use datetime instances with tzinfo=timezone.utc.
Yes, and now he wants to do the same thing for the internals of the datetime module, for the same reasons that it's the best thing most everywhere else. It's just going to take some significant effort to make that happen.