[Python-ideas] PEP 484 (Type Hints) -- second draft

Guido van Rossum guido at python.org
Tue Mar 24 17:42:19 CET 2015


On Mon, Mar 23, 2015 at 7:59 PM, Greg <greg.ewing at canterbury.ac.nz> wrote:

> On 24/03/2015 11:35 a.m., Guido van Rossum wrote:
>
>> when you use an
>> if-expression, there's no way to shut it up!
>>
>
> Maybe an if-expression should assume the union type, then?
>

This was flagged as a mypy bug, but the resolution is still up in the air:
https://github.com/JukkaL/mypy/issues/622

-- 
--Guido van Rossum (python.org/~guido)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20150324/4ad532a1/attachment-0001.html>


More information about the Python-ideas mailing list