Bugs item #1730441, was opened at 2007-06-04 01:17 Message generated for change (Tracker Item Submitted) made by Item Submitter 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: None Group: None Status: Open Resolution: None Priority: 5 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 _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
