This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author mhammond
Recipients jkloth, mhammond, paul.moore, tim.golden, vinay.sajip
Date 2013-07-19.01:11:12
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1374196273.31.0.473218276541.issue18491@psf.upfronthosting.co.za>
In-reply-to
Content
Obviously I'm missing a little context, but it seems a little wrong for the same launcher to be doing this double-duty.  It seems we only want to use the launcher in this way as it already has some of the interesting code we need - but the vast majority of users aren't going to want to have it behave this way implicitly (ie, when they start what they consider the "launcher", they aren't going to expect this magic.  Conversely, when someone executes "foo", they are going to be expecting exactly 1 thing to happen and that isn't "do what py.exe with no args does")

So maybe this could be behind a #define, and have another .exe built from the same sources?  One exe sticks with the launcher semantics (ie, never looks for foo-script.py), and the other sticks with the wrapper semantics (ie, terminates with an error if foo-script.py can't be found)

All that said though, I'm not involved in the distutils discussions and acknowledge the general requirements as real, so do whatever you need to do :)
History
Date User Action Args
2013-07-19 01:11:13mhammondsetrecipients: + mhammond, paul.moore, vinay.sajip, tim.golden, jkloth
2013-07-19 01:11:13mhammondsetmessageid: <1374196273.31.0.473218276541.issue18491@psf.upfronthosting.co.za>
2013-07-19 01:11:13mhammondlinkissue18491 messages
2013-07-19 01:11:12mhammondcreate