Opened 2 days ago

Last modified 2 days ago

#36649 assigned New feature

Add `|=` update operator support to `MultiValueDict` and `QueryDict`. — at Version 1

Reported by: Adam Johnson Owned by: Adam Johnson
Component: HTTP handling Version: dev
Severity: Normal Keywords:
Cc: Triage Stage: Accepted
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description (last modified by Adam Johnson)

Per forum discussion, add an __ior__ method to these classes to make PEP 584's |= union operator work, guarding for mutability in QueryDict.

Change History (1)

comment:1 by Adam Johnson, 2 days ago

Description: modified (diff)
Summary: Add `|=` merge operator support to `MultiValueDict` and `QueryDict`.Add `|=` update operator support to `MultiValueDict` and `QueryDict`.
Note: See TracTickets for help on using tickets.
Back to Top