Raymond Hettinger added the comment: To me, this is renaming: def f(x): pass f.__name__ = g And this is aliasing: g = f ---------- _______________________________________ Python tracker <report at bugs.python.org> <http://bugs.python.org/issue28681> _______________________________________