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.

Author brett.cannon
Recipients Arfrever, alex, amaury.forgeotdarc, asvetlov, brett.cannon, brian.curtin, chris.jerdonek, christian.heimes, pitrou, pjenvey, serhiy.storchaka
Date 2012-12-11.14:16:42
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1355235403.4.0.904671744211.issue16651@psf.upfronthosting.co.za>
In-reply-to
Content
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).
History
Date User Action Args
2012-12-11 14:16:43brett.cannonsetrecipients: + brett.cannon, amaury.forgeotdarc, pitrou, christian.heimes, pjenvey, Arfrever, alex, brian.curtin, asvetlov, chris.jerdonek, serhiy.storchaka
2012-12-11 14:16:43brett.cannonsetmessageid: <1355235403.4.0.904671744211.issue16651@psf.upfronthosting.co.za>
2012-12-11 14:16:43brett.cannonlinkissue16651 messages
2012-12-11 14:16:42brett.cannoncreate