Message149389
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__
'f'
>>> importlib.util.set_loader(f).__qualname__
'set_loader.<locals>.wrapper'
The attached patch fixes this. OK to commit? |
|
Date |
User |
Action |
Args |
2011-12-13 14:08:16 | meador.inge | set | recipients:
+ meador.inge, brett.cannon |
2011-12-13 14:08:16 | meador.inge | set | messageid: <1323785296.62.0.631553026432.issue13593@psf.upfronthosting.co.za> |
2011-12-13 14:08:15 | meador.inge | link | issue13593 messages |
2011-12-13 14:08:15 | meador.inge | create | |
|