Opened 11 years ago

Closed 11 years ago

#6169 closed (worksforme)

QueryDicts should be picklable - BackwardsIncompatibleChange?

Reported by: Simon Litchfield <simon@…> Owned by: nobody
Component: HTTP handling Version: master
Severity: Keywords:
Cc: simon@… Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no


In an earlier trunk release (circa six months ago) it seems QueryDicts were picklable, but now they are not (at 6903). I've had to adapt some code which previously worked fine.

It makes sense for QueryDicts to be picklable, so they can be stored in session, cached, etc. Normal Python dicts are picklable.

Does anyone agree and/or would be interested in seeing a patch?

Change History (2)

comment:1 Changed 11 years ago by Simon Litchfield <simon@…>

Cc: simon@… added

comment:2 Changed 11 years ago by Thomas Güttler

Resolution: worksforme
Status: newclosed

I tried to reproduce this with the current SVN version. But request.GET and request.POST can be pickled. At least in
my case. If you still have this problem. Please reopen this ticket and provide a stacktrace and a way to reproduce it.

Note: See TracTickets for help on using tickets.
Back to Top