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.

classification
Title: cryptic os.spawnvpe() return code
Type: enhancement Stage: test needed
Components: Documentation, Library (Lib) Versions: Python 2.6
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: nnorwitz Nosy List: ajaksu2, christian.heimes, clintonroy, georg.brandl, nnorwitz
Priority: low Keywords:

Created on 2003-11-06 23:11 by clintonroy, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Messages (5)
msg18932 - (view) Author: Clinton Roy (clintonroy) Date: 2003-11-06 23:11
Hellos,

If a non string value is passed along in an environment
mapping to os.spawnvpe() it cryptically returns 127,
which doesn't help discover the problem at all.

I think an exception should be raised, much like
attempting to set something in os.environ to a non string.

thanks,
msg18933 - (view) Author: Georg Brandl (georg.brandl) * (Python committer) Date: 2006-02-20 18:32
Logged In: YES 
user_id=849994

This is hard to fix because of backwards compatibility. Neal?
msg59203 - (view) Author: Christian Heimes (christian.heimes) * (Python committer) Date: 2008-01-04 01:22
Neal?
msg82031 - (view) Author: Daniel Diniz (ajaksu2) * (Python triager) Date: 2009-02-14 12:32
Maybe a mention to this in the docs is good enough? But does the usual
user of os.spawnvpe need such clarification?
msg84852 - (view) Author: Georg Brandl (georg.brandl) * (Python committer) Date: 2009-03-31 18:27
Documented in r70851.
History
Date User Action Args
2022-04-11 14:56:01adminsetgithub: 39518
2009-03-31 18:27:07georg.brandlsetstatus: open -> closed
resolution: fixed
messages: + msg84852
2009-02-14 12:32:33ajaksu2setnosy: + ajaksu2
messages: + msg82031
components: + Documentation
stage: test needed
2008-01-04 01:22:10christian.heimessetseverity: normal -> minor
versions: + Python 2.6, - Python 2.3
nosy: + christian.heimes
title: cryptic os.spawnvpe() return code -> cryptic os.spawnvpe() return code
messages: + msg59203
priority: normal -> low
type: enhancement
2003-11-06 23:11:13clintonroycreate