Skip to content
Snippets Groups Projects
Commit 36dd19ae authored by Paul Sokolovsky's avatar Paul Sokolovsky
Browse files

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).
parent 4e1ed825
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment