You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
assignee=Noneclosed_at=<Date2008-05-11.21:48:16.829>created_at=<Date2008-05-11.21:34:07.845>labels= ['type-feature']
title='safe_substitute() and substitute()'updated_at=<Date2008-05-11.21:48:16.815>user='https://bugs.python.org/chester'
Please consider of removing safe_substitute() method and make the
current substitute() method act like safe_substitute() method but being
named substitute().
First of all, you don't say which type these methods belong to. I assume
you mean string.Template.
What good would that be? Those extra 5 characters to type shouldn't be
the problem.
Many template strings have only defined keys, and it is a programming
error if a key is not given or misspelled in the template. In this case,
substitute() is the right function.
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: