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

            Bug ID: 378083
           Summary: Variables from parent function in closures are
                    considered undefined
           Product: kdev-python
           Version: 5.1.0
          Platform: unspecified
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: Language support
          Assignee: m...@svenbrauch.de
          Reporter: dnico...@gmail.com
  Target Milestone: ---

Variables from the parent function in closures are considered "undefined" and
marked as a problem.

Code to reproduce: 

----
def test_closures():
    def test_inner():
        print(this)

    this = 'that'
----

The problems dock shows: "Undefined Variable: this"

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

Reply via email to