Martin Panter added the comment: One problem with 2015-06-10’s patch (x86-64 Linux):
>>> async def f(): ... pass ... >>> c = f() >>> w = c.__await__() >>> w <coroutine_wrapper object at 0x7f1013130b88> >>> dir(w) TypeError: object does not provide __dir__ >>> type(w) Segmentation fault (core dumped) [Exit 139] Strangely, if I call w.__dir__() first, everything seems to start behaving properly. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue24400> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com