Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
path: root/django/utils/html_parser.py
Commit message (Collapse)AuthorAgeFilesLines
* Removed support for Python 3.3.Tim Graham2015-06-181-1/+2
|
* Sorted imports with isort; refs #23860.Tim Graham2015-02-061-1/+2
|
* Removed compatibility with Python 3.2.Tim Graham2015-01-171-4/+1
|
* Added a dummy class for HTMLParserError; refs #23763.Tim Graham2014-11-051-1/+6
|
* Fixed Python 3.4 test failure.Tim Graham2014-03-261-2/+2
|
* Add further workarounds for HTMLParser with Python 3.4.Marc Tamlyn2014-01-131-1/+12
| | | | | | | Python 3.5 will change the default value of convert_charrefs, so 3.4 gives warnings if it's not present. This is slightly technical as 2.7 doesn't have the kwarg. Thankfully, we already have a bunch of workarounds for different versions.
* Correct flake8 violation E261Ray Ashman Jr2013-11-021-6/+6
|
* Removed a few trailing backslashes.Aymeric Augustin2013-09-221-4/+4
| | | | We have always been at war with trailing backslashes.
* Fix an HTML-parser test that's failed in Python 2.6.8 ↵Carl Meyer2012-09-091-2/+1
| | | | | | | | | | since 5c79dd58. The problem description in #18239 asserted that http://bugs.python.org/issue670664 was fixed in Python 2.6.8, but based on http://bugs.python.org/issue670664#msg146770 it appears that's not correct; the fix was only applied in 2.7, 3.2, and Python trunk. Therefore we must use our patched HTMLParser subclass in all Python 2.6 versions.
* Fixed #18239 -- Subclassed HTMLParser only for selected ↵Claude Paroz2012-08-161-88/+100
| | | | | | | | Python versions Only Python versions affected by http://bugs.python.org/issue670664 should patch HTMLParser. Thanks Raphaël Hertzog for the initial patch (for 1.4).
* [py3] Switched to Python 3-compatible imports.Aymeric Augustin2012-07-221-8/+10
| | | | | xrange/range will be dealt with in a separate commit due to the huge number of changes.
* Fixed our HTMLParser patches for python 2.7.4Florian Apolloner2012-06-221-2/+4
|
* Fixed #17730 - Renamed django.utils.htmlparser to ↵Carl Meyer2012-03-011-0/+98
django.utils.html_parser to avoid shadowing stdlib HTMLParser in rare case-sensitivity situations. Thanks un33k for the report and gldnspud for the patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@17607 bcc190cf-cafb-0310-a4f2-bffc1f526a37