• 1 Post
  • 22 Comments
Joined 1 year ago
cake
Cake day: July 8th, 2023

help-circle






  • Any time you need different behavior between static type checking and runtime.

    in 3.10 I’m using it to work around issue with NamedTuple generics. typing_extensions.NamedTuple allows Generics at runtime but typing.NamedTuple doesn’t. But the type checker we are using doesn’t support typing_extensions.NamedTuple like it does for the typing version so we lie at type checking time to get the typing to make sense but have different runtime type because otherwise its a TypeError












  • I already live where I want to live. I would probably buy up all the open land in my county. Get my friends to move out and live on one of my properties. Fix up this 120 year old farm house. Install a pond and more water features to hold onto rain water. Probably run some electric fencing get solar power go off grid. Pretend to be a cattle rancher. Try to turn this homestead into my very own paradise. But i’ll probably employ a-lot of people create some jobs do more charity work.