I think list comprehension is one of the most useful features of Python. I think it would be even more useful if Python allows the recursion inside list comprehension, for something like generation of Fibonacci numbers or prime numbers. I know that Python used to have locals()['_[1]']
for referencing the list that's being generated, but it has never been recommended and had been taken out.
So, is there any reason that Python developers do not want users to use recursion in list comprehension?