|
|
|
|
|
by enriquto
2441 days ago
|
|
I meant for inline strings (i.e., typed by the programmer). This is an inoffensive change. The only possible ``accident'' is when the programmer wants to write "{x}" instead of the value of x. This is such and exceptional case that it may be best treated by forcing to escape the curly brackets. If anything, user-input strings must be treated as tainted whatever the case. |
|
1) existing uses of .format() would break:
2) existing uses of "%" formatting would break: 3) many regular expressions would break: 4) existing strings which contain uuids would break: