This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author eric.snow
Recipients Arfrever, Mark.Shannon, alex, barry, benjamin.peterson, cvrebert, daniel.urban, eric.snow, meador.inge, michael.foord, ncoghlan, python-dev
Date 2012-09-07.17:00:34
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1347037235.37.0.307134597927.issue12370@psf.upfronthosting.co.za>
In-reply-to
Content
Wouldn't the following also start working (currently a NameError)?

  class X:
      def f(self):
          print(f.__qualname__)
      def g(self):
          f(None)

  X().f()
  X().g()

How about this[1] (also currently a NameError):

  class Outer:
     class Inner:
         class Worker:
             pass
         class InnerSubclass(Inner):
             class Worker(Inner.Worker):
                 pass

I wouldn't mind the semantic change, but it would be a change nonetheless.


[1] See http://mail.python.org/pipermail/python-list/2011-April/601605.html
History
Date User Action Args
2012-09-07 17:00:35eric.snowsetrecipients: + eric.snow, barry, ncoghlan, benjamin.peterson, Arfrever, alex, michael.foord, cvrebert, meador.inge, daniel.urban, Mark.Shannon, python-dev
2012-09-07 17:00:35eric.snowsetmessageid: <1347037235.37.0.307134597927.issue12370@psf.upfronthosting.co.za>
2012-09-07 17:00:34eric.snowlinkissue12370 messages
2012-09-07 17:00:34eric.snowcreate