summaryrefslogtreecommitdiff
path: root/py/unicode.c
diff options
context:
space:
mode:
authorPaul Sokolovsky <pfalcon@users.sourceforge.net>2018-10-25 23:48:03 +0300
committerDamien George <damien.p.george@gmail.com>2018-11-01 13:33:16 +1100
commit5c18730f28c4f70496f52a59293ee4a575ab3fa5 (patch)
treea2f78ecef32a28b419e400b2d8c28f4d9da93a6b /py/unicode.c
parent30ed2b3cabd4fe3cc8e0b865846a05d957937a50 (diff)
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 *").
Diffstat (limited to 'py/unicode.c')
0 files changed, 0 insertions, 0 deletions