mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-23 05:07:31 +07:00
The problem was caused by the fact that we ignore imported element "request" in "flask/__init__.py" at first and mark this module as already checked (using the name "flask") and then refuse to suggest "flask.globals.requests" because its canonical qualified name is "flask.request". I've also added a test on importing functions of os.path module since it's a well-known case where several different symbols should be imported using the same name (provided by PyStdlibCanonicalPathProvider). My first attempt to fix the problem by saving actual import candidates instead of their canonical qualified names has broken exactly this scenario.
2 lines
25 B
Python
2 lines
25 B
Python
def join(*args):
|
|
pass |