Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Refs #34233 -- Used types.NoneType. | Nick Pope | 2023-01-18 | 1 | -1/+2 |
| | | | Available since Python 3.10 where it was reintroduced. | ||||
* | Updated documentation and comments for RFC updates. | Nick Pope | 2022-11-10 | 1 | -10/+9 |
| | | | | | | | | | | | | | | | - Updated references to RFC 1123 to RFC 5322 - Only partial as RFC 5322 sort of sub-references RFC 1123. - Updated references to RFC 2388 to RFC 7578 - Except RFC 2388 Section 5.3 which has no equivalent. - Updated references to RFC 2396 to RFC 3986 - Updated references to RFC 2616 to RFC 9110 - Updated references to RFC 3066 to RFC 5646 - Updated references to RFC 7230 to RFC 9112 - Updated references to RFC 7231 to RFC 9110 - Updated references to RFC 7232 to RFC 9110 - Updated references to RFC 7234 to RFC 9111 - Tidied up style of text when referring to RFC documents | ||||
* | Refs #33173 -- Used locale.getlocale() instead of getdefaultlocale(). | Mariusz Felisiak | 2022-03-08 | 1 | -2/+2 |
| | | | | locale.getdefaultlocale() was deprecated in Python 3.11, see https://bugs.python.org/issue46659. | ||||
* | Refs #33476 -- Reformatted code with Black. | django-bot | 2022-02-07 | 1 | -22/+31 |
| | |||||
* | Fixed typos in comments and docs. | David Sanders | 2021-05-29 | 1 | -1/+1 |
| | |||||
* | Refs #27753 -- Removed django.utils.encoding.force_text() and smart_text() ↵ | Mariusz Felisiak | 2021-01-14 | 1 | -18/+0 |
| | | | | per deprecation timeline. | ||||
* | Capitalized Unicode in docs, strings, and comments. | Jon Dufresne | 2020-04-20 | 1 | -1/+1 |
| | |||||
* | Refs #28428 -- Made filepath_to_uri() support pathlib.Path. | Hasan Ramezani | 2019-10-30 | 1 | -1/+1 |
| | |||||
* | Refs #27795 -- Removed an unnecessary force_bytes() call in uri_to_iri(). | Jon Dufresne | 2019-08-28 | 1 | -1/+1 |
| | | | | The value returned from urllib.parse.quote() is always a string, so can safely call .encode(). | ||||
* | Fixed CVE-2019-14235 -- Fixed potential memory exhaustion in ↵ | Florian Apolloner | 2019-08-01 | 1 | -7/+10 |
| | | | | | | django.utils.encoding.uri_to_iri(). Thanks to Guido Vranken for initial report. | ||||
* | Refs #30608 -- Added django.utils.encoding.punycode(). | Mariusz Felisiak | 2019-07-03 | 1 | -0/+5 |
| | |||||
* | Refs #27753 -- Deprecated django.utils.encoding.force_text() and smart_text(). | Tim Graham | 2019-02-06 | 1 | -2/+16 |
| | |||||
* | Refs #27753 -- Favored force/smart_str() over force/smart_text(). | Aymeric Augustin | 2019-02-06 | 1 | -17/+7 |
| | |||||
* | Refs #27753 -- Removed django.utils.six. | Tim Graham | 2019-02-05 | 1 | -5/+0 |
| | |||||
* | Simplified force_bytes(). | Sergey Fedoseev | 2018-07-09 | 1 | -4/+1 |
| | |||||
* | Refs #23919 -- Updated references to urllib.quote() to Python 3 location. | Ville Skyttä | 2017-10-31 | 1 | -2/+2 |
| | |||||
* | Refs #27656 -- Updated django.utils docstring verbs according to PEP 257. | Anton Samarchyan | 2017-02-11 | 1 | -14/+11 |
| | |||||
* | Fixed #26005 -- Fixed some percent decoding cases in uri_to_iri(). | Chronial | 2017-02-09 | 1 | -4/+41 |
| | |||||
* | Refs #23919 -- Removed default 'utf-8' argument for str.encode()/decode(). | Tim Graham | 2017-02-09 | 1 | -2/+2 |
| | |||||
* | Refs #23919 -- Removed a Python 2 code path in force_text(). | Tim Graham | 2017-02-03 | 1 | -10/+1 |
| | | | Reverted the obsolete fix and tests for refs #12302. | ||||
* | Removed an untested and broken branch in force_bytes() (refs #6353). | Tim Graham | 2017-02-03 | 1 | -12/+1 |
| | | | | The new test crashed in the removed branch. It's unclear if the branch has value since c6a2bd9b962af1cdf46f964589e6023046cfa8ec didn't include tests. | ||||
* | Used super() in DjangoUnicodeDecodeError. | Tim Graham | 2017-02-03 | 1 | -3/+2 |
| | |||||
* | Refs #23919 -- Removed unneeded code in force_text(). | Vytis Banaitis | 2017-01-31 | 1 | -6/+3 |
| | | | Unneeded since 7b2f2e74adb36a4334e83130f6abc2f79d395235. | ||||
* | Refs #23919 -- Removed usage of obsolete SafeBytes class | Claude Paroz | 2017-01-30 | 1 | -9/+4 |
| | | | | | The class will be removed as part of #27753. Thanks Tim Graham for the review. | ||||
* | Refs #23919, #27778 -- Removed obsolete mentions of unicode. | Vytis Banaitis | 2017-01-26 | 1 | -6/+6 |
| | |||||
* | Assumed iri_to_uri always returns a string | Claude Paroz | 2017-01-23 | 1 | -7/+9 |
| | | | | Thanks Tim Graham for the review. | ||||
* | Refs #23919 -- Removed most of remaining six usage | Claude Paroz | 2017-01-18 | 1 | -2/+1 |
| | | | | Thanks Tim Graham for the review. | ||||
* | Refs #23919 -- Removed six.<various>_types usage | Claude Paroz | 2017-01-18 | 1 | -12/+12 |
| | | | | Thanks Tim Graham and Simon Charette for the reviews. | ||||
* | Refs #23919 -- Removed six.PY2/PY3 usage | Claude Paroz | 2017-01-18 | 1 | -26/+9 |
| | | | | Thanks Tim Graham for the review. | ||||
* | Refs #23919 -- Removed encoding preambles and future imports | Claude Paroz | 2017-01-18 | 1 | -3/+0 |
| | |||||
* | Fixed E305 flake8 warnings. | Ramin Farajpour Cami | 2016-11-14 | 1 | -0/+2 |
| | |||||
* | Fixed E128 flake8 warnings in django/. | Tim Graham | 2016-04-08 | 1 | -4/+4 |
| | |||||
* | Fixed #25668 -- Misc spelling errors | Ville Skyttä | 2015-11-03 | 1 | -1/+1 |
| | |||||
* | Fixed #24927 -- Used python_2_unicode_compatible from six | Matthew Somerville | 2015-06-05 | 1 | -16/+2 |
| | |||||
* | Fixed #24836 -- Made force_text() resolve lazy objects. | Tim Graham | 2015-05-27 | 1 | -2/+2 |
| | |||||
* | Sorted imports with isort; refs #23860. | Tim Graham | 2015-02-06 | 1 | -2/+3 |
| | |||||
* | Fixed #23968 -- Replaced list comprehension with generators and dict ↵ | Jon Dufresne | 2014-12-08 | 1 | -4/+4 |
| | | | | comprehension | ||||
* | Fixed #18456 -- Added path escaping to HttpRequest.get_full_path(). | Unai Zalakain | 2014-11-03 | 1 | -0/+17 |
| | |||||
* | Fixed #19508 -- Implemented uri_to_iri as per RFC. | Anubhav Joshi | 2014-10-16 | 1 | -2/+39 |
| | | | | | Thanks Loic Bistuer for helping in shaping the patch and Claude Paroz for the review. | ||||
* | Optimize is_protected_type slightly (used by force_text, which is used ↵ | Alex Gaynor | 2014-06-07 | 1 | -2/+5 |
| | | | | basically everywhere) | ||||
* | Correct flake8 E302 violations | Ray Ashman Jr | 2013-11-02 | 1 | -0/+7 |
| | |||||
* | More attacking E302 violators | Alex Gaynor | 2013-11-02 | 1 | -0/+2 |
| | |||||
* | Fixed #21198 -- Prevented invalid use of @python_2_unicode_compatible. | Aymeric Augustin | 2013-10-13 | 1 | -0/+4 |
| | | | | | | Thanks jpic for the report and chmodas for working on a patch. Reverts 2ea80b94. Refs #19362. | ||||
* | Removed a few trailing backslashes. | Aymeric Augustin | 2013-09-22 | 1 | -2/+2 |
| | | | | We have always been at war with trailing backslashes. | ||||
* | Fixed #20812 -- Error out if __unicode__/__str__ doesn't return a text type. | Florian Apolloner | 2013-09-06 | 1 | -9/+8 |
| | |||||
* | Fixed #21052 -- Small performance optimization. | Aymeric Augustin | 2013-09-06 | 1 | -4/+4 |
| | |||||
* | Fixed #18719 -- Made force_bytes more consistent with force_text. | Aymeric Augustin | 2013-09-06 | 1 | -1/+1 |
| | |||||
* | Took advantage of django.utils.six.moves.urllib.*. | Aymeric Augustin | 2013-09-05 | 1 | -4/+1 |
| | |||||
* | Replaced "not PY3" by "PY2", new in six 1.4.0. | Aymeric Augustin | 2013-09-02 | 1 | -1/+1 |
| | |||||
* | Removed django.utils.encoding.StrAndUnicode class, deprecated in Django 1.5. | Ramiro Morales | 2013-06-28 | 1 | -24/+0 |
| |