[issue1686] string.Template.safe_substitute fail when overriding pattern attribute

2007-12-21 Thread Hagai Gold
New submission from Hagai Gold: When overriding the pattern attribute on string.Template, with your own delimiters, exmp: change the ${..} to $@@..@@, safe_substitute method fail to restore the new delimiters, in case of keyerror. Problem is that the method return a specific value

[issue1686] string.Template.safe_substitute fail when overriding pattern attribute

2007-12-21 Thread Hagai Gold
Changes by Hagai Gold: -- components: Library (Lib) files: string.py.diff nosy: hagaigold severity: normal status: open title: string.Template.safe_substitute fail when overriding pattern attribute versions: Python 3.0 Added file: http://bugs.python.org/file9024/string.py.diff