Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Refs #28358 -- Fixed infinite recursion in LazyObject.__getattribute__(). | Matthias Kestenholz | 2022-02-17 | 1 | -0/+8 |
| | | | | | | | Regression in 97d7990abde3fe4b525ae83958fd0b52d6a1d13f. Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com> Co-authored-by: Theo Alexiou <theofilosalexiou@gmail.com> | ||||
* | Fixed #28358 -- Prevented LazyObject from mimicking nonexistent attributes. | Theo Alexiou | 2022-02-16 | 1 | -0/+22 |
| | | | | Thanks Sergey Fedoseev for the initial patch. | ||||
* | Fixed #26287 -- Added support for addition operations to SimpleLazyObject. | Theo Alexiou | 2022-02-10 | 1 | -0/+11 |
| | |||||
* | Refs #33476 -- Refactored code to strictly match 88 characters line length. | Mariusz Felisiak | 2022-02-07 | 1 | -1/+2 |
| | |||||
* | Refs #33476 -- Reformatted code with Black. | django-bot | 2022-02-07 | 1 | -66/+74 |
| | |||||
* | Fixed #29772 -- Made LazyObject proxy __lt__() and __gt__(). | Javier Buzzi | 2018-09-19 | 1 | -0/+10 |
| | |||||
* | Refs #28389 -- Added release note and test for pickling of LazyObject when ↵ | Sergey Fedoseev | 2017-07-12 | 1 | -0/+2 |
| | | | | | | wrapped object doesn't have __reduce__(). Forwardport of 30f334cc58e939c7d9bd8455c80bd066fbde9f2b from stable/1.11.x | ||||
* | Refs #23919 -- Replaced super(ClassName, self) with super(). | chillaranand | 2017-01-25 | 1 | -3/+4 |
| | |||||
* | Refs #23919 -- Stopped inheriting from object to define new style classes. | Simon Charette | 2017-01-19 | 1 | -3/+3 |
| | |||||
* | 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 | -1/+1 |
| | | | | Thanks Tim Graham and Simon Charette for the reviews. | ||||
* | Refs #23919 -- Removed encoding preambles and future imports | Claude Paroz | 2017-01-18 | 1 | -2/+0 |
| | |||||
* | Fixed #27463 -- Fixed E741 flake8 warnings. | Ramin Farajpour Cami | 2016-11-14 | 1 | -10/+10 |
| | |||||
* | Made miscellaneous code cleanups | Dmitry Dygalo | 2016-07-21 | 1 | -2/+1 |
| | |||||
* | Fixed #26122 -- Fixed copying a LazyObject | Ben Kraft | 2016-01-26 | 1 | -7/+78 |
| | | | | | | Shallow copying of `django.utils.functional.LazyObject` or its subclasses has been broken in a couple of different ways in the past, most recently due to 35355a4. | ||||
* | Fixed #25389 -- Fixed pickling a SimpleLazyObject wrapping a model. | Ben Kraft | 2015-10-03 | 1 | -0/+92 |
| | | | | | | Pickling a `SimpleLazyObject` wrapping a model did not work correctly; in particular it did not add the `_django_version` attribute added in 42736ac8. Now it will handle this and other custom `__reduce__` methods correctly. | ||||
* | Fixed #23838 -- added missing `__iter__` to LazyObject | Rik | 2015-03-08 | 1 | -5/+16 |
| | |||||
* | Fixed #23620 -- Used more specific assertions in the Django test suite. | Berker Peksag | 2014-11-03 | 1 | -6/+6 |
| | |||||
* | Replaced set([foo, ...]) by {foo, ...} literals. Refs PR 3282. | Thomas Chaumeny | 2014-09-29 | 1 | -1/+1 |
| | | | | Thanks Collin Anderson for the review. | ||||
* | Fixed a deprecation warning on Python 3. | Tim Graham | 2014-03-27 | 1 | -1/+1 |
| | |||||
* | Fixed #21840 -- Moved dunder methods from SimpleLazyObject to LazyObject. | Baptiste Mispelon | 2014-03-13 | 1 | -0/+275 |
This commit also added tests for LazyObject and refactored the testsuite of SimpleLazyObject so that it can share test cases with LazyObject. |