Jonas Obrist <> 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:

Python tracker <>
Python-bugs-list mailing list

Reply via email to