Fix for #1, list index out of range issue. range(0, k) generates a sequence of numbers from 0 to k [ excluding k ], And random.randint(0, k) tries to generate random integer from 0 to k [ both included ]. This is the reason we were getting an exception of list index out of range.
Fix for #1, list index out of range issue.
range(0, k) generates a sequence of numbers from 0 to k [ excluding k ],
And random.randint(0, k) tries to generate random integer from 0 to k [ both included ].
This is the reason we were getting an exception of list index out of range.

aerospike/aerospike-client-python,arthurprs/aerospike-client-python,aerospike/aerospike-client-python,arthurprs/aerospike-client-python,aerospike/aerospike-client-python,trupty/aerospike-client-python,arthurprs/aerospike-client-python,trupty/aerospike-client-python,trupty/aerospike-client-python