[pypy-issue] [issue1136] "list index must be integer, not int64"

timo tracker at bugs.pypy.org
Sat Apr 21 23:47:37 CEST 2012


New submission from timo <timonator at perpetuum-immobile.de>:

In this line of code, palette is a list and line is a numpy array:

    newline = "".join(self.PALETTE[value] for value in line)

the error is "list index must be integer, not int64".

----------
messages: 4282
nosy: pypy-issue, timo
priority: bug
status: unread
title: "list index must be integer, not int64"

________________________________________
PyPy bug tracker <tracker at bugs.pypy.org>
<https://bugs.pypy.org/issue1136>
________________________________________


More information about the pypy-issue mailing list