Tag: coding style

  • “use of `continue` for control flow is discouraged”

    This comment caught my attention: https://github.com/scikit-agent/scikit-agent/pull/19#discussion_r2112768829 use of continue for control flow is discouraged. Is it? I see Guido cautions against using continue in a finally block in https://peps.python.org/pep-0008/: Use of the flow control statements return/break/continue within the finally suite of a try…finally, where the flow control statement would jump outside the finally suite, is…