[issue20572] subprocess.Popen.wait() undocumented "endtime" parameter

2017-03-31 Thread Donald Stufft
Changes by Donald Stufft : -- pull_requests: +1081 ___ Python tracker ___ ___

[issue20572] subprocess.Popen.wait() undocumented "endtime" parameter

2016-11-22 Thread Martin Panter
Changes by Martin Panter : -- stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue20572] subprocess.Popen.wait() undocumented "endtime" parameter

2016-11-20 Thread Mariatta Wijaya
Mariatta Wijaya added the comment: Works for me. Thanks :) Maybe it's ok to close this ticket now? -- ___ Python tracker ___

[issue20572] subprocess.Popen.wait() undocumented "endtime" parameter

2016-11-20 Thread Roundup Robot
Roundup Robot added the comment: New changeset 54b2f377653d by Gregory P. Smith in branch 'default': issue 20572: remove the deprecation notice for the deleted endtime parameter. https://hg.python.org/cpython/rev/54b2f377653d -- ___ Python tracker

[issue20572] subprocess.Popen.wait() undocumented "endtime" parameter

2016-11-20 Thread Gregory P. Smith
Gregory P. Smith added the comment: thanks for the patch. I reworked it slightly including the test. warning in 3.6, gone in 3.7. i still need to update the 3.7 docs to remove it. -- ___ Python tracker

[issue20572] subprocess.Popen.wait() undocumented "endtime" parameter

2016-11-20 Thread Roundup Robot
Roundup Robot added the comment: New changeset 0e8aa537c565 by Gregory P. Smith in branch '3.6': Issue #20572: The subprocess.Popen.wait method's undocumented endtime https://hg.python.org/cpython/rev/0e8aa537c565 New changeset f02422c6110a by Gregory P. Smith in branch 'default': Issue #20572:

[issue20572] subprocess.Popen.wait() undocumented "endtime" parameter

2016-11-20 Thread Mariatta Wijaya
Mariatta Wijaya added the comment: lol forgot to upload the patch. Here it is :) -- Added file: http://bugs.python.org/file4/issue20572v2.patch ___ Python tracker

[issue20572] subprocess.Popen.wait() undocumented "endtime" parameter

2016-11-20 Thread Mariatta Wijaya
Mariatta Wijaya added the comment: Thanks Martin :) Alright, in v2 patch, I added stacklevel=2 parameter and test case for it. Did not find any usage of the endtime parameter in cpython. I'm also thinking that it can be removed in 3.7, considering it's been documented as deprecated since 3.4.

[issue20572] subprocess.Popen.wait() undocumented "endtime" parameter

2016-11-18 Thread Martin Panter
Martin Panter added the comment: Thanks Mariatta. Some people like to use the warn(stacklevel=2) parameter, then the warning message is potentially more useful. Also, I think it would be good to write a brief test case for the warning. There are probably lots of examples in the test suite,

[issue20572] subprocess.Popen.wait() undocumented "endtime" parameter

2016-11-18 Thread Martin Panter
Changes by Martin Panter : -- stage: -> patch review versions: +Python 3.6, Python 3.7 ___ Python tracker ___

[issue20572] subprocess.Popen.wait() undocumented "endtime" parameter

2016-11-18 Thread Mariatta Wijaya
Mariatta Wijaya added the comment: Thanks, Martin :) Attached is the patch where deprecation warning is emitted if endtime argument is passed. Let me know if this works. Thanks :) -- keywords: +patch Added file: http://bugs.python.org/file45532/issue20572.patch

[issue20572] subprocess.Popen.wait() undocumented "endtime" parameter

2016-11-18 Thread Martin Panter
Martin Panter added the comment: I think other people wanted to add an automated deprecation warning in the code first, before removing it. -- nosy: +martin.panter ___ Python tracker

[issue20572] subprocess.Popen.wait() undocumented "endtime" parameter

2016-11-18 Thread Martin Panter
Changes by Martin Panter : Removed file: http://bugs.python.org/file42579/downloadfile.htm ___ Python tracker ___

[issue20572] subprocess.Popen.wait() undocumented "endtime" parameter

2016-11-17 Thread Mariatta Wijaya
Mariatta Wijaya added the comment: 1. So, is it ok to remove the endtime parameter now? 2. Can the attached downloadfile.htm be removed? It's a spam. Thanks :) -- nosy: +Mariatta ___ Python tracker

