Skip to content
Snippets Groups Projects
Commit 5c18730f authored by Paul Sokolovsky's avatar Paul Sokolovsky Committed by Damien George
Browse files

py/runtime: Fix qstr assumptions when handling "import *".

There was an assumption that all names in a module dict are qstr's.
However, they can be dynamically generated (by assigning to globals()),
and in case of a long name, it won't be a qstr. Handle this situation
properly, including taking care of not creating superfluous qstr's for
names starting with "_" (which aren't imported by "import *").
parent 30ed2b3c
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment