[pypy-issue] [issue1581] strptime does not like string_
Wouter van Heyst
tracker at bugs.pypy.org
Sat Aug 10 20:00:23 CEST 2013
New submission from Wouter van Heyst <wouter.pypy at richtlijn.be>:
The attached code works with cpython but fails with pypy b9699dee6f10.
Traceback (most recent call last):
File "app_main.py", line 72, in run_toplevel
File "/tmp/bug.py", line 8, in <module>
datetime.strptime(a[0], '%Y-%m-%d')
File "/home/larstiq/src/pypy/lib_pypy/datetime.py", line 1701, in strptime
struct, micros = _strptime(date_string, format)
File "/home/larstiq/src/pypy/lib-python/2.7/_strptime.py", line 322, in _strptime
found = format_regex.match(data_string)
TypeError: unsupported operand type for buffer: 'string_'
----------
messages: 6054
nosy: larstiq, pypy-issue
priority: bug
status: unread
title: strptime does not like string_
________________________________________
PyPy bug tracker <tracker at bugs.pypy.org>
<https://bugs.pypy.org/issue1581>
________________________________________
More information about the pypy-issue
mailing list