<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Apr 6, 2015 at 4:58 PM,  <span dir="ltr"><<a href="mailto:random832@fastmail.us" target="_blank">random832@fastmail.us</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div id=":1uc" class="" style="overflow:hidden">In my opinion all codes accepted by C11 *should* be supported by python;<br>
its present failure to do so is a wart. Any new work to address this<br>
issue should be in the form of a pure python strftime function rather<br>
than an effort to document every platform's idiosyncracies.</div></blockquote><div><br></div><div>An issue [1] to implement that was open almost 7 years ago and seen little progress since then.  The problem is that there is no reliable cross-platform method to access locale information that stftime needs.  One could try to do something with <span style="color:rgb(0,0,0);font-size:11.8953409194946px;line-height:17.8231182098389px;white-space:pre-wrap">nl_langinfo(), but that is a pre-Unicode interface that assumes one global locale, so modern platforms have extended it in various incompatible ways.   Note that strftime itself assumes one global locale and that's another reason to switch to something more modern.</span></div></div><div class="gmail_extra"><br></div><br>[1] <a href="http://bugs.python.org/issue3173">http://bugs.python.org/issue3173</a><br></div></div>