New submission from Henry Precheur <he...@precheur.org>:

The function find_executable crashes if PATH is not defined.

I admit that it's an extreme case, but it's probably better to on the safe side 
of things.

What about using the current directory only if PATH is not defined? This seems 
to be a reasonable workaround.

----------
assignee: tarek
components: Distutils, Distutils2
files: fix_empty_path.diff
keywords: patch
messages: 139261
nosy: alexis, eric.araujo, henry.precheur, tarek
priority: normal
severity: normal
status: open
title: distutils crashes if PATH is not defined
versions: Python 2.6, Python 2.7, Python 3.1, Python 3.2, Python 3.3, Python 3.4
Added file: http://bugs.python.org/file22492/fix_empty_path.diff

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue12420>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to