[issue33617] subprocess.Popen etc do not accept os.PathLike in passed sequence on Windows

2019-08-02 Thread Steve Dower


Change by Steve Dower :


--
stage: patch review -> resolved
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue33617] subprocess.Popen etc do not accept os.PathLike in passed sequence on Windows

2018-09-15 Thread Serhiy Storchaka


Serhiy Storchaka  added the comment:

This looks like a duplicate of issue31961.

--
nosy: +serhiy.storchaka
resolution:  -> duplicate
superseder:  -> subprocess._execute_child doesn't accept a single PathLike 
argument for args

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue33617] subprocess.Popen etc do not accept os.PathLike in passed sequence on Windows

2018-05-23 Thread Kyle Altendorf

Kyle Altendorf  added the comment:

I totally failed to fill out the metadata, sorry.  I would personally consider 
this more of a bugfix than a feature enhancement, but I don't know how that's 
decided exactly.  It's also quite small.  There are a couple other open issues 
related to full os.PathLike protocol support.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue33617] subprocess.Popen etc do not accept os.PathLike in passed sequence on Windows

2018-05-23 Thread Kyle Altendorf

Change by Kyle Altendorf :


--
keywords: +patch
pull_requests: +6700
stage:  -> patch review

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue33617] subprocess.Popen etc do not accept os.PathLike in passed sequence on Windows

2018-05-23 Thread STINNER Victor

STINNER Victor  added the comment:

That's a feature request for Python 3.8 ;-)

> PR to follow soon.

Cool!

--
components: +Library (Lib), Windows
nosy: +paul.moore, steve.dower, tim.golden, vstinner, zach.ware
resolution: duplicate -> 
stage: resolved -> 
status: closed -> open
superseder: subprocess._execute_child doesn't accept a single PathLike argument 
for args -> 
type:  -> enhancement
versions: +Python 3.8

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue33617] subprocess.Popen etc do not accept os.PathLike in passed sequence on Windows

2018-05-23 Thread Serhiy Storchaka

Change by Serhiy Storchaka :


--
resolution:  -> duplicate
stage:  -> resolved
status: open -> closed
superseder:  -> subprocess._execute_child doesn't accept a single PathLike 
argument for args

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue33617] subprocess.Popen etc do not accept os.PathLike in passed sequence on Windows

2018-05-23 Thread Kyle Altendorf

New submission from Kyle Altendorf :

PS C:\Users\FSTAB\Desktop\g\20\grid-tied> py -3.6 -c "import os, pathlib, 
subprocess; subprocess.run([pathlib.Path()])"
Traceback (most recent call last):
  File "", line 1, in 
  File "C:\Program Files\Python36\lib\subprocess.py", line 403, in run
with Popen(*popenargs, **kwargs) as process:
  File "C:\Program Files\Python36\lib\subprocess.py", line 707, in __init__
restore_signals, start_new_session)
  File "C:\Program Files\Python36\lib\subprocess.py", line 964, in 
_execute_child
args = list2cmdline(args)
  File "C:\Program Files\Python36\lib\subprocess.py", line 461, in list2cmdline
needquote = (" " in arg) or ("\t" in arg) or not arg
TypeError: argument of type 'WindowsPath' is not iterable


PR to follow soon.

--
messages: 317408
nosy: altendky
priority: normal
severity: normal
status: open
title: subprocess.Popen etc do not accept os.PathLike in passed sequence on 
Windows

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com