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