django/django/utils
Ran Benita b214845f0f Improved order of methods in proxy class in lazy().
This order reads more naturally and puts methods into three groups:

1. The methods required to support the implementation of __proxy__, e.g.
   __deepcopy__ doesn't come from `object` and __reduce__ is
   overridden to support behavior required explicitly for pickling of
   lazy objects.

2. Methods that are specifically overridden from `object` which we
   don't want to inherit from the provided resultclasses. These will be
   skipped later when we add methods from the resultclasses.

3. Additional methods - that is _add__, __radd__, and __mod__ - don't
   come from `object`, but typically from `str` and `int` which are the
   most common use cases.

Co-authored-by: Nick Pope <nick@nickpope.me.uk>
2023-06-12 05:33:02 +02:00
..
translation Fixed #34515 -- Made LocaleMiddleware prefer language from paths when i18n patterns are used. 2023-05-02 06:04:18 +02:00
__init__.py Imported Django from private SVN repository (created from r. 8825) 2005-07-13 01:25:57 +00:00
_os.py Corrected exception type in safe_join()'s docstring. 2023-04-20 05:44:01 +02:00
archive.py Refs #33476 -- Reformatted code with Black. 2022-02-07 20:37:05 +01:00
asyncio.py Fixed #34233 -- Dropped support for Python 3.8 and 3.9. 2023-01-18 09:46:01 +01:00
autoreload.py Refs #30213 -- Removed post-startup check for Watchman availability. 2022-08-11 11:02:03 +02:00
cache.py Refs #33476 -- Applied Black's 2023 stable style. 2023-02-01 11:04:38 +01:00
connection.py Made closing in connection handlers more DRY. 2022-05-12 15:13:51 +02:00
crypto.py Fixed #34233 -- Dropped support for Python 3.8 and 3.9. 2023-01-18 09:46:01 +01:00
datastructures.py Refs #34233 -- Used str.removeprefix()/removesuffix(). 2023-01-18 19:11:18 +01:00
dateformat.py Refs #34233 -- Referenced isocalendar() results by names not indexes. 2023-01-18 12:57:54 +01:00
dateparse.py Refs #32365 -- Removed internal uses of utils.timezone.utc alias. 2022-03-24 06:29:50 +01:00
dates.py Refs #33476 -- Reformatted code with Black. 2022-02-07 20:37:05 +01:00
deconstruct.py Refs #33476 -- Refactored code to strictly match 88 characters line length. 2022-02-07 20:37:05 +01:00
decorators.py Refs #33476 -- Applied Black's 2023 stable style. 2023-02-01 11:04:38 +01:00
deprecation.py Advanced deprecation warnings for Django 5.0. 2023-01-17 11:49:15 +01:00
duration.py Used more augmented assignment statements. 2022-10-31 12:30:13 +01:00
encoding.py Refs #34233 -- Used types.NoneType. 2023-01-18 17:27:23 +01:00
feedgenerator.py Refs #32365 -- Removed internal uses of utils.timezone.utc alias. 2022-03-24 06:29:50 +01:00
formats.py Refs #32873 -- Removed settings.USE_L10N per deprecation timeline. 2023-01-17 11:49:15 +01:00
functional.py Improved order of methods in proxy class in lazy(). 2023-06-12 05:33:02 +02:00
hashable.py Refs #33476 -- Reformatted code with Black. 2022-02-07 20:37:05 +01:00
html.py Fixed #34609 -- Deprecated calling format_html() without arguments. 2023-06-06 14:14:57 +02:00
http.py Refs #34233 -- Used str.removeprefix()/removesuffix(). 2023-01-18 19:11:18 +01:00
inspect.py Refs #33476 -- Reformatted code with Black. 2022-02-07 20:37:05 +01:00
ipv6.py Refs #33476 -- Reformatted code with Black. 2022-02-07 20:37:05 +01:00
itercompat.py Refs #27656 -- Updated django.utils docstring verbs according to PEP 257. 2017-02-11 16:11:08 -05:00
jslex.py Refs #33476 -- Reformatted code with Black. 2022-02-07 20:37:05 +01:00
log.py Refs #33476 -- Reformatted code with Black. 2022-02-07 20:37:05 +01:00
lorem_ipsum.py Refs #33476 -- Reformatted code with Black. 2022-02-07 20:37:05 +01:00
module_loading.py Refs #33476 -- Reformatted code with Black. 2022-02-07 20:37:05 +01:00
numberformat.py Refs #33476 -- Applied Black's 2023 stable style. 2023-02-01 11:04:38 +01:00
regex_helper.py Refs #33476 -- Reformatted code with Black. 2022-02-07 20:37:05 +01:00
safestring.py Renamed wrapped functions to wrapper. 2022-05-25 10:53:52 +02:00
termcolors.py Refs #33476 -- Reformatted code with Black. 2022-02-07 20:37:05 +01:00
text.py Fixed #34170 -- Implemented Heal The Breach (HTB) in GzipMiddleware. 2022-12-17 08:46:37 +01:00
timesince.py Refs #34483 -- Fixed timesince()/timeuntil() with timezone-aware dates on different days and interval less than 1 day. 2023-04-14 17:41:03 +02:00
timezone.py Fixed #34233 -- Dropped support for Python 3.8 and 3.9. 2023-01-18 09:46:01 +01:00
tree.py Refs #32948, Refs #32946 -- Used Q.create() internally for dynamic Q() objects. 2022-07-27 10:06:24 +02:00
version.py Refs #34118 -- Fixed CustomChoicesTests.test_uuid_unsupported on Python 3.12+. 2023-04-05 13:59:10 +02:00
xmlutils.py Refs #33476 -- Reformatted code with Black. 2022-02-07 20:37:05 +01:00