]> granicus.if.org Git - python/commit
Undo potentially confusing name change in packaging.
authorÉric Araujo <merwok@netwok.org>
Sun, 6 Nov 2011 05:54:05 +0000 (06:54 +0100)
committerÉric Araujo <merwok@netwok.org>
Sun, 6 Nov 2011 05:54:05 +0000 (06:54 +0100)
commita963e0d917d71079910d31b69a1cc8a06b74edbe
tree25033dfe66a23fc0e41105f81c3aa91c6215675c
parent4e377f215d1b4ec7a7a7268a1d4cbd867a45a9ee
Undo potentially confusing name change in packaging.

This method was named reinitialize_command in distutils and accompanied
by a comment suggesting to change it to get_reinitialized_command.
Following that, I did the change for distutils2, but it proved
confusing: The Distribution object has an internal cache of command
objects, to make sure only one instance is ever used, and the name
get_reinitialized_command could suggest that the object returned was
independent of that cache, which it was not.  I’m reverting the name
change to make code clearer.
Lib/packaging/command/bdist.py
Lib/packaging/command/bdist_dumb.py
Lib/packaging/command/bdist_msi.py
Lib/packaging/command/bdist_wininst.py
Lib/packaging/command/cmd.py
Lib/packaging/command/test.py
Lib/packaging/dist.py
Lib/packaging/tests/support.py