21 Aug
2021
21 Aug
'21
1:57 p.m.
I'm working the port to Python3. One strangeness I've found is that sometimes
name = 'memory'
for i in memory[:3]:
Doesn't work. I get:
TypeError: int() argument must be a string, a bytes-like object or a number, not 'NoneType'
I must explicitly add the zero: for i in memory[0:3]:
Anybody know why this is? I've tried searching, but cannot find anything that states this doesn't work.
Joe Pizzi