[Python-Dev] PEP 362: 4th edition

Steven D'Aprano steve at pearwood.info
Sat Jun 16 00:38:09 CEST 2012


Yury Selivanov wrote:
> Hello,
>> The new revision of PEP 362 has been posted:
> http://www.python.org/dev/peps/pep-0362/

> Open questions:
>> 1. Should we keep 'Parameter.implemented' or not. *Please vote*

-0.5
It is easier to add it later if it is needed, then to take it away if not needed.
> 2. Should 'Signature.format()' instead of 7 or so arguments accept
> just a SignatureFormatter class, that implements all the formatting
> logic, that is easy to override?

-1
It is easier to pass different arguments to a function than it is to subclass 
and modify a class.
-- 
Steven


More information about the Python-Dev mailing list

AltStyle によって変換されたページ (->オリジナル) /