[Python-ideas] How assignment should work with generators?

Guido van Rossum guido at python.org
Tue Nov 28 14:50:53 EST 2017

On Tue, Nov 28, 2017 at 11:44 AM, Kirill Balunov <kirillbalunov at gmail.com>

> Although I have never used Python 2, the idea to distinguish fixed-sized
> and something lazy, even for Python 4, reminds me of the transition from
> str-unicode to the present state of affairs, but with much higher impact.To
> be honest, I do not like some aspects of how Python 2 issue has been
> resolved (especially bytes part) but it is another topic.

Since Python 4 came up, I'd like to make something clear. Python 4 is *not*
going to be a release where we break compatibility with a whole bunch of
things at once. Basically if you think you'll need to wait for Python 4 to
get your favorite change to the language, you can forget it. You need to
come up with a plan to introduce the change without breaking existing code
or at least a clear deprecation schedule.

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

More information about the Python-ideas mailing list