CarliJoy / intersection_examples

Python Typing Intersection examples
MIT License
20 stars 2 forks source link

Interpretation of type Any & T [continuation] #37

Open CarliJoy opened 4 months ago

CarliJoy commented 4 months ago

As github sucks for long thread this is merly the continuation of https://github.com/CarliJoy/intersection_examples/issues/31. Please consider opening new issues if you start discussion on new topics, so issues don't get too long.

mark-todd commented 4 months ago

Thanks @CarliJoy, it's a good idea.

I feel like we're getting somewhere - the proposal currently on the table seems to have few disadvantages. I'll prepare something in the repo that summarises the advantages, and the two potential issues pointed out by @erictraut. Perhaps it's worth opening separate threads for each of these.