I am not sure if there is a solution for this on stack overflow; so apologies if this is a duplicate.
There are number of ways of converting the string:
s = '[1, 2, 3]'
to a list
t = [1, 2, 3]
but I am looking for the most straightforward pythonic way of doing this. Also, performance matters.