[Python-ideas] + operator on generators

Sven R. Kunze srkunze at mail.de
Wed Jun 28 08:18:23 EDT 2017


On 28.06.2017 14:00, Koos Zevenhoven wrote:
> The programmer needs to be well aware of whether the resulting object 
> is a Sequence or 'just' a generator.

Could you elaborate more on **why**?

Regards,
Sven

PS: I consider this proposal to be like allowing adding floats and ints 
together. If I don't know if there was a float in the sum, don't know if 
my result will be a float.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20170628/cda6481c/attachment.html>


More information about the Python-ideas mailing list