On 22 Apr., 09:41, Simon King <simon.k...@uni-jena.de> wrote: > I found out that the problem is differently: The module name of the > class bla is wrong, if and only if the directory of the to-be-attached > pyx file also contains a __init__.py file. > > Namely: > > * Create an empty folder, put test.pyx into it, start sage, attach > test.pyx and verify that bla.__module__ is ok. > * touch __init__.py, start sage, attach test.pyx and verify that > bla.__module__ is wrong. > * rm __init__.py, start sage, attach test.pyx, and bla.__module__ > is fine again. > > I created trac ticket #12868 for that bug.
There's now a possible solution to that which probably needs further consideration. -leif -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage-devel+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-devel URL: http://www.sagemath.org