A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://mail.python.org/pipermail/python-dev/attachments/20090714/431dbe04/attachment.htm below:

I implemented get_filename() as specified in PEP 302 for importlib&#39;s source and bytecode loaders and I was starting to create the ABC for importlib.abc, but then I realized that perhaps the loader should live in runpy instead of importlib.<div>

<br></div><div>Putting the new ABC in importlib keeps all PEP 302 ABCs in a single spot. But this addition to the PEP 302 protocols is very specific to runpy and is not directly required to make imports work (the implementation was just a reshuffling of pre-existing code from one method to another). I am tempted to leave the ABC out of importlib and stop at implementing get_filename() for importlib.abc.PyLoader and PyPycLoader.</div>

<div><br></div><div>Any opinions?</div><div><br></div><div>-Brett</div>



RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4