Message336368
the following script:
```
import sys, types
def tr(frame, event, arg):
print(frame, event, arg)
return tr
sys.settrace(tr)
```
gives the output:
```
<frame object at 0x106c5cd48> call None
<frame object at 0x106c5cd48> exception (<class 'GeneratorExit'>, GeneratorExit(), <traceback object at 0x106cc1f88>)
<frame object at 0x106c5cd48> return None
```
This is due to Lib/types.py creating an async generator for the sole purpose of getting its type. I'll remove that reference after use to prevent the above message, which is probably benign but perhaps unnerving. |
|
Date |
User |
Action |
Args |
2019-02-23 06:07:17 | scotchka | set | recipients:
+ scotchka |
2019-02-23 06:07:17 | scotchka | set | messageid: <1550902037.39.0.489582604413.issue36091@roundup.psfhosted.org> |
2019-02-23 06:07:17 | scotchka | link | issue36091 messages |
2019-02-23 06:07:17 | scotchka | create | |
|