| commit | 052f53d65d9f65c7c3223a383857ad07a182c2d7 | [log] [tgz] |
|---|---|---|
| author | Gregory P. Smith <greg@krypto.org> | Fri Jan 27 18:35:14 2023 -0800 |
| committer | GitHub <noreply@github.com> | Fri Jan 27 18:35:14 2023 -0800 |
| tree | 4d0a6ee4c3026972d1bb01017e50ef8072cd1fe1 | |
| parent | 8cef9c0f92720f6810be1c74e00f611acb4b8b1e [diff] |
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.