➜

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 Alexander.Belopolsky
Recipients Alexander.Belopolsky, Arfrever, doko
Date 2010-04-19.14:26:18
SpamBayes Score 4.6948556e-12
Marked as misclassified No
Message-id <1271687180.76.0.0567242057421.issue8191@psf.upfronthosting.co.za>
In-reply-to
Content
Google code search for

os.execlp\([^*,]+\) lang:python

returns 15 hits, two of which are the same as Matthias found.  I am not sure what these results mean for the issue (and Matthias does not reach a conclusion either.)

Note that the status quo in 3.x is that os.execlp(single_arg) is invalid, so all these examples will stop working in 3.x and will not be fixed by 2to3.  My patch will only make failure happen sooner and reason for it more obvious.

I am not very happy about issue1039 (r57731) to begin with.  (See my comments at issue8154.)  It was rather hastily applied 3.x feature without a corresponding -3 warning and not even a mention in the NEWS file.  However if r57731 stays as a strict POSIX compliance feature, I think it will be cleaner to enforce >1 argument to os.execl* functions in their signatures rather than in a run-time check.
History
Date User Action Args
2010-04-19 14:26:20Alexander.Belopolskysetrecipients: + Alexander.Belopolsky, doko, Arfrever
2010-04-19 14:26:20Alexander.Belopolskysetmessageid: <1271687180.76.0.0567242057421.issue8191@psf.upfronthosting.co.za>
2010-04-19 14:26:18Alexander.Belopolskylinkissue8191 messages
2010-04-19 14:26:18Alexander.Belopolskycreate