[Python-Dev] Why spawnvp not implemented on Windows? (original) (raw)
Anthony Baxter anthony at interlink.com.au
Fri Oct 13 07:11:21 CEST 2006
- Previous message: [Python-Dev] Why spawnvp not implemented on Windows?
- Next message: [Python-Dev] Why spawnvp not implemented on Windows?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Friday 13 October 2006 10:46, Alexey Borzenkov wrote:
But the fact that I have to use similar code anywhere I need to use spawnlp is not fair. Notice that spawnvpe is simply a clone of execvpe from os.py, maybe if the problem is new API in c source, this approach could be used in os.py?
Oddly, "fair" isn't a constraint in PEP-0006. Backwards and forwards compatibility between all point releases in a major release is. Adding it to os.py rather than C code doesn't make a difference.
P.S. Although it's a bit stretching, one might also say that implementing spawnp on windows is not actually a new feature, and rather is a bugfix for misfeature. Why every other platform can benefit from spawnp and only Windows can't? This just makes os.spawnp useless: it becomes unreliable and can't be used in portable code at all.
"One" might say that. I wouldn't. It stays out until 2.6.
Sorry Anthony
-- Anthony Baxter <anthony at interlink.com.au> It's never too late to have a happy childhood.
- Previous message: [Python-Dev] Why spawnvp not implemented on Windows?
- Next message: [Python-Dev] Why spawnvp not implemented on Windows?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]