Message245414
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. |
|
Date |
User |
Action |
Args |
2015-06-16 01:27:46 | martin.panter | set | recipients:
+ martin.panter, gvanrossum, ncoghlan, scoder, vstinner, asvetlov, Yury.Selivanov, Ben.Darnell, yselivanov |
2015-06-16 01:27:45 | martin.panter | set | messageid: <1434418065.81.0.0861155583966.issue24400@psf.upfronthosting.co.za> |
2015-06-16 01:27:45 | martin.panter | link | issue24400 messages |
2015-06-16 01:27:44 | martin.panter | create | |
|