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/2011-April/110856.html below:

Pure Python/C Accelerator Module Compatibiilty Requirements

[Python-Dev] PEP 399: Pure Python/C Accelerator Module Compatibiilty Requirements [Python-Dev] PEP 399: Pure Python/C Accelerator Module Compatibiilty RequirementsStefan Behnel stefan_ml at behnel.de
Mon Apr 18 21:23:02 CEST 2011
Maciej Fijalkowski, 18.04.2011 19:11:
> On Mon, Apr 18, 2011 at 6:32 PM, Éric Araujo wrote:
>>> We try very hard to optimize for usual python idioms. They're very
>>> often much better than specific cpython hacks. Unless you mean things
>>> like rebiding a global into default a "pythonic idiom". We had to
>>> rewrite places in standard library which are precisely not very
>>> pythonic.
>>
>> If I understand correctly, you’ve made internal changes preserving the
>> official API of the modules.  Have you reported those cases to
>> bugs.python.org?  I’m sure we’d be glad to incorporate those changes
>> into the stdlib, possibly even in the stable branches if their rationale
>> is strong enough.
>
> I think what's relevant was merged by benjamin. Usually:
>
> * we do revert things that were specifically made to make cpython faster, like
>
>   def f(_getattr=getattr):
>     ...

Thanks. Speaking for the Cython project, we are certainly happy to see 
these micro optimisations reverted. Makes our life easier and the generated 
code faster.

Stefan

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