Why Nostr? What is Njump?
2023-08-03 11:52:40

Matthew Martin β˜‘ βœ…πŸ“› on Nostr: #python every python release has more type annotations that aren't backwards ...

#python every python release has more type annotations that aren't backwards compatible, but if you stripped off the annotations, it would become backwards compatible with no runtime change! But if I strip off the annotations, any developer using it as a library suffers.

Options
- tool to strip off annotations, ship nude package
- ship it twice
- use .pyi all the time (ugh!)
- python switch/config option to ignore annotations & typing imports
Author Public Key
npub1anj34n7xep997cj6w4d7mysld6kx48d2d7ggzuz8jqwmuq332ghs5tk3c3