Issue 837577: cryptic os.spawnvpe() return code (original) (raw)

Issue837577

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.

This issue has been migrated to GitHub: https://github.com/python/cpython/issues/39518

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:01 admin set github: 39518
2009-03-31 18:27:07 georg.brandl set status: open -> closedresolution: fixedmessages: +
2009-02-14 12:32:33 ajaksu2 set nosy: + ajaksu2messages: + components: + Documentationstage: test needed
2008-01-04 01:22:10 christian.heimes set severity: normal -> minorversions: + Python 2.6, - Python 2.3nosy: + christian.heimestitle: cryptic os.spawnvpe() return code -> cryptic os.spawnvpe() return codemessages: + priority: normal -> lowtype: enhancement
2003-11-06 23:11:13 clintonroy create

Supported by The Python Software Foundation,
Powered by Roundup

Copyright © 1990-2022, Python Software Foundation
Legal Statements