Author serhiy.storchaka
Recipients brett.cannon, serhiy.storchaka, vstinner, yselivanov, ztane
Date 2016-09-16.11:29:26
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1474025366.23.0.669587039982.issue28158@psf.upfronthosting.co.za>
In-reply-to
Content
There is too much magic in ceval_cache.h. Since the patch adds caching only for the LOAD_GLOBAL opcode, it would much clearer if write functions only for the LOAD_GLOBAL opcode, without multilayer macros.

What will happen if there more than 255 LOAD_GLOBALs. Wouldn't 256th LOAD_GLOBAL return incorrect cached value for the the LOAD_GLOBAL (with index 0)?
History
Date User Action Args
2016-09-16 11:29:26serhiy.storchakasetrecipients: + serhiy.storchaka, brett.cannon, vstinner, yselivanov, ztane
2016-09-16 11:29:26serhiy.storchakasetmessageid: <1474025366.23.0.669587039982.issue28158@psf.upfronthosting.co.za>
2016-09-16 11:29:26serhiy.storchakalinkissue28158 messages
2016-09-16 11:29:26serhiy.storchakacreate