I would expect that would break the Python interpreter. Hmm. Now you have me wanting to try it. Writing Python that writes Python is always fun.
The indentation alone would be half an exabyte. You could transform it into an equivalent representation with a billion-variable list (or numpy array) that should fit within the limits of the interpreter.