A RetroSearch Logo

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

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2014-June/134693.html below:

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

[Python-Dev] Should standard library modules optimize for CPython? [Python-Dev] Should standard library modules optimize for CPython?Antoine Pitrou solipsis at pitrou.net
Sun Jun 1 18:17:22 CEST 2014
Le 01/06/2014 10:11, Steven D'Aprano a écrit :
>
> My feeling is that the CPython standard library should be written for
> CPython, that is, it should stick to the current naive implementation of
> median, and if PyPy wants to speed the function up, they can provide
> their own version of the module. I should *not* complicate the
> implementation by trying to detect which Python the code is running
> under and changing algorithms accordingly. However, I should put a
> comment in the module pointing at the tracker issue. Does this sound
> right to others?

It sounds ok to me.

Regards

Antoine.


More information about the Python-Dev mailing list

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