[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [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: closed
Priority: Medium | Milestone:
Component: Core Tor/Chutney | Version:
Severity: Normal | Resolution: fixed
Keywords: prop311, prop312 | Actual Points:
Parent ID: | Points:
Reviewer: nickm | Sponsor: Sponsor55-can
------------------------------+-------------------------------
Changes (by nickm):
* status: needs_review => closed
* resolution: => fixed
Comment:
I agree with removing bufsize in this case. The `check_output` function
doesn't return until the subprocess is done, and it returns the whole
string from the process's output -- it doesn't make sense to disable
buffering with `check_output`.
Merging this to master.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/33957#comment:4>
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