tests/import_long_dyn: Test for "import *" of a long dynamic name.

Such names aren't stored as qstr in module dict, and there was a bug in
"import *" handling which assumed any name in a module dict is a qstr.
This commit is contained in:
Paul Sokolovsky 2018-10-25 23:43:44 +03:00 committed by Damien George
parent 5c18730f28
commit d94aa577a6
2 changed files with 2 additions and 0 deletions

View File

@ -0,0 +1 @@
from import_long_dyn2 import *

View File

@ -0,0 +1 @@
globals()["long_long_very_long_long_name"] = 1