On 15 September 2016 at 11:46, אלעזר <[email protected]> wrote:

> And that thread is only about variance. What about the generic syntax?
>

 If you mean code like this:

    class Container[+T]:
        @abstractmethod
        def __contains__(self, x: T) -> bool: ...

then there is little chance that this will be accepted because it requires
changes to Python syntax.
You have how much friction PEP 526 caused, here it will be even more.


> ‪On Thu, Sep 15, 2016 at 12:44 PM ‫אלעזר‬‎ <[email protected]> wrote:‬
>
>> Does that mean that if I did, it would be reconsidered?
>>
>
Maybe, Guido will decide on this.

--
Ivan
_______________________________________________
Python-ideas mailing list
[email protected]
https://mail.python.org/mailman/listinfo/python-ideas
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to