Proposed design for importlib.resources()
Brett Cannon <[email protected]> Fri, 20 Nov 2015 21:23:56 +0000
| Newsgroups | gmane.comp.python.import |
|---|---|
| Message-ID | <CAP1=2W4EzknTqS01Z=gBfvZjB1NBjk0BuRfHPctoMpBwcG=NPw@mail.gmail.com> |
--===============6299228611356125163== Content-Type: multipart/alternative; boundary=001a114d6f02da7d120524ff7e72 --001a114d6f02da7d120524ff7e72 Content-Type: text/plain; charset=UTF-8 I have created a Jupyter Notebook to explain my thinking on what importlib.resources() should be (at least initially). You can view the notebook at http://nbviewer.jupyter.org/gist/brettcannon/9c4681a77a7fa09c5347 or download it and play with the code live in your own copy (you can download Anaconda 2.4 if you don't have Jupyter already set up under Python 3.5: https://www.continuum.io/downloads; I have filed https://github.com/binder-project/binder/issues/38 to try and get mybinder.org updated to Python 3.5 so that can be used instead). The notebook is a bit long and is much better formatted elsewhere, so I'm not going to inline it here. If you want to comment on the notebook just copy and paste the relevant part into your reply. --001a114d6f02da7d120524ff7e72 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr">I have created a Jupyter Notebook to explain my thinking o= n what importlib.resources() should be (at least initially). You can view t= he notebook at=C2=A0<a href=3D"http://nbviewer.jupyter.org/gist/brettcannon= /9c4681a77a7fa09c5347">http://nbviewer.jupyter.org/gist/brettcannon/9c4681a= 77a7fa09c5347</a>=C2=A0or download it and play with the code live in your o= wn copy (you can download Anaconda 2.4 if you don't have Jupyter alread= y set up under Python 3.5:=C2=A0<a href=3D"https://www.continuum.io/downloa= ds">https://www.continuum.io/downloads</a>; I have filed=C2=A0<a href=3D"ht= tps://github.com/binder-project/binder/issues/38">https://github.com/binder= -project/binder/issues/38</a>=C2=A0to try and get <a href=3D"http://mybinde= r.org">mybinder.org</a> updated to Python 3.5 so that can be used instead).= <div><br></div><div>The notebook is a bit long and is much better formatted= elsewhere, so I'm not going to inline it here. If you want to comment = on the notebook just copy and paste the relevant part into your reply.</div= ></div> --001a114d6f02da7d120524ff7e72-- --===============6299228611356125163== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Import-SIG mailing list [email protected] https://mail.python.org/mailman/listinfo/import-sig --===============6299228611356125163==--