Code

Opened 6 years ago

Closed 6 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: UI/UX:

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?

Attachments (0)

Change History (2)

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

  • Cc simon@… added
  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset

comment:2 Changed 6 years ago by guettli

  • Resolution set to worksforme
  • Status changed from new to closed

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.

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
as The resolution will be set. Next status will be 'closed'
The resolution will be deleted. Next status will be 'new'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.