A literal string type for Python
A literal string type for Python
Posted Apr 16, 2022 8:56 UTC (Sat) by mb (subscriber, #50428)In reply to: A literal string type for Python by tialaramex
Parent article: A literal string type for Python
The issue literal strings are trying to solve is user inputs being pasted into places where a hardcoded string is expected. That's to ensure that the program user cannot get arbitrary control over these strings.
It's not supposed to prevent the programmer from hardcoding the wrong string.
