https://bugs.kde.org/show_bug.cgi?id=359907

            Bug ID: 359907
           Summary: Module imported twice makes first one become undefined
           Product: kdev-python
           Version: frameworks
          Platform: Compiled Sources
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: Language support
          Assignee: m...@svenbrauch.de
          Reporter: nicolas.alva...@gmail.com

If a module is imported twice in a script, it becomes undefined between the
first and the second import. For example:

import os
print(os.name) # 'os' is underlined in green, tooltip says 'Undefined
variable', 'name' is black
import os
print(os.name) # both 'os' and 'name' are highlighted green, no underline

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to