Author serhiy.storchaka
Recipients Oren Milman, rhettinger, serhiy.storchaka
Date 2017-08-13.10:36:23
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
PyList_GET_SIZE(list) is cheap (especially in comparison of _PyDict_GetItemId(), _PyDict_SetItemId() and PyList_New()), and its tiny overhead can be avoided at most once per thread's lifetime. I'm sure you can't measure the effect of this change.

If surrounding code be modified for other reasons, may be your change could be applied. But it alone just makes a code churn.
Date User Action Args
2017-08-13 10:36:23serhiy.storchakasetrecipients: + serhiy.storchaka, rhettinger, Oren Milman
2017-08-13 10:36:23serhiy.storchakasetmessageid: <>
2017-08-13 10:36:23serhiy.storchakalinkissue31187 messages
2017-08-13 10:36:23serhiy.storchakacreate