[sage-support] how to import locally defined extension types?

2011-07-29 Thread john_perry_usm
Hi I have a file type1.pyx that defines an extension type Type1, and a file type2.pyx that defines an extension type Type2. Some attributes of Type2 are of type Type1. If I have the types in one file, everything runs fine; I'd like to separate them into different files. I placed these files in a

Re: [sage-support] how to import locally defined extension types?

2011-07-31 Thread Robert Bradshaw
On Fri, Jul 29, 2011 at 5:00 PM, john_perry_usm wrote: > Hi > > I have a file type1.pyx that defines an extension type Type1, and a > file type2.pyx that defines an extension type Type2. Some attributes > of Type2 are of type Type1. If I have the types in one file, > everything runs fine; I'd like