Message177076
| Author | serhiy.storchaka |
|---|---|
| Recipients | roger.serwy, serhiy.storchaka, terry.reedy |
| Date | 2012-12-07.10:02:51 |
| SpamBayes Score | -1.0 |
| Marked as misclassified | Yes |
| Message-id | <1354874571.82.0.424292740583.issue16630@psf.upfronthosting.co.za> |
| In-reply-to |
| Content | |
|---|---|
1. rpcclt.remotecall also can raise an exception.
2. I think fetch_tip() should return '' in case of exception as for non-existent arguments or for non-callables. You can add tests for this cases too.
3. "break" is a reserved word. It's not a good name for an attribute.
4. It will be better test for exception an instance of the special class and not break TC.
class Broken:
def __getattr__(self, name):
raise Exception('Broken __getattr__')
brocken = Broken()
test('brocken', '') |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2012-12-07 10:02:51 | serhiy.storchaka | set | recipients: + serhiy.storchaka, terry.reedy, roger.serwy |
| 2012-12-07 10:02:51 | serhiy.storchaka | set | messageid: <1354874571.82.0.424292740583.issue16630@psf.upfronthosting.co.za> |
| 2012-12-07 10:02:51 | serhiy.storchaka | link | issue16630 messages |
| 2012-12-07 10:02:51 | serhiy.storchaka | create | |