#34768: Calling `colorama.init()` on module load can have unwanted side effects
-------------------------------------+-------------------------------------
     Reporter:  Charlie DeTar        |                    Owner:  nobody
         Type:                       |                   Status:  new
  Cleanup/optimization               |
    Component:  Core (Management     |                  Version:  4.2
  commands)                          |
     Severity:  Normal               |               Resolution:
     Keywords:                       |             Triage Stage:  Accepted
    Has patch:  0                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------

Comment (by Lufafa Joshua):

 Yes Colorama provides a simple Cross Platform API and works on non windows
 platforms, even though primarily intended for windows as the documentation
 suggests https://pypi.org/project/colorama/, my simple suggestion in that
 case would be to disable colorama's wrappers for non windows platforms by
 passing {{{wrap=False}}} inside the {{{init()}}} method. Am not really
 sure if that solves the problem for you [#  Charlie DeTar ]. I personally
 believe full support for non windows platforms is still a process under
 way.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/34768#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/0107018a2d1baec2-160d572a-5dc5-4eb1-b209-be97a23998df-000000%40eu-central-1.amazonses.com.

Reply via email to