3 ms·
The first feature pretty much only exists to make interop with C apis less error prone. It's not really something that should be used in idiomatic Python
by dralley 6y ago
The first feature pretty much only exists to make interop with C apis less error prone. It's not really something that should be used in idiomatic Python
- dragonwriter 6y ago> The first feature pretty much only exists to make interop with C apis less error prone. It makes it so that certain built-ins and native APIs can be properly typed, sure, but positional/keyword interchangeability is arguably a violation of the Zen, too.
- wwright 6y agoI disagree for the exact reason the thread here started: it’s part of your public API. If you don’t want keyword arguments in your public API contract, you absolutely should omit them from the contract.