#12868: Attaching a pyx file in the presence of __init__.py results in wrong
module
names
-----------------------------+----------------------------------------------
Reporter: SimonKing | Owner: jason
Type: defect | Status: new
Priority: major | Milestone: sage-5.1
Component: misc | Resolution:
Keywords: | Work issues:
Report Upstream: N/A | Reviewers:
Authors: | Merged in:
Dependencies: | Stopgaps:
-----------------------------+----------------------------------------------
Comment (by leif):
Replying to [comment:6 SimonKing]:
> Replying to [comment:5 leif]:
> > ... the following does '''not''' solve your problem (if it really is
one):
>
> We have a module containing a class bla, but
`sys.modules[bla.__module__]` gives a key error. I am surprised that you
question whether that is a problem.
That should IMHO be solvable by importing / loading the module
differently, although I think you run into the same if for example you
create links to extension modules and import from these rather than their
original location. So I'm not sure if it really is an error.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/12868#comment:13>
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 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.