#20961: response.write(img_buffer) does not work on Python 3 ------------------------------+-------------------------------------- Reporter: epandurski@… | Owner: nobody Type: Bug | Status: closed Component: Python 3 | Version: master Severity: Normal | Resolution: needsinfo Keywords: | Triage Stage: Unreviewed Has patch: 0 | Needs documentation: 0 Needs tests: 0 | Patch needs improvement: 0 Easy pickings: 0 | UI/UX: 0 ------------------------------+--------------------------------------
Comment (by anonymous): Sorry. In my case "img_buffer" is memoryview object. But it does not actually matters, because it fails even with bytes. So you may consider img_buffer=b'123'. I forgot to mention that this problem concerns 1.6b2 too. -- Ticket URL: <https://code.djangoproject.com/ticket/20961#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 django-updates+unsubscr...@googlegroups.com. To post to this group, send email to django-updates@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-updates/078.029475e5fa932c754655e208349e6f0b%40djangoproject.com. For more options, visit https://groups.google.com/groups/opt_out.