Movatterモバイル変換
[0]ホーム
[Python-Dev] PEP 451 (ModuleSpec) is accepted
Nick Coghlanncoghlan at gmail.com
Fri Nov 8 22:57:59 CET 2013
On 9 Nov 2013 06:39, "Brett Cannon" <brett at python.org> wrote:>> I just want to publicly thank Eric for his hard work on this PEP. I thinkNick, Eric, and myself all came to the same conclusion independently aboutneeding to update the APIs used by import to make them more flexible andable to grow in the future, but Eric is the one that took the time tochampion the changes, write the PEP, and handle the huge amount of feedbackboth on the import SIG and here along with his current patch.>> I know I'm quite pleased with the way this PEP turned out and am alreadylooking forward to using the new APIs hopefully in Python 3.5 forintroducing a lazy loader mechanism to the stdlib.We should even be able to finally make circular imports work moreconsistently, better handle partial failures of packages that implicitlyimport submodules and address some of the import traps described in PEP 395.This change also enables better integration of runpy with the normal importsystem, the opportunity for much cleaner reload support (it's currentlyrife with opportunities for implicit, hard to debug, failures) and thepossibility of bringing C extension loading up to a similar level ofcapability to Python module execution (e.g. allowing extension modules tosupport execution via runpy)Many of those related changes won't happen until Python 3.5, but PEP 451 isan important step towards making them practical.Awesome work, Eric - this is a far more significant upgrade to the importsystem than my indirect import idea that originally spawned the discussionon import-sig :)Cheers,Nick.>>> On Fri, Nov 8, 2013 at 2:49 PM, Eric Snow <ericsnowcurrently at gmail.com>wrote:>>>> I'm pleased to announce that Brett Cannon and Nick Coghlan (the>> co-BDFL-delegates) have accepted PEP 451 for inclusion in Python 3.4.>> Both of them have contributed substantially to the discussions of the>> proposal and have helped make it solid. I'm grateful for their>> diligence, attentiveness, and expertise. I'd also like to thank PJ>> Eby, who provided important insight on several occasions and helped>> out with some sticky backward-compatibility situations.>>>>http://www.python.org/dev/peps/pep-0451/>>>> -eric>> _______________________________________________>> Python-Dev mailing list>>Python-Dev at python.org>>https://mail.python.org/mailman/listinfo/python-dev>> Unsubscribe:https://mail.python.org/mailman/options/python-dev/brett%40python.org>>>> _______________________________________________> Python-Dev mailing list>Python-Dev at python.org>https://mail.python.org/mailman/listinfo/python-dev> Unsubscribe:https://mail.python.org/mailman/options/python-dev/ncoghlan%40gmail.com>-------------- next part --------------An HTML attachment was scrubbed...URL: <http://mail.python.org/pipermail/python-dev/attachments/20131109/82966770/attachment.html>
More information about the Python-Devmailing list
[8]ページ先頭