#19934: Switch to a Python 3-compatible imaging library
-------------------------------------+-------------------------------------
     Reporter:  aaugustin            |                    Owner:
         Type:                       |  daniellindsley
  Cleanup/optimization               |                   Status:  assigned
    Component:  Python 3             |                  Version:  master
     Severity:  Release blocker      |               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 daniellindsley):

 My vote is +0 for deprecating the PIL (in that Pillow becomes the
 "blessed" version), but I think detecting which is installed & using shims
 to gloss what little Django uses of either is a very doable task. By my
 count, the PIL/_imaging is only used in 4 files in Django (plus lots of
 test files) & none of the usages are particularly advanced.

 I'm also +0 on the error reporting shim, in that I think we need to be
 able to inform the user that their install may be mis-configured. The
 existing comment (& the detection going on) will have to change. Again,
 I'm of the belief we can shim over that & have some ideas on detection.

 The only thing I'd add to the plan you've laid out is """2.a.1) Create any
 necessary shims to aid Django in detecting which, if any, are installed &
 to aid in providing useful error messages about the installation."""

-- 
Ticket URL: <https://code.djangoproject.com/ticket/19934#comment:17>
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 django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to