Input transformation rework - input requested
Thomas Kluyver <[email protected]> Sun, 27 May 2018 22:19:00 +0200
| Newsgroups | gmane.comp.python.ipython.devel |
|---|---|
| Message-ID | <CAOvn4qgF+s9-Wz=DmCU2ey4V1XBt9UF_GEMu9p5w2nCNk_8LYQ@mail.gmail.com> |
--===============6263302305514629991== Content-Type: multipart/alternative; boundary="000000000000027ab5056d35b8b4" --000000000000027ab5056d35b8b4 Content-Type: text/plain; charset="UTF-8" Hi all, For IPython 7, I'm planning a rework of the input transformation framework: https://github.com/ipython/ipython/pull/11041 The new framework is - I hope - simpler than the one it replaces, and will hopefully have fewer weird corner cases. But it's still a pretty complex beast, and I don't feel like it's a good platform for people to add more transformations to. One option to improve this is to make a smaller extensible API, restricting the kind of things that third party code can do. I don't think there's ever been much third party code extending IPython's input transformation, but I'd like to find out about the code that does. So if you're aware of a project that does use our input transformation API: - What project? - What does it want to transform? - Can you point me to the code? - What fallback options would it have if IPython didn't support the transformation it wanted? This is specifically about text transformations; AST transformations are not changed. Thanks, Thomas --000000000000027ab5056d35b8b4 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><div>Hi all,</div><div><br></div><div>For IPython 7, I'= ;m planning a rework of the input transformation framework:</div><div><a hr= ef=3D"https://github.com/ipython/ipython/pull/11041">https://github.com/ipy= thon/ipython/pull/11041</a></div><div><br></div><div>The new framework is -= I hope - simpler than the one it replaces, and will hopefully have fewer w= eird corner cases. But it's still a pretty complex beast, and I don'= ;t feel like it's a good platform for people to add more transformation= s to. One option to improve this is to make a smaller extensible API, restr= icting the kind of things that third party code can do.</div><div><br></div= ><div>I don't think there's ever been much third party code extendi= ng IPython's input transformation, but I'd like to find out about t= he code that does. So if you're aware of a project that does use our in= put transformation API:</div><div><br></div><div>- What project?</div><div>= - What does it want to transform?</div><div>- Can you point me to the code?= <br></div><div>- What fallback options would it have if IPython didn't = support the transformation it wanted?</div><div><br></div><div>This is spec= ifically about text transformations; AST transformations are not changed.<b= r></div><div><br></div><div>Thanks,</div><div>Thomas<br></div><div><br></di= v></div> --000000000000027ab5056d35b8b4-- --===============6263302305514629991== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ IPython-dev mailing list [email protected] https://mail.python.org/mailman/listinfo/ipython-dev --===============6263302305514629991==--