Re: [Django] #35667: Switch usage to skip_file_prefixes instead of stacklevel when it makes sense (was: Switch warnings.warn usage to skip_file_prefixes instead of stacklevel)

6 views
Skip to first unread message

Django

unread,
Aug 9, 2024, 2:08:25 PM8/9/24
to django-...@googlegroups.com
#35667: Switch usage to skip_file_prefixes instead of stacklevel when it makes
sense
-------------------------------------+-------------------------------------
Reporter: Simon Charette | Owner: (none)
Type: | Status: new
Cleanup/optimization |
Component: Utilities | Version: 5.1
Severity: Normal | Resolution:
Keywords: | Triage Stage:
| Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Simon Charette):

* summary: Switch warnings.warn usage to skip_file_prefixes instead of
stacklevel =>
Switch usage to skip_file_prefixes instead of stacklevel when it
makes sense

--
Ticket URL: <https://code.djangoproject.com/ticket/35667#comment:1>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
Reply all
Reply to author
Forward
0 new messages