Jonas Obrist <ojiido...@gmail.com> added the comment: I've just realized the difference between the environments wasn't the operating system, but PYTHONASYNCIODEBUG. If it is set, the code works, however if it is unset the code does not work. See the updated (attached) code for reference.
---------- title: Different behavior on macos and linux (docker) with __await__ -> __await__ behaves different with or without PYTHONASYNCIODEBUG Added file: https://bugs.python.org/file47527/nta.py _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue33248> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com