Author steven.daprano
Recipients matrixise, steven.daprano, vstinner
Date 2018-05-29.12:54:24
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
I'm sorry, it isn't clear what optimizations for float(X) and int(X) you are referring to.

I can only guess that you want to optimize:


to use LOAD_CONST 0.0 instead of calling the float() function. If that is what you want, we can't do that because float() may have been shadowed or replaced. Optimizing 1+1 is safe because it involves only literals and operators, no name look-ups.

If that is not what you want, please explain what optimization you are referring to.
Date User Action Args
2018-05-29 12:54:24steven.dapranosetrecipients: + steven.daprano, vstinner, matrixise
2018-05-29 12:54:24steven.dapranosetmessageid: <>
2018-05-29 12:54:24steven.dapranolinkissue33682 messages
2018-05-29 12:54:24steven.dapranocreate