Opened 17 years ago

Closed 17 years ago

#6169 closed (worksforme)

QueryDicts should be picklable - BackwardsIncompatibleChange?

Reported by: Simon Litchfield <simon@…> Owned by: nobody
Component: HTTP handling Version: dev
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

Description

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 by Simon Litchfield <simon@…>, 17 years ago

Cc: simon@… added

comment:2 by Thomas Güttler, 17 years ago

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