This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

作者 brett.cannon
收信人 Arfrever, alex, amaury.forgeotdarc, asvetlov, brett.cannon, brian.curtin, chris.jerdonek, christian.heimes, pitrou, pjenvey, serhiy.storchaka
日期 2012-12-11.14:16:42
SpamBayes Score -1.0
Marked as misclassified
Message-id <1355235403.4.0.904671744211.issue16651@psf.upfronthosting.co.za>
In-reply-to
内容
Alex: yes, the builtins could almost all be re-implemented in pure Python, but there is a performance consideration vs. benefit (e.g. if we re-implemented map() in Python which VMs would use it vs. implement it in some native way for performance?).

But one place I think there could be a benefit w/o performance issues is the built-in exceptions as you should be able to store references to the classes to help minimize the added cost of startup creating the exceptions from Python code.

Amaury: other VMs and easier extensibility in the future. We might as well all share the burden of maintaining pure Python versions instead of re-implementing the same thing over and over in little VM silos. And if some new thing needs to be added for a module it's easier to do it in Python than C (which then also continues to benefit other VMs).
历史
日期 用户 动作 参数
2012-12-11 14:16:43brett.cannon修改recipients: + brett.cannon, amaury.forgeotdarc, pitrou, christian.heimes, pjenvey, Arfrever, alex, brian.curtin, asvetlov, chris.jerdonek, serhiy.storchaka
2012-12-11 14:16:43brett.cannon修改messageid: <1355235403.4.0.904671744211.issue16651@psf.upfronthosting.co.za>
2012-12-11 14:16:43brett.cannon链接issue16651 messages
2012-12-11 14:16:42brett.cannon创建