__qualname__ exposed as a local variable: standard?
carlosjosepita at gmail.com
carlosjosepita at gmail.com
Sat Jul 9 00:08:35 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
More information about the Python-list
mailing list