[Python-ideas] "Sum" Type hinting [was: Type hinting for path-related functions]

Guido van Rossum guido at python.org
Tue May 17 01:56:05 EDT 2016

Hmm... In Java there is a form of syntactic sugar that automatically deals
with such boxes called auto-(un)boxing, IIUC. So I still think it can be
called syntactic sugar.

On Monday, May 16, 2016, Greg Ewing <greg.ewing at canterbury.ac.nz> wrote:

> Guido van Rossum wrote:
>> I know. But this could be considered syntactic sugar.
> I don't think it is just syntactic sugar. There is
> a real difference between having a box containing
> either an apple or a banana, and having just an
> apple or a banana.
> --
> Greg
> _______________________________________________
> Python-ideas mailing list
> Python-ideas at python.org
> https://mail.python.org/mailman/listinfo/python-ideas
> Code of Conduct: http://python.org/psf/codeofconduct/

--Guido (mobile)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20160516/28885394/attachment.html>

More information about the Python-ideas mailing list