A RetroSearch Logo

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

Search Query:

Showing content from http://mail.python.org/pipermail/python-dev/2014-January/132127.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)Mark Lawrence breamoreboy at yahoo.co.uk
Mon Jan 27 10:47:22 CET 2014
On 27/01/2014 01:52, Nick Coghlan wrote:
>
> In 3.5, that will be passing None, rather than -1. For those proposing
> to change the maintenance releases, how should a user relying on this
> misbehaviour update their code to handle it?
>

I'm -1 on using None.  The code currently rejects anything except an 
int.  The docs don't say anything about using None, except in the 
"equivalent to" section, which is also the only place where it looks as 
if times can be a keyword argument.

-- 
My fellow Pythonistas, ask not what our language can do for you, ask 
what you can do for our language.

Mark Lawrence

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