« * K @mathspp.com
1 What do you do when you can't use `None` as the default? You can use `object()`…
@mathspp.com
2 I think the std lib does something similar in `collections` or `collections.abc…
@mathspp.com
3 Cool, thanks for the example!
@mathspp.com
4 What's an example usage of a module-level `__getattr__` you've come across?
@mathspp.com
5 Explicit lazy imports bsky.app/profile/math...
@mathspp.com
6 I'm doing 15 days of Python 3.15. Follow @mathspp.com for the whole journey. An…
@mathspp.com
7 If you want to learn more about explicit lazy imports. See use case scenarios. …
@mathspp.com
8 Python startup times just got faster. In 3.15, you can use the keyword `lazy` t…
@mathspp.com
9 That's what I reckon most will be doing.
@mathspp.com
# MoreBack a pageBluesky home
☆ Save to home · 0 Home · Find · Games · Chat · AI · Setup