Message309302
Currently, a generator or coroutine's repr looks like this:
>>> gen
<coroutine object f at 0x7f86c9733790>
It could instead be something like:
>>> gen
<coroutine at 0x7f86c9733790, suspended, file "/home/antoine/cpython/default/Lib/logging/__init__.py", line 123, code getLogger>
(replace "suspended" with "running" or "closed" depending on the generator's status -- i.e. gi_running and gi_frame attributes) |
|
Date |
User |
Action |
Args |
2017-12-31 19:53:29 | pitrou | set | recipients:
+ pitrou, benjamin.peterson, serhiy.storchaka, yselivanov |
2017-12-31 19:53:29 | pitrou | set | messageid: <1514750009.12.0.467229070634.issue32469@psf.upfronthosting.co.za> |
2017-12-31 19:53:29 | pitrou | link | issue32469 messages |
2017-12-31 19:53:28 | pitrou | create | |
|