Opened 23 months ago
Last modified 23 months ago
#34482 closed Bug
Unable to access "non-picklable" attributes of empty HttpRequest and HttpResponse objects after shallow copy. — at Version 3
Description (last modified by ) ¶
Trying to access the non-picklable attributes of HttpRequest
and HttpResponse
object after shallow copy leads to an AttributeError
.
Example:
request = HttpRequest() request_copy = copy(request) match = request_copy.resolver_match AttributeError: 'WSGIRequest' object has no attribute 'resolver_match'
Change History (3)
comment:1 by , 23 months ago
Severity: | Normal → Release blocker |
---|---|
Summary: | Unable to access non-picklable attributes of HttpRequest and HttpResponse objects after shallow copy. → Unable to access "non-picklable" attributes of empty HttpRequest and HttpResponse objects after shallow copy. |
Triage Stage: | Unreviewed → Accepted |
comment:2 by , 23 months ago
I opened #34484 for a report due to a related failure caused by the same patch.
comment:3 by , 23 months ago
Description: | modified (diff) |
---|
Note:
See TracTickets
for help on using tickets.
Regressions in d7f5bfd241666c0a76e90208da1e9ef81aec44db and 6220c445c40a6a7f4d442de8bde2628346153963.
Thanks Márton Salomváry for the report.