A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2014-January/132166.html below:

[Python-Dev] Negative times behaviour in itertools.repeat for Python maintenance releases (2.7, 3.3 and maybe 3.4)

[Python-Dev] Negative times behaviour in itertools.repeat for Python maintenance releases (2.7, 3.3 and maybe 3.4)Ethan Furman ethan at stoneleaf.us
Tue Jan 28 15:18:23 CET 2014
On 01/28/2014 04:37 AM, Steven D'Aprano wrote:
> On Mon, Jan 27, 2014 at 10:06:57PM -0800, Larry Hastings wrote:
>
>> If I were writing it, it might well come out like this:
> [snip example]
>
> +1 on this wording, with one minor caveat:
>
>>     .. note:  if "times" is specified using a keyword argument, and
>>     provided with a negative value, repeat yields the object forever.
>>     This is a bug, its use is unsupported, and this behavior may be
>>     removed in a future version of Python.
>
> How about changing "may be removed" to "will be removed", he asks
> hopefully? :-)

+1

--
~Ethan~
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4