[Python-Dev] [Python-checkins] r61403 - python/trunk/Misc/NEWS
Nick Coghlan
ncoghlan at gmail.com
Sun Mar 16 09:25:05 CET 2008
skip at pobox.com wrote:
> Well, %u is already in use by at least some implementations of strftime.
>>From the Solaris 10 man page:
>
> %u Weekday as a decimal number [1,7], with 1
> representing Monday. See NOTES below.
>
> I see the same on my Mac.
>
> I think it's better to use the same format code for both parsing and
> formatting if possible.
Yep - %u already being used for something else in some contexts is the
kind of reason I was looking for. Given that, then %f for fractions of a
second sounds fine.
Cheers,
Nick.
--
Nick Coghlan | ncoghlan at gmail.com | Brisbane, Australia
---------------------------------------------------------------
http://www.boredomandlaziness.org
More information about the Python-Dev
mailing list