[Python-3000] PEP 3101 Updated

Eric Smith eric+python-dev at trueblade.com
Thu Aug 16 05:37:42 CEST 2007


Talin wrote:
> Eric Smith wrote:
>> Talin wrote:
>>> Guido expressed a definite preference for having them be first.
>>
>> I was afraid of that.  Then can we say they'll always go first?  Or is 
>> the intent really to say they can go anywhere (PEP says "typically 
>> placed")?
> 
> I can revise it to say that they always come first if that's would make 
> it easier.

That would make it easier to code, and I suspect easier to read the 
Python code that uses them.  I'll keep coding as if it says they're 
first; no sense updating the PEP until we batch up some changes.

>> The sample implementation of vformat in the PEP says they'll go last:
>>
>>               # Check for explicit type conversion
>>               field_spec, _, explicit = field_spec.partition("!")
> 
> That's a bug.
> 
> Too bad there's no unit tests for pseudo-code :)

There's a task for someone!



More information about the Python-3000 mailing list