[ python-Bugs-1730441 ] os._execvpe raises assignment error in python 3000 svn

SourceForge.net noreply at sourceforge.net
Mon Jun 4 03:17:41 CEST 2007


Bugs item #1730441, was opened at 2007-06-04 01:17
Message generated for change (Settings changed) made by nifan
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1730441&group_id=5470

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
>Category: Python Library
>Group: Python 3000
Status: Open
Resolution: None
>Priority: 3
Private: No
Submitted By: nifan (nifan)
Assigned to: Nobody/Anonymous (nobody)
Summary: os._execvpe raises assignment error in python 3000 svn

Initial Comment:
While converting/playing with our project and Python 3000 we hit upon this what we think is a small error in the os.py source.

We communicate with mercurial (hg command) and hit the following error:

http://qna.nu/paste/cnxx/

Thought it seems that the correct way to call subprocess.Popen is with a list not a string, the error it raises is still an variable referenced before assignment error.

Child Exception: http://qna.nu/paste/e5el/

Seems that with Python3000 and _execvpe, the raise statement ending the function uses 'e' before assignment.

Python 2.4 and Python 2.5 seems to do the correct thing and raise an OSError: [Errno 2] No such file or directory.


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1730441&group_id=5470


More information about the Python-bugs-list mailing list