On Friday, Nov 2nd 2007 at 14:14 -, quoth matthias:
=>Howdy !
=>
=>I started using the assert() stmt and found it quite useful :-) I
=>have only one problem: I don't
=>know how to turn them off again.
=>
=>I know that "-O" turns off assertions in general. However, how do I
=>pass thus param
On Nov 2, 11:22 pm, Carl Banks <[EMAIL PROTECTED]> wrote:
> On Nov 2, 2:14 pm, matthias <[EMAIL PROTECTED]> wrote:
>
> > Here is my question: How do I maintain debug / release builds that
> > allow me to switch
> > debug stmts, like assert, on / off ?
>
> If you want to distribute a single-file op
On Nov 2, 2:14 pm, matthias <[EMAIL PROTECTED]> wrote:
> Here is my question: How do I maintain debug / release builds that
> allow me to switch
> debug stmts, like assert, on / off ?
If you want to distribute a single-file optimized version, perhaps
embedding the Python code as a here-file in a
En Fri, 02 Nov 2007 16:53:12 -0300, matthias
<[EMAIL PROTECTED]> escribió:
> On Nov 2, 12:12 pm, "Matt McCredie" <[EMAIL PROTECTED]> wrote:
>> On 11/2/07, matthias <[EMAIL PROTECTED]> wrote:
>>
>> > I know that "-O" turns off assertions in general. However, how do I
>> > pass thus parameter to
Friday 02 of November 2007 22:07:42 matthias napisał(a):
> > check this:
> >
> > python ./assert.pyo
>
> Yes, I know that this works. Thanx. However, that's not what I was
> going for.
>
> Essentially, I am targeting a build system that allows me to build
> debug / release versions
> of my Pytho
On Nov 2, 1:29 pm, "Bart." <[EMAIL PROTECTED]> wrote:
> Friday 02 of November 2007 20:53:12 matthias napisa (a):
>
>
>
> > On Nov 2, 12:12 pm, "Matt McCredie" <[EMAIL PROTECTED]> wrote:
> > > On 11/2/07, matthias <[EMAIL PROTECTED]> wrote:
> > > > Howdy !
>
> > > > I started using the assert() stmt
Friday 02 of November 2007 20:53:12 matthias napisał(a):
> On Nov 2, 12:12 pm, "Matt McCredie" <[EMAIL PROTECTED]> wrote:
> > On 11/2/07, matthias <[EMAIL PROTECTED]> wrote:
> > > Howdy !
> > >
> > > I started using the assert() stmt and found it quite useful :-) I
> > > have only one problem: I
On Nov 2, 12:12 pm, "Matt McCredie" <[EMAIL PROTECTED]> wrote:
> On 11/2/07, matthias <[EMAIL PROTECTED]> wrote:
>
>
>
> > Howdy !
>
> > I started using the assert() stmt and found it quite useful :-) I
> > have only one problem: I don't
> > know how to turn them off again.
>
> > I know that "-O"
On 11/2/07, matthias <[EMAIL PROTECTED]> wrote:
> Howdy !
>
> I started using the assert() stmt and found it quite useful :-) I
> have only one problem: I don't
> know how to turn them off again.
>
> I know that "-O" turns off assertions in general. However, how do I
> pass thus parameter to
> p
Howdy !
I started using the assert() stmt and found it quite useful :-) I
have only one problem: I don't
know how to turn them off again.
I know that "-O" turns off assertions in general. However, how do I
pass thus parameter to
python to an executable script ?
I have tried the following:
1.
10 matches
Mail list logo