MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/Python/comments/3k6qi8/pep_498_approved/cuwhvbk
r/Python • u/fishburne • Sep 09 '15
324 comments sorted by
View all comments
Show parent comments
1
Nobody is going to write your for loop, except to prove it can be done.
Everyone is going to stuff arbitrary expressions into f-strings. That's the whole point of them.
1 u/deong Sep 10 '15 I highly doubt a lot of people are going to be doing IO in them. The vast majority of uses will be simple unadorned variable names, with occasional expressions like {name-1}.
I highly doubt a lot of people are going to be doing IO in them. The vast majority of uses will be simple unadorned variable names, with occasional expressions like {name-1}.
1
u/stevenjd Sep 10 '15
Nobody is going to write your for loop, except to prove it can be done.
Everyone is going to stuff arbitrary expressions into f-strings. That's the whole point of them.