django1/django/utils
Keryn Knight 55022f75c1 Fixed #33465 -- Added empty __slots__ to SafeString and SafeData.
Despite inheriting from the str type, every SafeString instance gains
an empty __dict__ due to the normal, expected behaviour of type
subclassing in Python.

Adding __slots__ to SafeData is necessary, because otherwise inheriting
from that (as SafeString does) will give it a __dict__ and negate the
benefit added by modifying SafeString.
2022-01-29 13:50:34 +01:00
..
translation Refs #32355 -- Removed unnecessary list() calls before reversed() on dictviews. 2022-01-07 16:29:15 +01:00
__init__.py Imported Django from private SVN repository (created from r. 8825) 2005-07-13 01:25:57 +00:00
_os.py Refs #30461 -- Added django.utils._os.to_path(). 2019-08-13 17:17:39 +02:00
archive.py Fixed CVE-2021-3281 -- Fixed potential directory-traversal via archive.extract(). 2021-02-01 09:07:36 +01:00
asyncio.py Optimized @async_unsafe. 2021-09-30 12:16:00 +02:00
autoreload.py Fixed #33027 -- Made autoreloader pass -X options. 2021-09-29 11:37:50 +02:00
baseconv.py Fixed #32712 -- Deprecated django.utils.baseconv module. 2021-05-07 11:57:40 +02:00
cache.py Fixed #28401 -- Allowed hashlib.md5() calls to work with FIPS kernels. 2021-10-12 08:58:27 +02:00
connection.py Fixed #32233 -- Cleaned-up duplicate connection functionality. 2020-12-08 08:55:44 +01:00
crypto.py Fixed #28401 -- Allowed hashlib.md5() calls to work with FIPS kernels. 2021-10-12 08:58:27 +02:00
datastructures.py Optimized handling case-insensitive mappings. 2021-09-22 09:26:21 +02:00
dateformat.py Updated various links to HTTPS and new locations. 2021-12-02 11:27:29 +01:00
dateparse.py Refs #30141 -- Removed unused branch in parse_duration(). 2022-01-11 11:09:08 +01:00
dates.py Fixed #28798 -- Removed unused django.utils.dates.WEEKDAYS_REV, MONTHS_3_REV. 2017-11-17 15:37:58 -05:00
datetime_safe.py Fixed #32738 -- Deprecated django.utils.datetime_safe module. 2021-05-12 14:42:17 +02:00
deconstruct.py Refs #33216 -- Made @deconstructible do not change path for subclasses. 2022-01-04 13:15:29 +01:00
decorators.py Fixed #33043 -- Made method_decorator() preserve wrapper assignments. 2021-10-20 16:48:00 +02:00
deprecation.py Optimized MiddlewareMixin coroutine check. 2021-12-21 08:41:29 +01:00
duration.py Fixed #28926 -- Fixed loss of precision of big DurationField values on SQLite and MySQL. 2017-12-28 17:35:41 -05:00
encoding.py Fixed typos in comments and docs. 2021-05-29 12:51:14 +02:00
feedgenerator.py Fixed 32956 -- Lowercased spelling of "web" and "web framework" where appropriate. 2021-07-29 06:24:12 +02:00
formats.py Refs #32355 -- Used @functools.lru_cache as a straight decorator. 2021-09-27 09:10:58 +02:00
functional.py Fixed #30127 -- Deprecated name argument of cached_property(). 2021-12-16 18:52:27 +01:00
hashable.py Refs #29838, Refs #28507 -- Made make_hashable() ignore key order. 2020-10-05 20:42:46 +02:00
html.py Fixed #33302 -- Made element_id optional argument for json_script template filter. 2021-11-22 11:52:19 +01:00
http.py Fixed #28628 -- Changed \d to [0-9] in regexes where appropriate. 2022-01-07 12:25:06 +01:00
inspect.py Refs #31732 -- Fixed django.utils.inspect caching for bound methods. 2021-03-22 13:17:54 +01:00
ipv6.py Refs #27656 -- Updated django.utils docstring verbs according to PEP 257. 2017-02-11 16:11:08 -05:00
itercompat.py Refs #27656 -- Updated django.utils docstring verbs according to PEP 257. 2017-02-11 16:11:08 -05:00
jslex.py Updated various links to HTTPS and new locations. 2021-12-02 11:27:29 +01:00
log.py Changed django.utils.log.log_response() to take exception instance. 2022-01-12 20:23:42 +01:00
lorem_ipsum.py Refs #27656 -- Updated django.utils docstring verbs according to PEP 257. 2017-02-11 16:11:08 -05:00
module_loading.py Refs #33107 -- Optimized cached_import() helper. 2021-10-04 07:47:49 +02:00
numberformat.py Fixed #28280 -- Prevented numberformat.format() from formatting large/tiny floats in scientific notation. 2020-02-26 16:02:53 +01:00
regex_helper.py Refs #30899 -- Made _lazy_re_compile() support bytes. 2019-10-29 09:14:24 +01:00
safestring.py Fixed #33465 -- Added empty __slots__ to SafeString and SafeData. 2022-01-29 13:50:34 +01:00
termcolors.py Fixed typo in django/utils/termcolors.py docstring. 2019-12-27 07:49:15 +01:00
text.py Refs #27753 -- Removed unused django.utils.text._replace_entity() and _entity_re. 2021-12-30 13:19:25 +01:00
timesince.py Fixed #31937 -- Eased translation of time strings in some languages. 2021-04-10 20:23:12 +02:00
timezone.py Refs #32355 -- Used @functools.lru_cache as a straight decorator. 2021-09-27 09:10:58 +02:00
topological_sort.py Fixed E128, E741 flake8 warnings. 2020-05-12 08:52:23 +02:00
tree.py Refs #32940 -- Removed unnecessary branch in Node.add(). 2021-07-20 07:19:28 +02:00
version.py Refs #32355 -- Used @functools.lru_cache as a straight decorator. 2021-09-27 09:10:58 +02:00
xmlutils.py Fixed #30159 -- Removed unneeded use of OrderedDict. 2019-02-06 13:48:39 -05:00