Message264125
In general there should be an early out test for keywords==NULL before calling the comparatively high overhead function _PyArg_NoKeywords.
That function adds overhead everywhere it is used and provides zero benefit to correct programs in order to provide earlier detection of a very rare class of errors.
Some care needs to be taken before slapping _PyArg_NoKeywords onto every function in the core that doesn't use keyword arguments. |
|
Date |
User |
Action |
Args |
2016-04-24 19:35:29 | rhettinger | set | recipients:
+ rhettinger, python-dev, martin.panter, serhiy.storchaka, josh.r, xiang.zhang |
2016-04-24 19:35:29 | rhettinger | set | messageid: <1461526529.41.0.944451025342.issue26822@psf.upfronthosting.co.za> |
2016-04-24 19:35:29 | rhettinger | link | issue26822 messages |
2016-04-24 19:35:29 | rhettinger | create | |
|