Marc-Andre Lemburg <m...@egenix.com> added the comment: Santoso Wijaya wrote: > > Santoso Wijaya <santoso.wij...@gmail.com> added the comment: > > `strftime` does not, indeed, seem to define what behaviour it is supposed to > do when given non-supported format characters. Under Windows, in fact, it > will crash the runtime (see: issue #10762).
According to POSIX, it is defined to be undefined: """ If a conversion specification does not correspond to any of the above, the behavior is undefined. """ Of course, crashing the runtime is not a good way to interpret this ;-) ---------- nosy: +lemburg _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue9811> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com