Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | gh-39615: Add warnings.warn() skip_file_prefixes support (#100840) | Gregory P. Smith | 2023-01-28 | 1 | -0/+10 |
`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. |