[Python-3000] Open Issues for string.format PEP

Talin talin at acm.org
Mon Apr 24 19:47:10 CEST 2006


Jim Jewett <jimjjewett <at> gmail.com> writes:

> 
> On 4/22/06, Talin <talin <at> acm.org> wrote:
> > Here's a condensed list of the open issues that have been raised by people
> > so far:
> 
> I'm not sure whether this was raised explicitly, but Ian at least
> mentioned it:  Are they keys to the dictionary in some way restricted?
> 
> For instance, I think it would be reasonable to say that only valid
> names (or possibly expressions starting with a valid name) would be
> looked up in the dictionary, as a way of explaining why {0} means
> position zero, rather than dict['0'].

Think 'keyword arguments', not 'dict keys'. You can't call a function with '0'
as a keyword.

-- Talin




More information about the Python-3000 mailing list