Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Prev Previous commit
Next Next commit
Update Misc/NEWS.d/next/Library/2025-11-18-14-39-31.gh-issue-141570.q…
…3n984.rst

Co-authored-by: Cody Maloney <[email protected]>
  • Loading branch information
hroncok and cmaloney authored Nov 19, 2025
commit 1e91ce46a63debdb80e4dabb75c14304079d8529
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
In ``_colorize.can_colorize``, support file objects rising
:exc:`OSError` from the :meth:`~io.IOBase.fileno` method, as docuemtned. An
example of such an object is a ``mod_wsgi`` logger.
Support :term:`file-like object` raising :exc:`OSError` from :meth:`~io.IOBase.fileno` in color
detection (``_colorize.can_colorize``). This can occur when `sys.stdout` is redirected.
Loading