> [Jack Jansen] > > The test_strftime regression test has been failing on the Mac for > > ages, and I finally got round to investigating the problem: the > > MetroWerks library returns the strings "am" and "pm" for %p but the > > regression test expects "AM" and "PM". According to the comments in > > the source of the library (long live vendors who provide it! Yeah!) > > this is C9X compatibility. > > My copy of a draft C99 std agrees (7.23.3.5) with MetroWerks on this point > (i.e., that %p in the "C" locale becomes "am" or "pm"). > > > I can of course move the %p to the nonstandard expectations, but maybe > > someone has a better idea? > > Not really. If Python thinks this function is valuable, it "should" offer a > platform-independent implementation, but as nobody has time for that ... No. The test is too strict. It should be fixed. --Guido van Rossum (home page: http://www.pythonlabs.com/~guido/)
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4