homepage

This issue tracker has been migrated to GitHub , and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author martin.panter
Recipients Ben.Darnell, Yury.Selivanov, asvetlov, gvanrossum, martin.panter, ncoghlan, scoder, vstinner, yselivanov
Date 2015年06月16日.01:27:44
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1434418065.81.0.0861155583966.issue24400@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2015年06月16日 01:27:46martin.pantersetrecipients: + martin.panter, gvanrossum, ncoghlan, scoder, vstinner, asvetlov, Yury.Selivanov, Ben.Darnell, yselivanov
2015年06月16日 01:27:45martin.pantersetmessageid: <1434418065.81.0.0861155583966.issue24400@psf.upfronthosting.co.za>
2015年06月16日 01:27:45martin.panterlinkissue24400 messages
2015年06月16日 01:27:44martin.pantercreate

AltStyle によって変換されたページ (->オリジナル) /