[Python-3000] format and datetime (original) (raw)
Guido van Rossum guido at python.org
Wed Sep 12 20:45:19 CEST 2007
- Previous message: [Python-3000] __format__ and datetime
- Next message: [Python-3000] __format__ and datetime
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On 9/12/07, skip at pobox.com <skip at pobox.com> wrote:
So, is '%f" okay to coopt? Is there some sort of future-proofing we can do so that if the libc folks decide later to use "%f" for something we're not (mildly) hosed? Maybe "%."? It appears that all strftime codes are one or two letters.
Which ones are two letters?
Given how long strftime has been around I think %f is fine. We may even influence the future of the C library. :-)
-- --Guido van Rossum (home page: http://www.python.org/~guido/)
- Previous message: [Python-3000] __format__ and datetime
- Next message: [Python-3000] __format__ and datetime
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]