ipython/ipython — pull request #2015 by fperez (2012-06-23 21:31:30+00:00)
Title: Fixes for %paste with special transformations

**NOTE: do not merge yet, work in progress!**

I'm just creating the PR for now with one failing test, need to add a second failing test for the `?` case, and then actually fix things...

Fix the fact that we use prefilter too aggressively in `%paste`, which results in applying single-line transformations inside of strings and function definitions.

Closes #1258.