Opened 13 months ago

Last modified 25 hours ago

#36649 assigned New feature

Add `|=` update operator support to `MultiValueDict` and `QueryDict`.

Reported by: Adam Johnson Owned by: Jordan Hyatt
Component: HTTP handling Version: dev
Severity: Normal Keywords:
Cc: Triage Stage: Accepted
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: yes
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 (9)

comment:1 by Adam Johnson, 13 months ago

Description: modified (diff)
Summary: Add `|=` merge operator support to `MultiValueDict` and `QueryDict`. → Add `|=` update operator support to `MultiValueDict` and `QueryDict`.

comment:2 by Clifford Gama, 13 months ago

Triage Stage: Unreviewed → Accepted

comment:3 by Jacob Walls, 13 months ago

Has patch: set

comment:4 by Mariusz Felisiak, 12 months ago

Patch needs improvement: set

comment:5 by Jordan Hyatt, 6 months ago

Owner: changed from Adam Johnson to Jordan Hyatt

comment:6 by Jordan Hyatt, 6 months ago

Patch needs improvement: unset

comment:7 by JaeHyuckSa, 6 months ago

Patch needs improvement: set

comment:8 by JaeHyuckSa, 5 months ago

Patch needs improvement: unset

comment:9 by blighj, 25 hours ago

Patch needs improvement: set
Note: See TracTickets for help on using tickets.
Back to Top