commit | 00e82706bfd82662c3db081280e8217b2b8e547e | [log] [tgz] |
---|---|---|
author | Wyatt Hepler <hepler@google.com> | Fri Jul 07 18:37:15 2023 +0000 |
committer | CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com> | Fri Jul 07 18:37:15 2023 +0000 |
tree | c70f4554efba071defd3fa186e259c3930c7ba0c | |
parent | 3382261ffdee80d068043e5f6736fdcb5e9373f1 [diff] |
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>
Pigweed is an open source collection of embedded-targeted libraries–or as we like to call them, modules. These modules are building blocks and infrastructure that enable faster and more reliable development on small-footprint MMU-less 32-bit microcontrollers like the STMicroelectronics STM32L452 or the Nordic nRF52832.
For more information please see our website: https://pigweed.dev/.