New submission from Dave: Calling datetime.datetime.now() will return only the Date and time to the second w/o the decimal portion when the second increments when also running firefox w/shockwave flash enabled on a windows 7 machine.
Example output: counter1 is: 23360 time is: 2013-02-05 16:32:24.999000 counter1 is: 23361 time is: 2013-02-05 16:32:25 counter1 is: 23362 time is: 2013-02-05 16:32:25.002000 Notice the missing decimal value on the middle one. To reproduce: Code: counter = 0 while(True): counter +=1 time = datetime.datetime.now() numericDateTime = print("counter1 is: " + str(counter) + " time is: " + time) I can get this to occur every time that firefox is running with Shockwave flash enabled. datetime.now() works fine w/o firefox running w/shockwave flash enabled. I believe the datetime.now() should always return the same format. ---------- components: Windows messages: 181484 nosy: Dave priority: normal severity: normal status: open title: dateTime.now() return format missing decimal seconds. type: behavior versions: Python 3.2 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue17139> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com