Re: [Python-Dev] pep 362 - 5th edition

2012年6月19日 18:31:36 -0700

On 2012年06月19日, at 9:22 PM, Yury Selivanov wrote:
> On 2012年06月19日, at 8:39 PM, Nick Coghlan wrote:
> 
>> 2. The constructor for Parameter objects should require that names for
>> positional-only parameters start with "<" and end with ">" to ensure
>> they can always be distinguished from standard parameters in signature
>> string representations and in BoundArguments.parameters
> 
> +1
Actually, can we just make positional-only parameters to render brackets
in their/Signature's __str__ methods? I think Parameter.kind should be
enough, without adding additional obstacles.
-
Yury
_______________________________________________
Python-Dev mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to