3 ms·
It was nice to see the "annotations" from 3.7 for helping avoid types with circular imports (for types). I didn't know that! I'd love to see a step further, an
by the__alchemist 2y ago
It was nice to see the "annotations" from 3.7 for helping avoid types with circular imports (for types). I didn't know that!
I'd love to see a step further, and avoid the circular import problem entirely. It's something I fight with everything time I work in Python. I find that I am forced to structure my Python programs in a way specifically designed to avoid this instead of what makes sense for organization. Or I will C+P functions if I feel that tradeoff is not worth it.