[Python-3000] PEP 3124 - more commentary

Joel Bender jjb5 at cornell.edu
Tue May 15 17:31:05 CEST 2007

>      @abstract
>      def range(*args:3):
>          ...
> then that would be best.  I propose, therefore, that we require an 
> integer annotation on the *args to enable positional dispatching.

I thought there was already a proposal to do something like this:

        def range(x, y, z, *):

So there was a specific flag that there are no more positional 
arguments.  Even in an abstract function definition they would at least 
be labeled, which is a good thing.


More information about the Python-3000 mailing list