Message131024
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].
[0] http://hg.python.org/cpython/file/1c0cded97280/Lib/dis.py#l28 |
|
Date |
User |
Action |
Args |
2011-03-15 19:22:56 | matiasb | set | recipients:
+ matiasb, benjamin.peterson |
2011-03-15 19:22:56 | matiasb | set | messageid: <1300216976.64.0.440960210174.issue11559@psf.upfronthosting.co.za> |
2011-03-15 19:22:55 | matiasb | link | issue11559 messages |
2011-03-15 19:22:55 | matiasb | create | |
|