[issue26943] Datetime.strptime crash

2016-05-04 Thread SilentGhost
SilentGhost added the comment: Jens, the issue seems to be related to the locale under which your script is operating. You could try to ensure that the locale is suitable for the %b switch. In any case this doesn't look like a datetime bug. -- nosy: +SilentGhost resolution: -> not a b

[issue26943] Datetime.strptime crash

2016-05-04 Thread Jens de Bruijn
New submission from Jens de Bruijn: Datetime crashes while running script from the command line. When running the same date string from the interpreter (Ubuntu 16.04) it does not crash. date = datetime.datetime.strptime('May 01 23:59:59 + 2016', '%b %d %H:%M:%S + %Y') -- compo