#26122: copy.copy() broken with SimpleLazyObject in 1.8.5
-------------------------------------+-------------------------------------
Reporter: knyghty | Owner:
| benjaminjkraft
Type: Bug | Status: assigned
Component: Utilities | Version: 1.8
Severity: Release blocker | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by benjaminjkraft):
* status: new => assigned
* owner: nobody => benjaminjkraft
* has_patch: 0 => 1
Comment:
Fixed in https://github.com/django/django/pull/6030, along with regression
tests (similar to those for deepcopy, which I also improved a bit). This
reverts to the behavior that matches deepcopy of not initializing the
object if it hasn't already been initialized (instead we just create
another object with the same initializer). Incidentally, this seems to
have been broken in various ways in other past versions; the tests I added
fail even before 35355a4.
--
Ticket URL: <https://code.djangoproject.com/ticket/26122#comment:7>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/065.985ae92b5cdc3a69aa180639e31ed55e%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.