title: Namespace in method parameters
body: <p>I'm surprised that the namespace of function parameters in a method is the class and not the global scope.</p>
  
  <pre><code>def a(x):
      print("Global A from {}".format(x))
  
  class Test:
      def a(self, f=a):
          print("A")
          f("a")  # this will call the global method a()
  
      def b(self, f=a):
          print("B")
          f("b")   # this will call the class method a()
  
  t=Test()
  t.b()
  </code></pre>
  
  <p>How to explain that? And how would I access the global a() from the parameters of b?</p>