Matej Cepl wrote:
> Now, my question is concerned with the use of exception in SoupReader.suck.
> The idea is that when the page is not available for download, whole object
> goes up in flames, the rest of SoapReader.__init__ is skipped over, and the
> exception is then caught in reprocess.py cycle
Hi,
I have here two Python modules (see attached), where newsparser.py defines
(among other things) an object SoupReader and an exception
PageNotAvailable. This object (or its children) is then periodically
created in a loop in reprocess.py.
Now, my question is concerned with the use of exception