Em Sáb, 2006-02-25 às 17:56 -0800, [EMAIL PROTECTED] escreveu:
> Steve Holden wrote:
> > > Some other functions rely on the AssertionError exception to indicate to
> > > the user that something went wrong instead of using a user defined
> > > exception.
> > >
> >
> > The real problem here is that y
On Sat, 25 Feb 2006 17:56:42 -0800, bonono wrote:
>
> Steve Holden wrote:
>> > Some other functions rely on the AssertionError exception to indicate to
>> > the user that something went wrong instead of using a user defined
>> > exception.
>> >
>>
>> The real problem here is that you appear to be
Steve Holden wrote:
> > Some other functions rely on the AssertionError exception to indicate to
> > the user that something went wrong instead of using a user defined
> > exception.
> >
>
> The real problem here is that you appear to be using AssertionError in
> an inappropriate way. If some call
[copied to python-list]
Olivier Langlois wrote:
> Hi Steve!
>
>>Could you outline the code that needs to be in to make the program
>
> work,
>
>>so we can assess the errors for ourselves?
>>
>
>
> There is nothing unfixable. There are some instances where the code is
> checking a function ret
[Olivier Langlois]
> > So my question is: what are the 'optimizations' that the Python
> > interpreter is doing when you specify the optimize flag and is there
> > anything I should be cautious about when using it?
Currently, -O provides no optimizations other than eliminating
assertions.
Raymon
Olivier Langlois wrote:
> Hi,
>
>
>
> This is my first post on the list. I played with the –O flag option and
> I found the hard way that it was breaking the scripts I am using because
> they rely on the assert statement that the optimize flag remove. From
> there, I tried to find more infor
Hi,
This is my first post on the list. I played with the –O
flag option and I found the hard way that it was breaking the scripts I am
using because they rely on the assert statement that the optimize flag remove. From
there, I tried to find more information on the effect that this flag