Path: csiph.com!eternal-september.org!feeder.eternal-september.org!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed8.news.xs4all.nl!nzpost1.xs4all.net!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.003 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'subject:: [': 0.03; 'cc:addr:python-list': 0.09; 'implies': 0.09; 'received:internal': 0.09; 'sfxlen:2': 0.10; 'python.': 0.11; '"by': 0.16; 'message- id:@webmail.messagingengine.com': 0.16; 'peters': 0.16; 'received:10.202': 0.16; 'received:10.202.2': 0.16; 'received:66.111': 0.16; 'received:66.111.4': 0.16; 'received:messagingengine.com': 0.16; 'wrote:': 0.16; 'subject:] ': 0.19; 'cc:2**0': 0.20; 'cc:addr:python.org': 0.20; 'algorithm': 0.20; 'occurs': 0.22; 'sep': 0.22; 'subject:skip:i 10': 0.22; 'cc:no real name:2**0': 0.22; 'sat,': 0.23; 'tim': 0.24; 'written': 0.24; 'header:In-Reply-To:1': 0.24; 'skip:" 20': 0.26; 'function': 0.28; 'code': 0.30; 'probably': 0.31; 'included': 0.32; 'class': 0.33; 'utility': 0.33; 'could': 0.35; 'but': 0.36; 'too': 0.36; 'skip:i 20': 0.36; 'there': 0.36; 'subject:" ': 0.36; 'subject:?': 0.36; 'received:10': 0.37; 'being': 0.37; '12,': 0.37; 'received:66': 0.38; 'subject:-': 0.39; 'to:addr:python.org': 0.40; 'from:no real name:2**0': 0.60; 'header:Message-Id:1': 0.61; 'subject:there': 0.66; 'subject:any': 0.84; 'lot,': 0.95; 'subject:Are': 0.95 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=fastmail.com; h=cc :content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-sasl-enc :x-sasl-enc; s=mesmtp; bh=7N7lbcCqzVDDM1cpuvbfyRh+ndc=; b=4KewdD Ii9t4zxp4MoFRkElALF+4+iqBj7RFZMVqJEUlRoMmWHIJXRCOi/p4maJwc7wpobY RP8tspu+MIN2o8y8Ww7JMMsyyg6TmmB2H/58ukRkoFTxTrCSy6rz40YZwESvosp1 3zqrfhW2KTa4LseKk4wfro1pQ5wZgY/1kd9R8= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-sasl-enc:x-sasl-enc; s=smtpout; bh=7N7lbcCqzVDDM1c puvbfyRh+ndc=; b=htTQED/+J7DJ6Wga1LaJ1pfG6UK9b5P3fLX8SQzPTQIFjzp zt6Zs8Xlr6dLYcTsnnmvS6glbipO/MH7PIDlFOoLtnQtjna+WboOOA4PHlnRfYaq Stv4O1URgwu8YjaqJ2EAlaPUvjVyDL6hKAbnkAPjVtNe5NacfoGtg+N3HI5s= X-Sasl-Enc: +6kMNNSo+KioJ7J1DBOwUKkcOBw1IkFN10CGgGRXYqa2 1442112849 From: random832@fastmail.com To: "datetime-sig" Cc: python-list@python.org MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain X-Mailer: MessagingEngine.com Webmail Interface - ajax-c76b43ce In-Reply-To: References: <1442085362.324875.381920729.5E7A6DCE@webmail.messagingengine.com> Subject: Re: [Datetime-SIG] Are there any "correct" implementations of tzinfo? Date: Sat, 12 Sep 2015 22:54:09 -0400 X-Mailman-Approved-At: Sun, 13 Sep 2015 12:41:50 +0200 X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.20+ Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 11 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1442140911 news.xs4all.nl 23781 [2001:888:2000:d::a6]:55496 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:96491 On Sat, Sep 12, 2015, at 22:25, Tim Peters wrote: > That helps a lot, but "industrial-strength" implies "by algorithm". > There are far too many zones to deal with by crafting a hand-written > class for each. It occurs to me that though it's written in C, the zdump utility included in the tz code is implementation-agnostic w.r.t. what algorithm is used by the localtime function being tested. It's algorithm could probably be adapted to python.