File tree Expand file tree Collapse file tree 4 files changed +9
-10
lines changed
Expand file tree Collapse file tree 4 files changed +9
-10
lines changed Original file line number Diff line number Diff line change @@ -102,6 +102,7 @@ def django_release():
102102django_next_version = '3.2'
103103
104104extlinks = {
105+ 'bpo' : ('https://bugs.python.org/issue%s' , 'bpo-' ),
105106 'commit' : ('https://github.com/django/django/commit/%s' , '' ),
106107 'cve' : ('https://nvd.nist.gov/vuln/detail/CVE-%s' , 'CVE-' ),
107108 # A file or directory. GitHub redirects from blob to tree if needed.
Original file line number Diff line number Diff line change @@ -10,10 +10,8 @@ compatible with Django 1.5, but includes a handful of fixes.
1010The biggest fix is for a memory leak introduced in Django 1.5. Under certain
1111circumstances, repeated iteration over querysets could leak memory - sometimes
1212quite a bit of it. If you'd like more information, the details are in
13- :ticket:`our ticket tracker <19895>` (and in `a related issue`__ in Python
14- itself).
15-
16- __ https://bugs.python.org/issue17468
13+ :ticket:`our ticket tracker <19895>` (and in :bpo:`a related issue <17468>` in
14+ Python itself).
1715
1816If you've noticed memory problems under Django 1.5, upgrading to 1.5.1 should
1917fix those issues.
Original file line number Diff line number Diff line change @@ -13,9 +13,9 @@ Last year :func:`~django.utils.html.strip_tags` was changed to work
1313iteratively. The problem is that the size of the input it's processing can
1414increase on each iteration which results in an infinite loop in
1515``strip_tags()``. This issue only affects versions of Python that haven't
16- received `a bugfix in HTMLParser <https://bugs.python.org/issue20288>`_ ; namely
17- Python < 2.7.7 and 3.3.5. Some operating system vendors have also backported
18- the fix for the Python bug into their packages of earlier versions.
16+ received :bpo: `a bugfix in HTMLParser <20288>` ; namely Python < 2.7.7 and
17+ 3.3.5. Some operating system vendors have also backported the fix for the
18+ Python bug into their packages of earlier versions.
1919
2020To remedy this issue, ``strip_tags()`` will now return the original input if
2121it detects the length of the string it's processing increases. Remember that
Original file line number Diff line number Diff line change @@ -13,9 +13,9 @@ Last year :func:`~django.utils.html.strip_tags` was changed to work
1313iteratively. The problem is that the size of the input it's processing can
1414increase on each iteration which results in an infinite loop in
1515``strip_tags()``. This issue only affects versions of Python that haven't
16- received `a bugfix in HTMLParser <https://bugs.python.org/issue20288>`_ ; namely
17- Python < 2.7.7 and 3.3.5. Some operating system vendors have also backported
18- the fix for the Python bug into their packages of earlier versions.
16+ received :bpo: `a bugfix in HTMLParser <20288>` ; namely Python < 2.7.7 and
17+ 3.3.5. Some operating system vendors have also backported the fix for the
18+ Python bug into their packages of earlier versions.
1919
2020To remedy this issue, ``strip_tags()`` will now return the original input if
2121it detects the length of the string it's processing increases. Remember that
You can’t perform that action at this time.
0 commit comments