[Python-Dev] Should standard library modules optimize for CPython?

Steven D'Aprano steve at pearwood.info
Wed Jun 4 03:01:43 CEST 2014


On Sun, Jun 01, 2014 at 06:11:39PM +1000, Steven D'Aprano wrote:
> I think I know the answer to this, but I'm going to ask it anyway...
> 
> I know that there is a general policy of trying to write code in the 
> standard library that does not disadvantage other implementations. How 
> far does that go the other way? Should the standard library accept 
> slower code because it will be much faster in other implementations?
[...]


Thanks to everyone who replied! I just wanted to make a brief note to 
say that although I haven't been very chatty in this thread, I have been 
reading it, so thanks for the advice, it is appreciated.


-- 
Steven


More information about the Python-Dev mailing list