Message307798
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. |
|
Date |
User |
Action |
Args |
2017-12-07 12:17:15 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, vstinner |
2017-12-07 12:17:15 | serhiy.storchaka | set | messageid: <1512649035.8.0.213398074469.issue32240@psf.upfronthosting.co.za> |
2017-12-07 12:17:15 | serhiy.storchaka | link | issue32240 messages |
2017-12-07 12:17:15 | serhiy.storchaka | create | |
|