gh-39615: Add warnings.warn() skip_file_prefixes support (#100840)
`warnings.warn()` gains the ability to skip stack frames based on code filename prefix rather than only a numeric `stacklevel=` via a new `skip_file_prefixes=` keyword argument.
G
Gregory P. Smith committed
052f53d65d9f65c7c3223a383857ad07a182c2d7
Parent: 8cef9c0
Committed by GitHub <noreply@github.com>
on 1/28/2023, 2:35:14 AM