diff options
author | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2014-04-06 02:12:03 +0300 |
---|---|---|
committer | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2014-04-06 02:15:23 +0300 |
commit | 36dd19ae27ca72c064489c1a4bf7a942b5eecaea (patch) | |
tree | c102a7e222edfef14e9203e3bc473761e0cc4031 /py/compile.h | |
parent | 4e1ed82583081a45501723bf9c920e8e776719f4 (diff) | |
download | micropython-36dd19ae27ca72c064489c1a4bf7a942b5eecaea.tar.gz micropython-36dd19ae27ca72c064489c1a4bf7a942b5eecaea.zip |
py: Revert mp_load_attr() to its previous state (not supporting default val).
Based on the discussion in #433. mp_load_attr() is critical-path function,
so any extra check will slowdown any script. As supporting default val
required only for getattr() builtin, move correspending implementation
there (still as a separate function due to concerns of maintainability
of such almost-duplicated code instances).
Diffstat (limited to 'py/compile.h')
0 files changed, 0 insertions, 0 deletions