Issue 11735: Python Crash on strftime with %f (original) (raw)

Win XP 32 bit 2.7.4

import time time.strftime('%m/%d/%Y %H:%M:%S') '03/31/2011 20:04:52'

^^^ works fine

time.strftime('%m/%d/%Y %H:%M:%S:%f') # Oops, forgot time.strftime doesn't provide microseconds

Python crashes

Error Signature (sorry, didn't get full log):

AppName: python.exe AppVer: 0.0.0.0 ModName: msvcr90.dll ModVer: 9.0.30729.4148 Offset: 0005bbac

I've never patched Python, but I might try to give it a whirl.

Hm, I can't reproduce this on darwin:

Python 2.7.1 (r271:86832, Jan 26 2011, 19:17:30) [GCC 4.2.1 (Apple Inc. build 5664)] on darwin Type "help", "copyright", "credits" or "license" for more information.

import time time.strftime('%m/%d/%Y %H:%M:%S:%f') '03/31/2011 23:11:59:f'