diff options
| author | Jakub Stasiak <jakub.stasiak@smarkets.com> | 2016-07-11 14:56:06 +0200 |
|---|---|---|
| committer | Jakub Stasiak <jakub.stasiak@smarkets.com> | 2016-07-11 14:59:50 +0200 |
| commit | de62278ab38ca5927e47794ef21034043e87a08d (patch) | |
| tree | 8936337f35698e5bfe68d9b4eb10ad752ddb93a5 /tests/isolated | |
| parent | c93279086c21b9f838e1f9c9b232d60317fcfc71 (diff) | |
| download | eventlet-subprocess.tar.gz | |
subprocess: Fix patched functions with optional argumentssubprocess
Since [1] we monkey patch subprocess module and it uncovered one issue -
the previous patched_function implementation would produce functions
with all optional arguments lacking their default values which made them
required. This is an issue on Python 3 where there's at least one
optional explicit argument in at least one of the functions
(check_call), on Python 2 the function signature has *args and **kwargs
so it wasn't an issue.
This patch is contributed by Smarkets Limited.
[1] 614a20462aebfe85a54ce35a7daaf1a7dbde44a7
Diffstat (limited to 'tests/isolated')
0 files changed, 0 insertions, 0 deletions
