#15034: Raise a NotImplementedError, not a NotImplemented, in _lazy_attribute
------------------------------+------------------------------
Reporter: SimonKing | Owner:
Type: PLEASE CHANGE | Status: new
Priority: trivial | Milestone: sage-5.12
Component: performance | Keywords:
Merged in: | Authors: Simon King
Reviewers: | Report Upstream: N/A
Work issues: | Branch:
Dependencies: | Stopgaps:
------------------------------+------------------------------
In #14615, lazy attributes became cythoned. For technical reasons, there
is a Cython class doing fast stuff in the background (_lazy_attribute),
but the thing that is really used is a Python class lazy_attribute
inheriting from the Cython class.
The mock init method of the Cython class tried to state that only wrappers
of this class should be instantiated. Unfortunately, it does not raise an
error, but tries to raise the value `NotImplemented`. This is fixed in my
patch.
--
Ticket URL: <http://trac.sagemath.org/ticket/15034>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" 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].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/groups/opt_out.