[Python-Dev] __qualname__ exposed as a local variable: standard?

Carlos Pita carlosjosepita at gmail.com
Thu Jul 7 13:09:16 EDT 2016


Hi all,

I noticed __qualname__ is exposed by locals() while defining a class. This
is handy but I'm not sure about its status: is it standard or just an
artifact of the current implementation? (btw, the pycodestyle linter
-former pep8- rejects its usage). I was unable to find any reference to
this behavior in PEP 3155 nor in the language reference.

Thank you in advance
--
Carlos
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-dev/attachments/20160707/85c850ab/attachment.html>


More information about the Python-Dev mailing list