Changes between Initial Version and Version 1 of Ticket #14713, comment 40


Ignore:
Timestamp:
03/04/14 18:20:46 (6 years ago)
Author:
jason
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #14713, comment 40

    initial v1  
    1 All right +1.  Here is a more complete explanation for it being okay to have a stateless transformation---it relies on two facts that are true right now:
     1All right +1.  IPython *does* push open-ended quotes into the preparser if the line is a syntax error (like `"a`).  However, the preparser is now always called with `reset=True` (the default), so the state doesn't carry over to the next line.
     2
     3Here is a more complete explanation for it being okay to have a stateless transformation---it relies on two facts that are true right now:
    24 * we've switched the preparser to be an IPython python_line_transform (which assembles multiline strings into single lines)
    35 * the preparser has a default of reset=True, which means every time it is called, the state is discarded