Closed pauleveritt closed 3 months ago
Sorry for the slow response. That looks good to me. Agreed that Thunk and Chunk are probably better as names for children's cartoon characters than standard Python types! :-)
@gvanrossum You ok with defining them as protocols?
@gvanrossum You ok with defining them as protocols?
Totally. That's the spirit of duck typing. (Not that I'm about to dive back into the implementation for now. :-)
Closing as this has been woven into the in-progress PEP update.
Jim and I were chatting about a change:
Thunk
toInterpolation
to focus its name on its useChunk
toDecoded
for the same reasonJim re-read previous discussions, made a couple of passes through it, and proposes the following code.