Issue2826
Created on 2008-05-11 21:34 by chester, last changed 2008-05-11 21:48 by georg.brandl.
| msg66675 (view) |
Author: Chester (chester) |
Date: 2008-05-11 21:34 |
|
Please consider of removing safe_substitute() method and make the
current substitute() method act like safe_substitute() method but being
named substitute().
|
| msg66677 (view) |
Author: Georg Brandl (georg.brandl) |
Date: 2008-05-11 21:48 |
|
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.
Rejecting this RFE.
|
|
| Date |
User |
Action |
Args |
| 2008-05-11 21:48:16 | georg.brandl | set | status: open -> closed versions:
- Python 2.5, Python 2.4, Python 2.3, Python 2.2.3, Python 2.2.2, Python 2.2.1, Python 2.2, Python 2.1.2, Python 2.1.1, 3rd party nosy:
+ georg.brandl, - gvanrossum messages:
+ msg66677 resolution: rejected type: feature request |
| 2008-05-11 21:34:07 | chester | create | |
|