On Sat, Aug 26, 2017 at 9:00 AM, Frédéric Chapoton <fchapot...@gmail.com> wrote:
> Shorter traceback, with the same issue. This has probably something to do
> with the behaviour of weak-cahe (which is different with python3)
>
>
> Traceback (most recent call last):
>   File
> "/home/chapoton/sage3/local/lib/python3.6/site-packages/sage/rings/polynomial/polynomial_ring_constructor.py",
> line 604, in _get_from_cache
>     return _cache[key]
>   File "sage/misc/weak_dict.pyx", line 699, in
> sage.misc.weak_dict.WeakValueDictionary.__getitem__
> (/home/chapoton/sage3/src/build/cythonized/sage/misc/weak_dict.c:3507)
> TypeError: unhashable type: 'ComplexIntervalField_class_with_category'

Quick question: Would I be able to reproduce this on devel, or do I
need to check out your Python 3 branch?

> Le samedi 26 août 2017 08:53:01 UTC+2, Frédéric Chapoton a écrit :
>>
>> Hello,
>>
>> during my experiments with python3, I am now stopped on a crash involving
>> hash of Complex interval fields.
>>
>> The full log is attached. It ends with
>>
>> TypeError: key = (Complex Interval Field with 53 bits of precision,
>> ('x',), False, None)
>>
>> unhashable type: 'ComplexIntervalField_class_with_category'
>>
>> This is strange, because CIF and type(CIF) are both hashable in the usual
>> sage with python2.
>>
>> has anybody any idea of what is happening ?
>>
>> Frederic
>>
> --
> You received this message because you are subscribed to the Google Groups
> "sage-devel" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to sage-devel+unsubscr...@googlegroups.com.
> To post to this group, send email to sage-devel@googlegroups.com.
> Visit this group at https://groups.google.com/group/sage-devel.
> For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.

Reply via email to