# HG changeset patch # User Paul Boddie # Date 1323548093 -3600 # Node ID f007620ce30053d0f702e6271bac20decf5c1ea2 # Parent 309887b2c3efd3ee822b56b242ba5fcbd470256c Removed array module usage since Shedskin's generated code still wants to be able to convert arrays to elementary Python types. diff -r 309887b2c3ef -r f007620ce300 ula.py --- a/ula.py Sat Dec 10 20:58:56 2011 +0100 +++ b/ula.py Sat Dec 10 21:14:53 2011 +0100 @@ -4,7 +4,6 @@ Acorn Electron ULA simulation. """ -import array import itertools WIDTH = 640 @@ -285,7 +284,7 @@ "Return an array representing the computer's memory." - return array.array("B", itertools.repeat(0, MAX_MEMORY)) + return list(itertools.repeat(0, MAX_MEMORY)) def get_screen():