I bumped into this old WONTFIX. And I agree with the decision not fix it in 
the way proposed by OP. But the current behaviour can be very confusing:

https://code.djangoproject.com/ticket/32023#comment:3

That  `del ` I propose would be free if nothing has accessed `headers` yet 
or nothing will be accessing `headers`. But would sync the contents, at the 
cost of an `if` in the `META` mutators.

Note even the quoted comment on the PR, suggest to mutate `META` directly.

-- 
You received this message because you are subscribed to the Google Groups 
"Django developers  (Contributions to Django itself)" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-developers+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-developers/ab8acaaf-a7c3-4d2d-bdbb-6cec3316932dn%40googlegroups.com.

Reply via email to