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/2017-September/149433.html below:

[Python-Dev] PEP 559 - built-in noop()

[Python-Dev] PEP 559 - built-in noop() [Python-Dev] PEP 559 - built-in noop()Antoine Pitrou solipsis at pitrou.net
Sat Sep 9 16:35:34 EDT 2017
On Sat, 9 Sep 2017 11:46:30 -0700
Barry Warsaw <barry at python.org> wrote:
> 
> Rationale
> =========
> 
> It is trivial to implement a no-op function in Python.  It's so easy in fact
> that many people do it many times over and over again.  It would be useful in
> many cases to have a common built-in function that does nothing.

You forgot to mention the advantage of battle-testing the noop()
function on our buildbot fleet!  You don't want to compromise your
application code with a weak noop() function.

> The C built-in implementation is available as a pull request.

Does it guarantee reentrancy?

Regards

Antoine.


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