[issue12344] Add **kwargs to get_reinitialized_command

Thomas Holmes report at bugs.python.org
Sat Jul 9 05:21:04 CEST 2011


Thomas Holmes <thomas at devminded.com> added the comment:

I have made a patch based on your suggestions made to higery, Éric. I have two questions:

1) In Distributions.get_reinitialized_command should the reinitialization of the subcommands also get passed the kwargs? Unfortunately my understanding of the (sub)command flow is not rock solid.

2) What are your thoughts on an effective test for this? This command does not currently have one. I believe I know a simple way to test the new kwargs functionality but if one were to write a test for get_reinitialized_command I think it should probably test the rest of the function as well.

Thoughts?

----------
hgrepos: +39
nosy: +thomas.holmes

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue12344>
_______________________________________


More information about the Python-bugs-list mailing list