[Python-Dev] PEP 362: 4th edition

Alexandre Zani alexandre.zani at gmail.com
Fri Jun 15 22:17:24 CEST 2012


-1 implemented
It appears to target the problem of platform-dependent parameters.
However as was discussed previously, much more common than a parameter
simply not being supported on a platform is a parameter supporting
different values on different platforms. As such, I think that it
solves too small a sub-set of the problem that it attacks to be
useful. Raising exceptions solves the problem.
Furthermore, whether a parameter is implemented or not is not properly
a part of the callable's signature. It's a part of the function's
internals.
On Fri, Jun 15, 2012 at 12:56 PM, Larry Hastings <larry at hastings.org> wrote:
> On 06/15/2012 12:50 PM, Yury Selivanov wrote:
>> Open questions:
>> 1. Should we keep 'Parameter.implemented' or not. *Please vote*
>>> +1 to keeping Parameter.implemented.
>> Let's get this over with,
>>> /arry
>> _______________________________________________
> Python-Dev mailing list
> Python-Dev at python.org
> http://mail.python.org/mailman/listinfo/python-dev
> Unsubscribe:
> http://mail.python.org/mailman/options/python-dev/alexandre.zani%40gmail.com
>


More information about the Python-Dev mailing list

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