On Sun, May 3, 2020 at 8:27 PM Michael Orlitzky <mich...@orlitzky.com>
wrote:

>
> A good first step might be to ban new circular imports, but that means
> that e.g. parent structures and their element classes would need to be
> defined in the same files for things like
>
>   class FooElement(...):
>       pass
>
>   class Foo(...):
>       Element = FooElement
>
> to work. And I'm sure that's not the only widespread antipattern that
> will be uncovered.
>

If the element is written in Cython and the parent in Python they can't be
in the same file.

In general I worry about rules that prevent us from breaking up large
source files into pieces.
David


>
> --
> You received this message because you are subscribed to the Google Groups
> "sage-devel" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to sage-devel+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/sage-devel/7c3e1653-b279-9f43-03e8-3f03c682fdf8%40orlitzky.com
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-devel/CAChs6_mihh_hcfmag_LgSVEgPN8g_ZqcDjmfeFOGzUa4U8dPEw%40mail.gmail.com.

Reply via email to