Message135484
Python should explain AttributeError in the same way when it's raised by the interpreter. The with: statement below should raise the second AttributeError, not the first.
import transaction
with transaction: pass
>>> AttributeError: __exit__
import sys
sys.__exit__
>>> AttributeError: 'module' object has no attribute '__exit__' |
|
Date |
User |
Action |
Args |
2011-05-07 17:19:48 | dholth | set | recipients:
+ dholth, benjamin.peterson |
2011-05-07 17:19:48 | dholth | set | messageid: <1304788788.72.0.636738247663.issue12022@psf.upfronthosting.co.za> |
2011-05-07 17:19:47 | dholth | link | issue12022 messages |
2011-05-07 17:19:47 | dholth | create | |
|