[Python-3000] PEP 3124 - more commentary (original) (raw)
Joel Bender jjb5 at cornell.edu
Tue May 15 17:31:05 CEST 2007
- Previous message: [Python-3000] PEP 3124 - more commentary
- Next message: [Python-3000] PEP 3124 - more commentary
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
@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:
@abstract
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.
Joel
- Previous message: [Python-3000] PEP 3124 - more commentary
- Next message: [Python-3000] PEP 3124 - more commentary
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]