#32859: Simplify django.utils.text.compress_string by using gzip.compress
-------------------------------------+-------------------------------------
               Reporter:  Illia      |          Owner:  Illia Volochii
  Volochii                           |
                   Type:             |         Status:  assigned
  Cleanup/optimization               |
              Component:  Utilities  |        Version:  dev
               Severity:  Normal     |       Keywords:
           Triage Stage:             |      Has patch:  0
  Unreviewed                         |
    Needs documentation:  0          |    Needs tests:  0
Patch needs improvement:  0          |  Easy pickings:  0
                  UI/UX:  0          |
-------------------------------------+-------------------------------------
 [https://docs.python.org/3/library/gzip.html#gzip.compress gzip.compress]
 can replace the custom logic defined in
 
[https://github.com/django/django/blob/225d96533a8e05debd402a2bfe566487cc27d95f/django/utils/text.py#L286-L289
 django.utils.text.compress_string].
 Actually, the function works in the same way under the hood.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/32859>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/050.c87d701300f1d4c7770e306223ebab0f%40djangoproject.com.

Reply via email to