Message266222
This seems to be designed. From PEP343 it tells clearly:
If either of the relevant methods are not found
as expected, the interpreter will raise AttributeError, in the
order that they are tried (__exit__, __enter__).
But currently I don't find out why. |
|
Date |
User |
Action |
Args |
2016-05-24 03:55:38 | xiang.zhang | set | recipients:
+ xiang.zhang, rhettinger, ellingtonjp |
2016-05-24 03:55:37 | xiang.zhang | set | messageid: <1464062137.99.0.158563247257.issue27100@psf.upfronthosting.co.za> |
2016-05-24 03:55:37 | xiang.zhang | link | issue27100 messages |
2016-05-24 03:55:37 | xiang.zhang | create | |
|