#36477: Add an internal helper for deprecating positional arguments in favor of
keyword-only arguments
-------------------------------------+-------------------------------------
Reporter: Sarah Boyce | Owner: Mike
Type: | Edmunds
Cleanup/optimization | Status: closed
Component: Utilities | Version: dev
Severity: Normal | Resolution: fixed
Keywords: | Triage Stage: Ready for
| checkin
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by GitHub <noreply@…>):
* resolution: => fixed
* status: assigned => closed
Comment:
In [changeset:"f42b89f1bf49a5b89ed852b60f79342320a81c5e" f42b89f]:
{{{#!CommitTicketReference repository=""
revision="f42b89f1bf49a5b89ed852b60f79342320a81c5e"
Fixed #36477, Refs #36163 -- Added @deprecate_posargs decorator to
simplify deprecation of positional arguments.
This helper allows marking positional-or-keyword parameters as keyword-
only with a deprecation period, in a consistent and correct manner.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/36477#comment:5>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion visit
https://groups.google.com/d/msgid/django-updates/0107019813112582-f019f6ce-93ce-410d-bfea-d92ef2fe8676-000000%40eu-central-1.amazonses.com.