[Webkit-unassigned] [Bug 215380] New: [webkitcorepy] Add OutputCapture to webkitcorepy

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Aug 11 10:07:04 PDT 2020


https://bugs.webkit.org/show_bug.cgi?id=215380

            Bug ID: 215380
           Summary: [webkitcorepy] Add OutputCapture to webkitcorepy
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Tools / Tests
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: jbedard at apple.com

Webkitpy has an OutputCapture class (Tools/Scripts/webkitpy/common/system/outputcapture.py), but it uses an older set of idioms that modern Python developers usually find confusing. This has resulted in the OutputCapture not being used much in modern webkitpy code, which is unfortunate, because the idea behind the OutputCapture class is a fantastic one. It's also an idea that's useful for more than just testing (for example, sending a log to both stdout and a file).

This bug attempts to create an OutputCapture object inspired by the one in webkitpy, but using more modern idioms and more explicit access of stdout/stderr vs logging channels.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20200811/9cd92a28/attachment.htm>


More information about the webkit-unassigned mailing list