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.

Author vstinner
Recipients vstinner
Date 2010-04-23.22:42:04
SpamBayes Score 1.66757e-05
Marked as misclassified No
Message-id <>
While fixing #8391, I realized that subprocess doesn't support bytes program name if it's not an absolute path:
$ ./python
>>> import subprocess
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/SHARE/SVN/py3k/Lib/", line 449, in call
    return Popen(*popenargs, **kwargs).wait()
  File "/home/SHARE/SVN/py3k/Lib/", line 681, in __init__
    restore_signals, start_new_session)
  File "/home/SHARE/SVN/py3k/Lib/", line 1116, in _execute_child
    for exe in executable_list)
  File "/home/SHARE/SVN/py3k/Lib/", line 1115, in <genexpr>
    executable_list = tuple(fs_encode(exe)
  File "/home/SHARE/SVN/py3k/Lib/", line 1114, in <genexpr>
    for dir in path_list)
  File "/home/SHARE/SVN/py3k/Lib/", line 75, in join
    if b.startswith(sep):
TypeError: expected an object with the buffer interface
[62826 refs]

I'm working on a patch.
Date User Action Args
2010-04-23 22:42:07vstinnersetrecipients: + vstinner
2010-04-23 22:42:07vstinnersetmessageid: <>
2010-04-23 22:42:05vstinnerlinkissue8513 messages
2010-04-23 22:42:04vstinnercreate