New submission from dellair jie:

Hello,

We are using Python 3.3.2 for HPUX11.31.

The following error happens only on HPUX, works on SunOS, RHEL, AIX.

python
Python 3.3.2 (default, Dec  9 2013, 14:04:25) [C] on hp-ux11
Type "help", "copyright", "credits" or "license" for more information.
>>> from datetime import datetime
>>> datetime.strptime ("10-Dec-13.20:07:49", "%d-%b-%y.%H:%M:%S")
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/python/lib/python3.3/_strptime.py", line 500, in _strptime_datetime
    tt, fraction = _strptime(data_string, format)
  File "/python/lib/python3.3/_strptime.py", line 337, in _strptime
    (data_string, format))
ValueError: time data '10-Dec-13.20:07:49' does not match format 
'%d-%b-%y.%H:%M:%S'

It looks like a bug. Could you please shed some lights?

Thanks in advance,

Br,
Li

----------
components: Library (Lib)
messages: 207542
nosy: dellair.jie
priority: normal
severity: normal
status: open
title: ValueError: time data does not match format
type: behavior
versions: Python 3.3

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue20163>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to