On Thu, Nov 19, 2009 at 11:57 AM, Harald Schilly
<harald.schi...@gmail.com> wrote:
> This is from the "report a problem" link in the notebook:

Thanks.  I've replicated it and made it trac 7516:

  http://trac.sagemath.org/sage_trac/ticket/7516

>
> If you have a vector space, that is a quotient of a subspace of
> another vector space, then after coercing elements into it, something
> goes wrong in (un)pickling it.
>
> {{{
> sage: V = VectorSpace(QQ, 2)
> sage: W = V.subspace([V([1,1])])
> sage: Z = W.subspace([])
> sage: WmodZ = W / Z
> sage: WmodZ(W(0))
> (0)
> sage: loads(dumps(WmodZ))
> ---------------------------------------------------------------------------
> AttributeError                            Traceback (most recent call last)
>
> /home/bosman/sage/<ipython console> in <module>()
>
> /home/bosman/sage-4.2-linux-Ubuntu_9.04-i686-Linux/local/lib/python2.6/site-packages/sage/structure/sage_object.so
> in sage.structure.sage_object.loads
> (sage/structure/sage_object.c:8769)()
>
> /home/bosman/sage-4.2-linux-Ubuntu_9.04-i686-Linux/local/lib/python2.6/site-packages/sage/modules/free_module.pyc
> in __hash__(self)
>   4576             True
>   4577         """
> -> 4578         return hash(self.__basis)
>   4579
>   4580     def construction(self):
>
> AttributeError: 'FreeModule_submodule_field' object has no attribute
> '_FreeModule_submodule_with_basis_pid__basis'
> }}}
>
> --
> To post to this group, send an email to sage-devel@googlegroups.com
> To unsubscribe from this group, send an email to 
> sage-devel-unsubscr...@googlegroups.com
> For more options, visit this group at 
> http://groups.google.com/group/sage-devel
> URL: http://www.sagemath.org



-- 
William Stein
Associate Professor of Mathematics
University of Washington
http://wstein.org

-- 
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to 
sage-devel-unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org

Reply via email to