comparison engine/extensions/pychan/exceptions.py @ 329:aca5744f017a

Added fast path for Widget.findChild(name=name). Roughly 10x faster.
author phoku@33b003aa-7bff-0310-803a-e67f0ece8222
date Mon, 24 Aug 2009 10:01:06 +0000
parents 54bfd1015b35
children 48c99636453e
comparison
equal deleted inserted replaced
328:d8bcff5f7222 329:aca5744f017a
1 # coding: utf-8 1 # -*- coding: utf-8 -*-
2 2
3 class PyChanException(Exception): 3 class PyChanException(Exception):
4 """ 4 """
5 Base exception class for PyChan. 5 Base exception class for PyChan.
6 All exceptions raised by PyChan derive from this. 6 All exceptions raised by PyChan derive from this.
31 31
32 class PrivateFunctionalityError(RuntimeError): 32 class PrivateFunctionalityError(RuntimeError):
33 """ 33 """
34 Exception raised if private attributes/functions are used. 34 Exception raised if private attributes/functions are used.
35 """ 35 """
36 pass 36
37 class StopTreeWalking(StopIteration):
38 """
39 Internal exception used to abort iteration over the widget tree.
40 """