4 ms·
So in short they are doing this just for it to end up in every coding style ban list?
by eddd-ddde 3y ago
So in short they are doing this just for it to end up in every coding style ban list?
- notatallshaw 3y agoBy having a well-defined syntax, it allows: * Other Python implementations to correctly and confidently implement f-strings * CPython to use its regular parser to parse f-strings rather than have a special sub-parser * Lots of edge-cases with f-string syntax to work consistently As you could have read in the discussion rather than a bad-faith comment of "they are doing this just for <bad thing>", obviously no one wants to put a lot of effort into something for it to not have any benefit at all.