18.10.17 22:21, Koos Zevenhoven пише:
Nice! Though I'd really like a general solution that other code can easily adopt, even third-party extension libraries.
What is the more general solution? For interrupting C code you need to check signals manually, either in every loop, or in every iterator. It seems to me that the number of loops is larger than the number of iterators.
_______________________________________________ Python-ideas mailing list Python-ideas@python.org https://mail.python.org/mailman/listinfo/python-ideas Code of Conduct: http://python.org/psf/codeofconduct/