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 meador.inge
Recipients brett.cannon, meador.inge
Date 2011-12-13.14:08:15
SpamBayes Score 0.0047666086
Marked as misclassified No
Message-id <>
I was recently reading the 'importlib' code and noticed that the utility 
decorators have not been updated for '__qualname__':

>>> def f(): pass
>>> importlib.util.set_loader(f)
<function set_loader.<locals>.wrapper at 0x7f4b323f1f60>
>>> importlib.util.set_loader(f).__name__
>>> importlib.util.set_loader(f).__qualname__

The attached patch fixes this.  OK to commit?
Date User Action Args
2011-12-13 14:08:16meador.ingesetrecipients: + meador.inge, brett.cannon
2011-12-13 14:08:16meador.ingesetmessageid: <>
2011-12-13 14:08:15meador.ingelinkissue13593 messages
2011-12-13 14:08:15meador.ingecreate