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

2017年9月09日 13:39:06 -0700

On Sat, 9 Sep 2017 11:46:30 -0700
Barry Warsaw <[email protected]> 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.
_______________________________________________
Python-Dev mailing list
[email protected]
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to