
Sept. 9, 2017
8:35 p.m.
On Sat, 9 Sep 2017 11:46:30 -0700 Barry Warsaw <barry@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.