Author serhiy.storchaka
Recipients serhiy.storchaka, vstinner
Date 2017-12-07.12:17:15
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1512649035.8.0.213398074469.issue32240@psf.upfronthosting.co.za>
In-reply-to
Content
I don't like "PyConstObjectArray" or any other name. I will just obfuscate the C code. "PyObject * const *args" should be clear for every C programmer, but if I see "PyConstObjectArray" I need to search the definition of it in the header files. And it is easy to make a mistake by using "PyConstObjectArray *" instead of "PyConstObjectArray" since complex types usually are passed by pointer in C.

If you prefer, "PyObject * const *args" can be written as "PyObject * const args[]". This is an identical syntax, but the latter form is used more rarely.
History
Date User Action Args
2017-12-07 12:17:15serhiy.storchakasetrecipients: + serhiy.storchaka, vstinner
2017-12-07 12:17:15serhiy.storchakasetmessageid: <1512649035.8.0.213398074469.issue32240@psf.upfronthosting.co.za>
2017-12-07 12:17:15serhiy.storchakalinkissue32240 messages
2017-12-07 12:17:15serhiy.storchakacreate