[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-bugs] #33957 [Core Tor/Chutney]: Unexpected keyword argument 'bufsize' in subprocess.check_output()
#33957: Unexpected keyword argument 'bufsize' in subprocess.check_output()
----------------------------------+--------------------
Reporter: teor | Owner: (none)
Type: defect | Status: new
Priority: Medium | Milestone:
Component: Core Tor/Chutney | Version:
Severity: Normal | Keywords:
Actual Points: | Parent ID:
Points: | Reviewer:
Sponsor: |
----------------------------------+--------------------
On some python versions, chutney's call to subprocess.check_output()
results in the following error:
{{{
Unexpected keyword argument 'bufsize'…
}}}
https://github.com/torproject/chutney/pull/68#issuecomment-614596946
The check_output() documentation is unclear about which arguments are
supported: it simply says that most arguments to Popen() are supported.
(And bufsize is an argument to Popen().):
https://docs.python.org/3.5/library/subprocess.html#subprocess.check_output
https://docs.python.org/3.5/library/subprocess.html#subprocess.Popen
I think our best option here is to remove the bufsize argument, and accept
the default buffered behaviour.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/33957>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs