Hi! I've put class bla(type): pass into a file test.pyx
On the machine in my office (Debian GNU/Linux 6.0), both with sage-4.6.2 and sage-5.0.beta13, I got (correctly) sage: attach test.pyx Compiling ./test.pyx... sage: bla.__module__ '_home_king_SAGE_tests_test_pyx_0' sage: sys.modules.has_key(bla.__module__) True But with different 5.0.beta versions on openSuse (openSUSE 12.1 "Asparagus"), I get sage: attach test.pyx Compiling ./test.pyx... sage: bla.__module__ '_home_simon_SAGE_tests_test_pyx._home_simon_SAGE_tests_test_pyx_0' sage: sys.modules.has_key(bla.__module__) False In fact, only a module _home_simon_SAGE_tests_test_pyx_0 is known. Do you have any idea how the name that Sage assigns to the __module__ of a class could depend on the operating system?? Best regards, Simon -- 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