Author scotchka
Recipients scotchka
Date 2019-02-23.06:07:17
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1550902037.39.0.489582604413.issue36091@roundup.psfhosted.org>
In-reply-to
Content
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.
History
Date User Action Args
2019-02-23 06:07:17scotchkasetrecipients: + scotchka
2019-02-23 06:07:17scotchkasetmessageid: <1550902037.39.0.489582604413.issue36091@roundup.psfhosted.org>
2019-02-23 06:07:17scotchkalinkissue36091 messages
2019-02-23 06:07:17scotchkacreate