Skip to content
murmot

Results for “python while loop example pdf code site:mail.python.org error”

  • mail.python.org

    [Tutor] Still Can't Find Timed While Loops

    While I can't recommend it's use as it's probably over your head and certainly over mine, there is some code out there for a text adventure using Twisted Python. I think the codebase is called Twisted Reality now.

  • mail.python.org

    [Python-Dev] Examples for PEP 572

    There is a tiny problem with it (and with rewriting a while loop as a > > for loop, as I like). Often the body contains not a single break.It's funny that this super convoluted snippet is shown as a good example for PEP 572. Although almost all PEP 572 examples are questionable.

  • mail.python.org

    [Python-ideas] PEP 3156 / Tulip: stopping the loop while in...

    While one could argue that stopping the loop while run_until_complete is ongoing, getting a TimeoutError doesn't feel right. I think we should detect that the loop was stopped but the future is not done and raise something like NotCompleted or FutureNotCompleted.