Path: csiph.com!usenet.pasdenom.info!weretis.net!feeder1.news.weretis.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed4.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.001 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'from:addr:yahoo.co.uk': 0.04; 'subject:Python': 0.06; 'correct.': 0.07; 'indicates': 0.09; 'lawrence': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'python': 0.11; 'language.': 0.14; '"%s"': 0.16; 'nick': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'specifiers': 0.16; 'strftime': 0.16; 'underlying': 0.16; 'url:peps': 0.16; 'language': 0.16; 'wrote:': 0.18; 'header:User- Agent:1': 0.23; 'documented': 0.24; 'url:dev': 0.24; 'header:X -Complaints-To:1': 0.27; 'header:In-Reply-To:1': 0.27; 'draft': 0.30; '(which': 0.31; 'url:python': 0.33; 'subject:the': 0.34; 'but': 0.35; 'url:org': 0.36; 'whatever': 0.38; 'to:addr:python- list': 0.38; 'issue': 0.38; 'to:addr:python.org': 0.39; 'received:org': 0.40; 'even': 0.60; 'skip:u 10': 0.60; 'our': 0.64; 'interest': 0.64; 'improvements': 0.68; 'suspicion': 0.84; 'incredibly': 0.96 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: Mark Lawrence Subject: Re: the Gravity of Python 2 Date: Thu, 09 Jan 2014 16:50:36 +0000 References: <52CE3416.9090501@stoneleaf.us> <7wiottej72.fsf@benfinney.id.au> <82fa7f62-9625-41cc-8d1f-c87c0e51cb47@googlegroups.com> <9b60b576fc864413b1d2f74b8e333d73@DM2PR06MB542.namprd06.prod.outlook.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Gmane-NNTP-Posting-Host: host-78-147-186-103.as13285.net User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 In-Reply-To: <9b60b576fc864413b1d2f74b8e333d73@DM2PR06MB542.namprd06.prod.outlook.com> X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 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: 16 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1389286263 news.xs4all.nl 2970 [2001:888:2000:d::a6]:50617 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:63618 On 09/01/2014 16:42, Nick Cash wrote: >> and "%s" (which is incredibly useful) is not even documented (I suspect it's also not available on all platforms). > > The format specifiers available to Python are just whatever is available to the underlying c time.h. > The manpage for strftime indicates that %s isn't part of the C standard, but part of "Olson's timezone package", which means it's not available on Windows. Your suspicion is unfortunately correct. > Methinks http://www.python.org/dev/peps/pep-0431/ Time zone support improvements may be of interest here. Still at draft issue unfortunately. -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence