Python implementation: lengthless arrays