Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pw_hdlc: Handle sys.stdout without a buffer attribute
The buffer attribute is not required in TextIOBase instances. Support wrapped versions of sys.stdout that do not offer it by deferring to sys.__stdout__.buffer. Change-Id: I9677da0cb16e889562f1d2737d3b275f16ac97ad Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/154496 Presubmit-Verified: CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Armando Montanez <amontanez@google.com> Commit-Queue: Auto-Submit <auto-submit@pigweed.google.com.iam.gserviceaccount.com> Pigweed-Auto-Submit: Wyatt Hepler <hepler@google.com>
- Loading branch information