[issue20572] subprocess.Popen.wait() undocumented "endtime" parameter

2016-04-24 Thread Daryl Luna
Changes by Daryl Luna : -- nosy: +Daryl Luna status: pending -> open Added file: http://bugs.python.org/file42579/downloadfile.htm ___ Python tracker

[issue20572] subprocess.Popen.wait() undocumented "endtime" parameter

2016-04-23 Thread Berker Peksag
Berker Peksag added the comment: Do we still want to remove the endtime parameter? -- nosy: +berker.peksag status: open -> pending ___ Python tracker ___

[issue20572] subprocess.Popen.wait() undocumented endtime parameter

2014-02-11 Thread Roundup Robot
Roundup Robot added the comment: New changeset 73793590d97b by Gregory P. Smith in branch 'default': Deprecate Popen.wait()'s undocumented endtime parameter. issue20572. http://hg.python.org/cpython/rev/73793590d97b -- nosy: +python-dev ___ Python

[issue20572] subprocess.Popen.wait() undocumented endtime parameter

2014-02-11 Thread Gregory P. Smith
Gregory P. Smith added the comment: documented with a deprecation. that's the best we can do for now. it can be considered for removal in the 3.5 or 3.6 timeframe. i doubt many people used it. -- nosy: +gregory.p.smith resolution: - fixed status: open - closed

[issue20572] subprocess.Popen.wait() undocumented endtime parameter

2014-02-11 Thread R. David Murray
R. David Murray added the comment: Well, a deprecation warning in the code would be nice in case anybody did use it. Personally I don't see any problem with putting that in 3.4.1 if we don't get to it for 3.4.0. -- ___ Python tracker

[issue20572] subprocess.Popen.wait() undocumented endtime parameter

2014-02-11 Thread Larry Hastings
Larry Hastings added the comment: I suggest that that documentation counts for starting the deprecation cycle, however I would still also accept a patch adding a deprecation warning if the parameter is used. -- ___ Python tracker

[issue20572] subprocess.Popen.wait() undocumented endtime parameter

2014-02-10 Thread R. David Murray
R. David Murray added the comment: I don't think we should document it as deprecated except in What's New. But a code deprecation in 3.4 would be a good idea. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20572

[issue20572] subprocess.Popen.wait() undocumented endtime parameter

2014-02-10 Thread Larry Hastings
Larry Hastings added the comment: My suggestion for documenting it was to document the fact that it's unsupported, unrecommended, deprecated, has poor semantics, etc. If a user discovers it, and finds it's not documented, they'll probably think they can get away with using it. If we

[issue20572] subprocess.Popen.wait() undocumented endtime parameter

2014-02-09 Thread Giampaolo Rodola'
New submission from Giampaolo Rodola': http://hg.python.org/cpython/file/29d9638bf449/Lib/subprocess.py#l1144 This was introduced in revision 6b627e121573 and is currently not documented. I'm not sure whether this is a documentation issue or endtime should have been _endtime instead.

[issue20572] subprocess.Popen.wait() undocumented endtime parameter

2014-02-09 Thread Giampaolo Rodola'
Giampaolo Rodola' added the comment: Sorry: revision a161081e8f7c. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20572 ___ ___ Python-bugs-list

[issue20572] subprocess.Popen.wait() undocumented endtime parameter

2014-02-09 Thread R. David Murray
R. David Murray added the comment: Indeed, there's no issue number or NEWS entry. It's not clear from the limited context why this parameter was added. It doesn't appear to be consistent with the rest of the stdlib: the application can compute timeout from its desired endtime, which is how

[issue20572] subprocess.Popen.wait() undocumented endtime parameter

2014-02-09 Thread R. David Murray
R. David Murray added the comment: Also, the implementation as it stands is in any case flawed, since specifying both timeout and endtime is allowed by the code, and results in endtime overriding timeout silently, and in the posix version the resulting timeout error message will have the

[issue20572] subprocess.Popen.wait() undocumented endtime parameter

2014-02-09 Thread Giampaolo Rodola'
Giampaolo Rodola' added the comment: I'd be for just getting rid of it for 3.4 now that we still can. Being that this parameter is 1) not documented and 2) it's not even clear what it does I think it's unlikely that there's people using it. -- nosy: +georg.brandl, larry priority: