| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
drop isinstance checks from create_subprocess_exec function and let subprocess module do them.
|
Hello, and thanks for your contribution! I'm a bot set up to make sure that the project can legally accept your contribution by verifying you have signed the PSF contributor agreement (CLA). Our records indicate we have not received your CLA. For legal reasons we need you to sign this before we can look at your contribution. Please follow the steps outlined in the CPython devguide to rectify this issue. If you have recently signed the CLA, please wait at least one business day You can check yourself to see if the CLA has been received. Thanks again for your contribution, we look forward to reviewing it! |
Sorry, something went wrong.
| sys.executable, '-c', 'pass', Path('.')) | ||
| await p.wait() | ||
|
|
||
| self.loop.run_until_complete(execute()) |
There was a problem hiding this comment.
please add self.assertIsNone(loop.run_until_complete(...)) check to emphasize that we checked that the test passed correctly.
Sorry, something went wrong.
|
|
||
| def test_create_subprocess_exec_with_path(self): | ||
| async def execute(): | ||
| from pathlib import Path |
There was a problem hiding this comment.
Move the import to the top of the module.
Use import pathlib form and pathlib.Path for consistency.
Sorry, something went wrong.
|
A Python core developer has requested some changes be made to your pull request before we can consider merging it. If you could please address their requests along with any other requests in other reviews from core developers that would be appreciated. Once you have made the requested changes, please leave a comment on this pull request containing the phrase I have made the requested changes; please review again. I will then notify any core developers who have left a review that you're ready for them to take another look at this pull request. |
Sorry, something went wrong.
|
I have made the requested changes; please review again. BTW the Windows CI errors should be resolved by #5914. |
Sorry, something went wrong.
|
Thanks for making the requested changes! @asvetlov: please review the changes made to this pull request. |
Sorry, something went wrong.
There was a problem hiding this comment.
Please take a look on failed test on Windows: https://ci.appveyor.com/project/python/cpython/builds/24869318
Sorry, something went wrong.
|
A Python core developer has requested some changes be made to your pull request before we can consider merging it. If you could please address their requests along with any other requests in other reviews from core developers that would be appreciated. Once you have made the requested changes, please leave a comment on this pull request containing the phrase I have made the requested changes; please review again. I will then notify any core developers who have left a review that you're ready for them to take another look at this pull request. And if you don't make the requested changes, you will be poked with soft cushions! |
Sorry, something went wrong.
|
Sorry, didn't read your last message. Let's postpone merging for a while. |
Sorry, something went wrong.
| def test_create_subprocess_exec_with_path(self): | ||
| async def execute(): | ||
| p = await subprocess.create_subprocess_exec( | ||
| pathlib.Path(sys.executable), '-c', 'pass') |
There was a problem hiding this comment.
If we test for the support of the path protocol it is better to use test.support.FakePath instead of pathlib.Path.
Sorry, something went wrong.
There was a problem hiding this comment.
#5914 has been merged.
Please sync with master and address @serhiy-storchaka suggestion about test.support.FakePath.
Rebase is not necessary, git merge master is enough. We squash all commits on merging anyway.
Sorry, something went wrong.
|
I have made the requested changes; please review again. |
Sorry, something went wrong.
|
Thanks for making the requested changes! @asvetlov: please review the changes made to this pull request. |
Sorry, something went wrong.
There was a problem hiding this comment.
Well done!
Sorry, something went wrong.
…onGH-13628) Drop isinstance checks from create_subprocess_exec function and let subprocess module do them. https://bugs.python.org/issue35246 https://bugs.python.org/issue35246
| Back | FazBrowse Home | New Git URL |
Drop isinstance checks from create_subprocess_exec function and let
subprocess module do them.
https://bugs.python.org/issue35246
https://bugs.python.org/issue35246