#17730: Change django.utils.htmlparser to django.utils.html_parser to avoid
possible issues with case-insensitivity and the HTMLParser stdlib module
-----------------------------------+--------------------------------------
     Reporter:  un33k              |                    Owner:  nobody
         Type:  Bug                |                   Status:  reopened
    Component:  Testing framework  |                  Version:  1.4-beta-1
     Severity:  Normal             |               Resolution:
     Keywords:  AttributeError     |             Triage Stage:  Unreviewed
    Has patch:  1                  |      Needs documentation:  0
  Needs tests:  0                  |  Patch needs improvement:  0
Easy pickings:  0                  |                    UI/UX:  0
-----------------------------------+--------------------------------------

Comment (by carljm):

 I would be interested in the results of further investigation by un3kk. If
 it really is possible for django-debug-toolbar to trigger this problem,
 that would be a serious issue.

 On the whole, I am tempted to make the change suggested by gldnspud. I
 agree that the "case-insensitive filesystem accessed by Python from case-
 sensitive OS" case is not exactly common, but it would be an easy issue to
 avoid entirely with a relatively simple change. Relying on case-
 sensitivity for correct operation seems like something it doesn't hurt to
 avoid. I'm not too concerned about the backwards incompatibility, given
 that `django.utils.htmlparser` was added to trunk less than a month ago,
 has never been in a production release, and is undocumented and used only
 by a test helper.

 Tentatively accepting, but open to arguments that it would be a bad idea
 to make this change.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/17730#comment:9>
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 post to this group, send email to django-updates@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.

Reply via email to