Message395383
The problem with this change is that it wouldn't be backward compatible. I'm not sure how many people it would affect, but probably more than zero.
>>> str.format('{ 0 }', **{' 0 ': 42})
'42'
>>> str.format('{ }', **{' ': 43})
'43'
Does that mean it can't be changed? Not necessarily, of course.
I agree it's unfortunate that we didn't specify this back with PEP 3101. |
|
Date |
User |
Action |
Args |
2021-06-09 06:57:14 | eric.smith | set | recipients:
+ eric.smith, cameron, steven.daprano |
2021-06-09 06:57:14 | eric.smith | set | messageid: <1623221834.15.0.0992680769588.issue44355@roundup.psfhosted.org> |
2021-06-09 06:57:14 | eric.smith | link | issue44355 messages |
2021-06-09 06:57:14 | eric.smith | create | |
|