#19633: Optimize lazy imports
-------------------------------------------------+-------------------------
Reporter: jdemeyer | Owner:
Type: enhancement | Status: new
Priority: minor | Milestone: sage-6.10
Component: misc | Resolution:
Keywords: | Merged in:
Authors: Jeroen Demeyer | Reviewers:
Report Upstream: Reported upstream. No | Work issues:
feedback yet. | Commit:
Branch: | Stopgaps:
Dependencies: #18542 |
-------------------------------------------------+-------------------------
Description changed by jdemeyer:
Old description:
> 1. make `_get_object()` a `cpdef` method again, like it was with Cython
> 0.18 and before, see #14452. This exposes a Python bug (incorrectly
> claimed to be a Cython bug) which needs to be fixed.
>
> 2. use `PyObject_RichCompare()` as a shortcut.
>
> 3. use `print` syntax compatible with Python 3.
>
> '''Upstream bug''': [http://bugs.python.org/issue25750]
New description:
1. make `_get_object()` a `cpdef` method again, like it was with Cython
0.18 and before, see #14452. This exposes a Python bug (incorrectly
claimed to be a Cython bug) which needs to be fixed.
2. use `PyObject_RichCompare()` as a shortcut in `__richcmp__()`.
3. use `print` syntax compatible with Python 3.
'''Upstream bug''': [http://bugs.python.org/issue25750]
--
--
Ticket URL: <http://trac.sagemath.org/ticket/19633#comment:6>
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/d/optout.