[Python-Dev] Proposal: explicitly disallow function/class mismatches in accelerator modules

Ethan Furman ethan at stoneleaf.us
Mon Jul 11 02:25:24 EDT 2016

On 07/10/2016 08:32 PM, Chris Angelico wrote:
> On Mon, Jul 11, 2016 at 1:26 PM, Steven D'Aprano <steve at pearwood.info> wrote:
>> (1) How much extra effort are we going to *mandate* that core devs put
>> in to hide the differences between C and Python code, for the benefit of
>> a small minority that will notice them?
> The subject line is raising one specific difference: the use of a
> function in one version and a class in the other. I think it's not
> unreasonable to stipulate one specific incompatibility that mustn't be
> permitted.

Is that what the subject line meant?  I missed that, thanks for pointing 
that out!

I think I can agree with having both versions being functions or both 
versions being classes.


More information about the Python-Dev mailing list