[issue16064] unittest -m claims executable is "python", not "python3"

Larry Hastings report at bugs.python.org
Fri Sep 28 11:20:08 CEST 2012


Larry Hastings added the comment:

Certainly.  But what is the right thing to do?

I talked to Michael about it in person this morning, and our consensus was: use basename of sys.executable.

Patch attached.

----------
keywords: +patch
stage: needs patch -> patch review
Added file: http://bugs.python.org/file27325/larry.unittest.argv0.1.diff

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


More information about the Python-bugs-list mailing list