#32740: Running colorama.init() at import time causes deployment error
---------------------------------+--------------------------------------
     Reporter:  Leon Matthews    |                    Owner:  nobody
         Type:  Uncategorized    |                   Status:  new
    Component:  Core (Other)     |                  Version:  3.2
     Severity:  Normal           |               Resolution:
     Keywords:  apache mod_wsgi  |             Triage Stage:  Unreviewed
    Has patch:  0                |      Needs documentation:  0
  Needs tests:  0                |  Patch needs improvement:  0
Easy pickings:  0                |                    UI/UX:  0
---------------------------------+--------------------------------------

Comment (by Carlton Gibson):

 I've opened [https://github.com/GrahamDumpleton/mod_wsgi/issues/675 an
 issue on `mod_wsgi`] to see what Graham's thoughts are there.

 Even if we were to nest the call to `colorama.init()`, the same path would
 be hit, just later, and there'd still be a compatibility issue with
 `mod_wsgi`.

 (I don't think that requiring the logging config to avoid the call is
 particularly robust...)

-- 
Ticket URL: <https://code.djangoproject.com/ticket/32740#comment:2>
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/071.dfbf810cbe423c3b951c6d9979670587%40djangoproject.com.

Reply via email to