Carl Banks <[EMAIL PROTECTED]> wrote:
> Perhaps the advent of with blocks will help reduce this error in the
> future.
Indeed, and to encourage its use I think this thread ought to include the
'with statement' form of the function:
from __future__ import with_statement
from contextlib import cl
On Apr 2, 9:06 am, [EMAIL PROTECTED] wrote:
> Hi,
>
> I found the following code on the net -
>
> http://mail-archives.apache.org/mod_mbox/httpd-python-cvs/200509.mbox/[EMAIL
> PROTECTED]
>
> def count(self):
> -db = sqlite.connect(self.filename,
> isolation_level=ISOLATION_LEVEL)
> -
On 2 avr, 15:22, [EMAIL PROTECTED] wrote:
> On 2 Apr, 15:15, [EMAIL PROTECTED] wrote:
>
>
>
> > On 2 Apr, 15:12, [EMAIL PROTECTED] wrote:
>
> > > On Apr 2, 3:06 pm, [EMAIL PROTECTED] wrote:
>
> > > > Hi,
>
> > > > I found the following code on the net -
>
> > > > http://mail-archives.apache.org/mod
On 2 avr, 15:12, [EMAIL PROTECTED] wrote:
> On Apr 2, 3:06 pm, [EMAIL PROTECTED] wrote:
>
>
>
> > Hi,
>
> > I found the following code on the net -
>
> > http://mail-archives.apache.org/mod_mbox/httpd-python-cvs/200509.mbox/[EMAIL
> > PROTECTED]
>
> > def count(self):
> > -db = sqlite.
On 2 avr, 18:25, Nanjundi <[EMAIL PROTECTED]> wrote:
> On Apr 2, 9:22 am, [EMAIL PROTECTED] wrote:
>
>
>
> > On 2 Apr, 15:15, [EMAIL PROTECTED] wrote:
>
> > > On 2 Apr, 15:12, [EMAIL PROTECTED] wrote:
>
> > > > On Apr 2, 3:06 pm, [EMAIL PROTECTED] wrote:
>
> > > > > Hi,
>
> > > > > I found the foll
On Apr 2, 9:22 am, [EMAIL PROTECTED] wrote:
> On 2 Apr, 15:15, [EMAIL PROTECTED] wrote:
>
>
>
> > On 2 Apr, 15:12, [EMAIL PROTECTED] wrote:
>
> > > On Apr 2, 3:06 pm, [EMAIL PROTECTED] wrote:
>
> > > > Hi,
>
> > > > I found the following code on the net -
>
> > > > http://mail-archives.apache.org/m
On 2 Apr, 15:15, [EMAIL PROTECTED] wrote:
> On 2 Apr, 15:12, [EMAIL PROTECTED] wrote:
>
>
>
> > On Apr 2, 3:06 pm, [EMAIL PROTECTED] wrote:
>
> > > Hi,
>
> > > I found the following code on the net -
>
> > > http://mail-archives.apache.org/mod_mbox/httpd-python-cvs/200509.mbox/[EMAIL
> > > PROTECT
On 2 Apr, 15:12, [EMAIL PROTECTED] wrote:
> On Apr 2, 3:06 pm, [EMAIL PROTECTED] wrote:
>
>
>
> > Hi,
>
> > I found the following code on the net -
>
> > http://mail-archives.apache.org/mod_mbox/httpd-python-cvs/200509.mbox/[EMAIL
> > PROTECTED]
>
> > def count(self):
> > -db = sqlite.
[EMAIL PROTECTED] wrote:
> Hi,
>
> I found the following code on the net -
>
> http://mail-archives.apache.org/mod_mbox/httpd-python-cvs/200509.mbox/%
> [EMAIL PROTECTED]
>
> def count(self):
> -db = sqlite.connect(self.filename,
> isolation_level=ISOLATION_LEVEL)
> -tr
On Apr 2, 3:06 pm, [EMAIL PROTECTED] wrote:
> Hi,
>
> I found the following code on the net -
>
> http://mail-archives.apache.org/mod_mbox/httpd-python-cvs/200509.mbox/[EMAIL
> PROTECTED]
>
> def count(self):
> -db = sqlite.connect(self.filename,
> isolation_level=ISOLATION_LEVEL)
> -
10 matches
Mail list logo