#3740: pickling broken for TensorProductOfCrystals
---------------------+------------------------------------------------------
 Reporter:  was      |        Owner:  cwitty    
     Type:  defect   |       Status:  new       
 Priority:  blocker  |    Milestone:  sage-3.2.1
Component:  misc     |   Resolution:            
 Keywords:           |  
---------------------+------------------------------------------------------
Changes (by mabshoff):

 * cc: mhansen (added)
  * summary:  sage-3.0.6 blocker -- pickle jar -- exactly one failure =>
              pickling broken for TensorProductOfCrystals

Old description:

> {{{
> sage: sage.structure.sage_object.unpickle_all('pickle_jar-3.0.3')
> ** failed:
> _class__sage_combinat_crystals_tensor_product_TensorProductOfCrystals__.sobj
> Failed:
> _class__sage_combinat_crystals_tensor_product_TensorProductOfCrystals__.sobj
> Successfully unpickled 355 objects.
> Failed to unpickle 1 objects.
> }}}
>
> Email to sage-combinat-devel:
> {{{
> Hi,
>
> The only object from sage-3.0.3 that doesn't unpickle in sage-3.0.3.final
> is
>
> -----------------------
> sage: sage.structure.sage_object.unpickle_all('pickle_jar-3.0.3')
> ** failed:
> _class__sage_combinat_crystals_tensor_product_TensorProductOfCrystals__.sobj
> Failed:
> _class__sage_combinat_crystals_tensor_product_TensorProductOfCrystals__.sobj
> Successfully unpickled 355 objects.
> Failed to unpickle 1 objects.
> -----------------------
>
> I don't know anything about the stability of TensorProductOfCrystals.
> I've attached the sobj
> that doesn't unpickle.  This was pickled using sage-3.0.3 because of a
> loads/dumps doctest.
> Please clarify if you want to fix this problem ASAP, or consider this to
> be a nonissue because
> you consider that particular code unstable.
>
>  -- William
> }}}

New description:

 I have change the summary of this ticket since the original error is no
 longer something that happens with the current pickle jar. But as Dan Bump
 pointed out below:
 {{{
 sage: C = CrystalOfLetters(['A',3])
 sage: v = C.list()[0]
 sage: T = TensorProductOfCrystals(C, C, generators=[[v,v]])
 sage: T == loads(dumps(T))
 }}}
 raises an exception.

 Cheers,

 Michael

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/3740#comment:2>
Sage <http://sagemath.org/>
Sage - Open Source Mathematical Software: Building the Car Instead of 
Reinventing the Wheel
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"sage-trac" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sage-trac?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to