#25501: Filebased cache should use the highest pickling protocol
-------------------------------------+------------------------------------
     Reporter:  BertrandBordage      |                    Owner:  dudepare
         Type:  Bug                  |                   Status:  assigned
    Component:  Core (Cache system)  |                  Version:  master
     Severity:  Normal               |               Resolution:
     Keywords:                       |             Triage Stage:  Accepted
    Has patch:  0                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  1                    |                    UI/UX:  0
-------------------------------------+------------------------------------

Comment (by BertrandBordage):

 Hi Andrew,

 If you need to be able to test it when psycopg2 is not installed, you can
 also reproduce this bug by creating a class with the same problem:
 {{{#!python
 class UnpickableType(object):
     __slots__ = ('a',)
 }}}
 If you try to pickle an instance of this class, you’ll get the same error.

--
Ticket URL: <https://code.djangoproject.com/ticket/25501#comment:4>
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/073.39d2c2a6b510515585876a15d8d7a553%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to