#510: [with patch, needs review] Make sure importing sage.rings.real_mpfr
without
an "from sage import *" doesn't segfault Sage
-------------------------+--------------------------------------------------
Reporter: burcin | Owner: was
Type: enhancement | Status: reopened
Priority: major | Milestone: sage-3.2
Component: interfaces | Resolution:
Keywords: |
-------------------------+--------------------------------------------------
Changes (by mabshoff):
* summary: [with patch, needs review] Make sure importing random modules
from Sage doesn't segfault => [with patch,
needs review] Make sure importing
sage.rings.real_mpfr without an "from sage
import *" doesn't segfault Sage
* milestone: sage-wishlist => sage-3.2
Comment:
Amazingly this patch still applies with some fuzz to my current
3.1.3.alpha2 merge tree:
{{{
age-3.1.3.alpha2/devel/sage$ patch -p1 --dry-run <
510_real_mpfr_imports.patch\?format\=raw
patching file sage/rings/real_double.pxd
patching file sage/rings/real_double.pyx
Hunk #2 succeeded at 1088 (offset 9 lines).
patching file sage/rings/real_mpfr.pyx
Hunk #1 succeeded at 132 (offset 6 lines).
Hunk #2 succeeded at 158 (offset 6 lines).
Hunk #3 succeeded at 237 with fuzz 2 (offset 18 lines).
Hunk #4 succeeded at 468 (offset 63 lines).
Hunk #5 succeeded at 1879 (offset 191 lines).
patching file sage/rings/real_rqdf.pxd
patching file sage/rings/real_rqdf.pyx
Hunk #3 succeeded at 1263 (offset 4 lines).
}}}
I did not try to compile, but I consider this encouraging.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/510#comment:9>
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
-~----------~----~----~----~------~----~------~--~---