[issue7085] strptime problem

Jiri Krivanek report at bugs.python.org
Fri Oct 9 00:48:52 CEST 2009


New submission from Jiri Krivanek <jiri.krivanek at betacontrol.cz>:

The following simple code works perfectly on W2K, WXP, Ubuntu, OSX10.4 
OSX10.5. It, however, stopped working on OSX10.6 (Snow Leopard): It 
simply crashes. It is a strptime() which causes problems to me.

Any idea? Any workaround?

import time
import thread

def test():
    print "TS: "
    print "%s" % str(time.strptime("2009-09-09 16-56-37", "%Y-%m-%d %H-
%M-%S"))
    
thread.start_new_thread (test, ())
time.sleep(2.0)

----------
assignee: ronaldoussoren
components: Macintosh
messages: 93765
nosy: kakacek, ronaldoussoren
severity: normal
status: open
title: strptime problem
type: crash
versions: Python 2.4

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue7085>
_______________________________________


More information about the Python-bugs-list mailing list