On 28 avr. 2012, at 00:49, Vinay Sajip wrote: > From the discussion on python-dev, it seems possible that an optimal > fix might require changes both in Python and in Django. Before > creating a ticket about this for Django, I would like to get an > opinion about this from the Django committers - so can someone please > look at this python-dev thread and/or Python issue and comment?
Hi Vinay, As far as I can tell, Django's patching HTMLParser [1] to work around a bug [2] that was fixed in Python 2.7 and 3.2. If that comment is accurate, we could apply the patch only when running on Python < 2.7. So it seems possible to conditionally fix Django, whatever solution the Python devs choose. Best regards, -- Aymeric. [1] https://code.djangoproject.com/browser/django/trunk/django/utils/html_parser.py#L5 [2] http://bugs.python.org/issue670664 -- You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send email to django-developers@googlegroups.com. To unsubscribe from this group, send email to django-developers+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-developers?hl=en.