[issue8454] unittest Module Problem with different Kinds of Invocation

Perbandt report at bugs.python.org
Mon Apr 19 14:25:31 CEST 2010


Perbandt <adalbert.perbandt at infineon.com> added the comment:

Yes, the proposed fix would be an incompatible change. But my assumption is that in scenarios where main(...) is called programmatically the fix would correct an erroneous behavior. In these scenarios whatever is being passed as the first entry in the argv array gets lost currently. Possibly many users who already noticed this implemented a workaround (I changed the pyunit Ant task's code to add a dummy argument as the first element in the argv array).

----------
versions: +Python 2.5 -Python 2.6, Python 2.7

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


More information about the Python-bugs-list mailing list