Re: Input transformation rework - input requested

Brian Granger <[email protected]> Sun, 27 May 2018 13:50:46 -0700
Newsgroups gmane.comp.python.ipython.devel
Message-ID <[email protected]>
--===============5726409902376178599==
Content-Type: multipart/alternative;
	boundary=Apple-Mail-F2310BC8-7F4E-426E-84DC-6DA0245954EB
Content-Transfer-Encoding: 7bit


--Apple-Mail-F2310BC8-7F4E-426E-84DC-6DA0245954EB
Content-Type: text/plain;
	charset=us-ascii
Content-Transfer-Encoding: quoted-printable

Thomas this is great news! I think that part of the code base could benefit f=
rom being simpler and more extensible. Thanks for tackling this!

Sent from my iPhone

> On May 27, 2018, at 1:19 PM, Thomas Kluyver <[email protected]> wrote:
>=20
> Hi all,
>=20
> For IPython 7, I'm planning a rework of the input transformation framework=
:
> https://github.com/ipython/ipython/pull/11041
>=20
> 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 be=
ast, and I don't feel like it's a good platform for people to add more trans=
formations to. One option to improve this is to make a smaller extensible AP=
I, restricting the kind of things that third party code can do.
>=20
> I don't think there's ever been much third party code extending IPython's i=
nput transformation, but I'd like to find out about the code that does. So i=
f you're aware of a project that does use our input transformation API:
>=20
> - 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 transf=
ormation it wanted?
>=20
> This is specifically about text transformations; AST transformations are n=
ot changed.
>=20
> Thanks,
> Thomas
>=20
> _______________________________________________
> IPython-dev mailing list
> [email protected]
> https://mail.python.org/mailman/listinfo/ipython-dev

--Apple-Mail-F2310BC8-7F4E-426E-84DC-6DA0245954EB
Content-Type: text/html;
	charset=utf-8
Content-Transfer-Encoding: quoted-printable

<html><head><meta http-equiv=3D"content-type" content=3D"text/html; charset=3D=
utf-8"></head><body dir=3D"auto">Thomas this is great news! I think that par=
t of the code base could benefit from being simpler and more extensible. Tha=
nks for tackling this!<br><br><div id=3D"AppleMailSignature">Sent from my iP=
hone</div><div><br>On May 27, 2018, at 1:19 PM, Thomas Kluyver &lt;<a href=3D=
"mailto:[email protected]">[email protected]</a>&gt; wrote:<br><br></div><bloc=
kquote type=3D"cite"><div><div dir=3D"ltr"><div>Hi all,</div><div><br></div>=
<div>For IPython 7, I'm planning a rework of the input transformation framew=
ork:</div><div><a href=3D"https://github.com/ipython/ipython/pull/11041">htt=
ps://github.com/ipython/ipython/pull/11041</a></div><div><br></div><div>The n=
ew framework is - I hope - simpler than the one it replaces, and will hopefu=
lly have fewer weird corner cases. But it's still a pretty complex beast, an=
d I don't feel like it's a good platform for people to add more transformati=
ons to. One option to improve this is to make a smaller extensible API, rest=
ricting 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 extending IPytho=
n'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:=
</div><div><br></div><div>- What project?</div><div>- What does it want to t=
ransform?</div><div>- Can you point me to the code?<br></div><div>- What fal=
lback options would it have if IPython didn't support the transformation it w=
anted?</div><div><br></div><div>This is specifically about text transformati=
ons; AST transformations are not changed.<br></div><div><br></div><div>Thank=
s,</div><div>Thomas<br></div><div><br></div></div>
</div></blockquote><blockquote type=3D"cite"><div><span>____________________=
___________________________</span><br><span>IPython-dev mailing list</span><=
br><span><a href=3D"mailto:[email protected]">[email protected]</a=
></span><br><span><a href=3D"https://mail.python.org/mailman/listinfo/ipytho=
n-dev">https://mail.python.org/mailman/listinfo/ipython-dev</a></span><br></=
div></blockquote></body></html>=

--Apple-Mail-F2310BC8-7F4E-426E-84DC-6DA0245954EB--

--===============5726409902376178599==
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

--===============5726409902376178599==--