[Python-ideas] Positional only arguments

Aaron Brady castironpi at comcast.net
Wed May 23 17:08:48 CEST 2007


> -----Original Message-----
> From: python-ideas-bounces at python.org [mailto:python-ideas-
> bounces at python.org] On Behalf Of Ron Adam
> Sent: Tuesday, May 22, 2007 9:52 PM
> 
> 
> Correction:
> 
> """I think we should let Arnaud Delobelle's decorator be developed
> further."""
> 
> 
> Sorry about that, please don't let my mistake stop you from coming up with
> more good ideas.
> 
> Sincere apologies,
>     Ron

Something like

@restrict( a=PosOnly, b=NameOnly )
def f( a, b='i', c=None ):
	...

You could reject 3102.




More information about the Python-ideas mailing list