Overview of PyString implementation
masterPyString is a feature in Gonja that attempts to provide string manipulation behavior as similar as possible to Python 3's string.Formatter and standard string methods. It is designed to bridge the gap for developers moving from Python to Gonja templates.
Key Characteristics
- Python 3 Parity: The implementation targets Python 3.X behavior. Python 2.X
(string % dict)compatibility is explicitly out of scope. - Dialects: Because Python implementations can vary between versions, Gonja supports "dialects" via feature flags to achieve direct parity with specific Python versions.