Performance regression from using `email.message.Message.get_params()` as replacement of `cgi.parse_header` following PEP 594

This might provide a false sense of security in the case of code that isn’t being used or maintained by anyone else[1].

If Django is the main project that relies on the performance of this code, you might be the only ones who notice when it regresses.


  1. in particular, cgi didn’t have a maintainer at the time it was removed ↩︎

2 Likes