First attempt at a Python prog (Chess)

Ian Kelly ian.g.kelly at gmail.com
Tue Feb 19 20:41:21 CET 2013


On Mon, Feb 18, 2013 at 9:15 PM, Tim Roberts <timr at probo.com> wrote:
> Chris Hinsley <chris.hinsley at gmail.com> wrote:
>>
>>Is a Python list as fast as a bytearray ?
>
> Python does not actually have a native array type.  Everything in your
> program that looked like an array was actually a list.

How do you mean?

>>> isinstance(bytearray(b'RNBQKBNR'), list)
False



More information about the Python-list mailing list