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
GitHub fields:
assignee=Noneclosed_at=<Date2011-03-15.19:43:45.882>created_at=<Date2011-03-15.18:50:26.016>labels= ['type-bug', 'tests']
title='Increase test coverage in dis module'updated_at=<Date2011-03-15.19:43:45.881>user='https://bugs.python.org/matiasb'
Updated patch following Benjamin advice (1. and 2.).
Re 3. Why is dist(None) a RuntimeError and anything else invalid TypeError?
When the dis argument is None, the last traceback is disassembled; if something different to None and that does not have code (ie. no class, method, function or bytecode) is passed, the TypeError exception is raised [0].
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
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: