Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!us.feeder.erje.net!news2.arglkargh.de!news.swapon.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: Piet van Oostrum Newsgroups: comp.lang.python Subject: Re: the Gravity of Python 2 Date: Thu, 09 Jan 2014 15:06:00 +0100 Lines: 25 Message-ID: References: <78d91$52cbf8e9$541826b9$29485@cache1.tilbu1.nb.home.nl> <4b702$52cc262e$541826b9$22985@cache80.multikabel.net> <4cbf$52cc2e82$541826b9$11761@cache70.multikabel.net> <686$52cd4640$541826b9$21896@cache1.tilbu1.nb.home.nl> <7wvbxteskh.fsf@benfinney.id.au> Mime-Version: 1.0 Content-Type: text/plain X-Trace: individual.net vIM3jmtkaPW6BmPrCWqqhQYMN47190GjPPHuEBAKMKEo0KTOLn Cancel-Lock: sha1:M0g4ByxABr599MlFGaorbYEdLUs= sha1:M5cR4dwz+eqYs+4wHTqYiXaC52Q= User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (darwin) Xref: csiph.com comp.lang.python:63597 Chris Angelico writes: > On Thu, Jan 9, 2014 at 2:34 PM, Ben Finney wrote: >> [ a bunch of stuff that I totally agree with ] > > No response needed here :) > > So I was wrong on the specific example of .today(), but asking the > question the other way is at least helpful. Maybe the best solution is > exactly what Roy already posted, or maybe there's some other way to > achieve that. In any case, there is a solution, albeit not as clean as > I would have liked. > >> With time zones, as with text encodings, there is a single technically >> elegant solution (for text: Unicode; for time zones: twelve simple, >> static zones that never change) > > Twelve or twenty-four? Or are you thinking we should all be an even > number of hours away from UTC, which would also work? Even 24 doesn't take into account DST. -- Piet van Oostrum WWW: http://pietvanoostrum.com/ PGP key: [8DAE142BE17999C4]