New submission from Dee Mee <maz...@gmail.com>:

Function set_executable() in ccompiler.py does the following check:

    def set_executable(self, key, value):
        if isinstance(value, str):
            setattr(self, key, split_quoted(value))
        else:
            setattr(self, key, value)


The check "if isinstance(value, str)" is incorrect, because type of value can 
be unicode, while it should be splitted as well.

----------
components: Distutils
messages: 305627
nosy: Dee Mee, dstufft, eric.araujo
priority: normal
severity: normal
status: open
title: set_executables() incorrectly parse values with spaces
type: behavior
versions: Python 2.7, Python 3.4, Python 3.5, Python 3.6

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

Reply via email to