Yury Selivanov <yseliva...@gmail.com> added the comment: > I think the simplest thing is probably to write the warning code in Python > and stash it in Lib/_corohelper.py or something.
I'd put the helper that accepts a list of traceback-like tuples and emits a warning in warnings.py and a C function to call it in warnings.c. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue32591> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com