Re: [Python-Dev] PEP 579 and PEP 580: refactoring C functions and methods

2018年9月13日 16:54:02 -0700

2018年9月13日(木) 18:22 Jeroen Demeyer <[email protected]>:
> On 2018年09月13日 02:26, Petr Viktorin wrote:
>
> > PyCCall_FASTCALL is not a macro, shouldn't it be named PyCCall_FastCall?
>
> What's the convention for that anyway? I assumed that capital letters
> meant a "really know what you are doing" function which could segfault
> if used badly.
>
> For me, whether something is a function or macro is just an
> implementation detail (which can change between Python versions) which
> should not affect the naming.
>
https://www.python.org/dev/peps/pep-0007/#naming-conventions
All capital name is used for macros.
>
_______________________________________________
Python-Dev mailing list
[email protected]
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to