Diez B. Roggisch wrote:
>
> If you don't handle the exceptions, exactly what you seem to want will
> happen - you will see the interpreter stop, and why.
>
> All you did was to take the unpythonic (and un-javaic and un-C#ic) road
> to transform an exception to a returncode. But that has nothing to
vizcayno schrieb:
> Diez B. Roggisch ha escrito:
>
>> vizcayno schrieb:
>>> Hello:
>>> Need your help in the "correct" definition of the next function. If
>>> necessary, I would like to know about a web site or documentation that
>>> tells me about best practices in defining functions, especially
vizcayno a écrit :
> Hello:
> Need your help in the "correct" definition of the next function. If
> necessary, I would like to know about a web site or documentation that
> tells me about best practices in defining functions, especially for
> those that consider the error exceptions management.
> I
Thank you for your guidelines and for changing my mind. I am trying to
do my best in generating good code and, in that attempt ... I only know
that nothing know.
Regards.
--
http://mail.python.org/mailman/listinfo/python-list
At Monday 8/1/2007 10:25, vizcayno wrote:
However, what happens when the error is due to data error. Or when the
program is reading many files to save data into a database and one or
two files have problems with data format. I would like to keep the
program running (using exception in a controll
Diez B. Roggisch ha escrito:
> vizcayno schrieb:
> > Hello:
> > Need your help in the "correct" definition of the next function. If
> > necessary, I would like to know about a web site or documentation that
> > tells me about best practices in defining functions, especially for
> > those that con
Diez B. Roggisch ha escrito:
> vizcayno schrieb:
> > Hello:
> > Need your help in the "correct" definition of the next function. If
> > necessary, I would like to know about a web site or documentation that
> > tells me about best practices in defining functions, especially for
> > those that con
Martin v. Löwis ha escrito:
> vizcayno schrieb:
> > Need your help in the "correct" definition of the next function. If
> > necessary, I would like to know about a web site or documentation that
> > tells me about best practices in defining functions, especially for
> > those that consider the er
vizcayno schrieb:
> Hello:
> Need your help in the "correct" definition of the next function. If
> necessary, I would like to know about a web site or documentation that
> tells me about best practices in defining functions, especially for
> those that consider the error exceptions management.
> I
Frank Millman schrieb:
> If there is something wrong with the SQL statement, I do not want to
> crash the server, I want to notify the client that there was something
> wrong, so that the offending module can be corrected and reloaded.
Right. In a distributed system, you should propagate the error
Martin v. Löwis wrote:
> vizcayno schrieb:
> > Need your help in the "correct" definition of the next function. If
> > necessary, I would like to know about a web site or documentation that
> > tells me about best practices in defining functions, especially for
> > those that consider the error ex
vizcayno schrieb:
> Need your help in the "correct" definition of the next function. If
> necessary, I would like to know about a web site or documentation that
> tells me about best practices in defining functions, especially for
> those that consider the error exceptions management.
I agree with
vizcayno wrote:
> Hello:
> Need your help in the "correct" definition of the next function. If
> necessary, I would like to know about a web site or documentation that
> tells me about best practices in defining functions, especially for
> those that consider the error exceptions management.
> I h
Hello:
Need your help in the "correct" definition of the next function. If
necessary, I would like to know about a web site or documentation that
tells me about best practices in defining functions, especially for
those that consider the error exceptions management.
I have the next alternatives but
14 matches
Mail list logo