On 23 April 2024 18:41:34 BST, Matthias Koeppe <matthiaskoe...@gmail.com> wrote:
>On Tuesday, April 23, 2024 at 10:32:22 AM UTC-7 Dima Pasechnik wrote:
>
>in
>src/sage/combinat//designs/block_design.py
>
>you can see
>
>lazy_import('sage.libs.gap.libgap', 'libgap')
>lazy_import('sage.rings.finite_rings.finite_field_constructor',
>'FiniteField')
>
>
>*$ git blame src/sage/combinat//designs/block_design.py*
>
>fdbe7f7e3348 (Matthias Koeppe 2023-07-12 10:53:08 -0700 65)
>lazy_import('sage.libs.gap.libgap', 'libgap')
>fdbe7f7e3348 (Matthias Koeppe 2023-07-12 10:53:08 -0700 66)
>lazy_import('sage.matrix.matrix_space', 'MatrixSpace')
>fdbe7f7e3348 (Matthias Koeppe 2023-07-12 10:53:08 -0700 67)
>lazy_import('sage.modules.free_module', 'VectorSpace')
>fdbe7f7e3348 (Matthias Koeppe 2023-07-12 10:53:08 -0700 68)
>lazy_import('sage.rings.finite_rings.finite_field_constructor',
>'FiniteField')
>
>What you see there is the result of work in the modularization project,
>using one of the techniques documented
>in
>https://doc.sagemath.org/html/en/developer/packaging_sage_library.html#dependencies-and-distribution-packages
>
>("Reducing module-level run-time dependencies:") to reduce dependencies or
>to make dependencies milder.
The problem is that without these imports, lazy or not, this module is
basically useless.
>
>
--
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/1EA68E6E-0DC2-4D94-8C6A-39ABF3203436%40gmail.com.