Hi,
Both features seem very interesting, will reraiseExceptions allow us to
catch Exceptions from our own programs?
I haven't figured out a way to properly intercept an Exception (for
example, a connection error) raised by the imdbpy module from my own code
to, allow the operation to be retried, for example. I assume that setting
reraiseExceptions and catching them from my own code should work, right?
Regards,
Albert
On Saturday, March 24, 2012 4:34:41 PM UTC+1, Davide Alberani wrote:
>
> Two new small features in the mercurial/git repository:
> - "reraiseExceptions" option (can be used programmatically -
> instancing IMDb - or
> in the imdbpy.cfg configuration file) to re-raise any caught exceptions.
> Default to False, could be useful in some circumstances.
> - "timeout" option (can be used like "reraiseExceptions") to set a
> timeout in seconds
> for the http connections. By default I've set it at 30 seconds.
> Can be disabled
> entirely setting it to False or None.
>
> And an improvement:
> - better SQL statements for the creation of temporary tables (re)storing
> imdbIDs... it should work gracefully with postgresql and possibly
> other databases.
>
> As usual, please report any problem and strange behavior: I'm not too sure
> about the consequences of these changes. :-)
>
>
> --
> Davide Alberani <davide.alber...@gmail.com> [PGP KeyID: 0x465BFD47]
> http://www.mimante.net/
>
>
> ------------------------------------------------------------------------------
> This SF email is sponsosred by:
> Try Windows Azure free for 90 days Click Here
> http://p.sf.net/sfu/sfd2d-msazure
> _______________________________________________
> Imdbpy-devel mailing list
> Imdbpy-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/imdbpy-devel
>
>
------------------------------------------------------------------------------
Better than sec? Nothing is better than sec when it comes to
monitoring Big Data applications. Try Boundary one-second
resolution app monitoring today. Free.
http://p.sf.net/sfu/Boundary-dev2dev
_______________________________________________
Imdbpy-devel mailing list
Imdbpy-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/imdbpy-devel