>  Can you give an example of real code that does this?
In general, parsing JSON data and normalizing it. The existing architecture has 
microservices consuming PubSub messages for which the data-payload is JSON. In 
some cases, deleting dictionary keys is convenient (as opposed to, say, 
building a new dict and dumping it), as a way to prepare it for the downstream 
consumer.

I should say, there is no inherent need for a new way to delete a dictionary 
entry. This was merely an "idea" to a list of "ideas"! I appreciate the fair 
criticism and consideration, along with that of Antoine and Chris. I agree with 
you that there is probably no need for a fourth solution.
_______________________________________________
Python-ideas mailing list -- python-ideas@python.org
To unsubscribe send an email to python-ideas-le...@python.org
https://mail.python.org/mailman3/lists/python-ideas.python.org/
Message archived at 
https://mail.python.org/archives/list/python-ideas@python.org/message/LB2ZNKSQLGUYN5MRQRSGLBUJ56QCSW2Y/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to