commit | e74f8f68337ee619d400e0b6607cbe9df37f78ee | [log] [tgz] |
---|---|---|
author | Brian Ryner <bryner@google.com> | Mon Jul 04 19:01:43 2022 |
committer | LUCI CQ <infra-scoped@luci-project-accounts.iam.gserviceaccount.com> | Mon Jul 04 19:01:43 2022 |
tree | cfbc85e990dacfe81df420bf96536eb3e3ae7d0b | |
parent | 200c023b5720864101ea39d583e6dfa9182adc1f [diff] |
Fix so that Python inherits file handles again on Windows. The behavior was changed in go 1.17 so that only explicitly-specified handles are inherited by subprocesses. Unfortunately, we have no special knowledge of what handles the caller is attempting to pass to the Python process, so we want to transparently pass everything through. This reverts to the previous behavior, mostly by copying the 1.16 implementation. Bug: 1340653 Change-Id: I30302ffe2d661aa625e559385d5cfed7af731ef9 Reviewed-on: https://chromium-review.googlesource.com/c/infra/luci/luci-go/+/3739699 Reviewed-by: Robbie Iannucci <iannucci@chromium.org> Commit-Queue: Brian Ryner <bryner@google.com> Reviewed-by: Chenlin Fan <fancl@chromium.org>
LUCI Go code is meant to be worked on from an Chromium infra.git checkout, which enforces packages versions and Go toolchain version. First get fetch via depot_tools.git then run:
fetch infra cd infra/go eval `./env.py` cd src/go.chromium.org/luci
Contributing uses the same flow as Chromium contributions.