You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
assignee=Noneclosed_at=<Date2018-04-30.08:35:18.813>created_at=<Date2018-04-10.11:59:39.412>labels= ['3.7', '3.8', 'type-bug', 'library']
title='module is not displayed by cgitb.html'updated_at=<Date2018-04-30.08:35:18.715>user='https://github.com/sblondon'
The html produced by cgitb.html() does not display <module> because the square brackets are interpreted as a html tag (see the picture in attachement).
This bug occurs if the code is called directly in the module, not inside a function or a class.