This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

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:51serhiy.storchakasetrecipients: + serhiy.storchaka, terry.reedy, roger.serwy
2012-12-07 10:02:51serhiy.storchakasetmessageid: <1354874571.82.0.424292740583.issue16630@psf.upfronthosting.co.za>
2012-12-07 10:02:51serhiy.storchakalinkissue16630 messages
2012-12-07 10:02:51serhiy.storchakacreate