Re: Subtle Syntax Error

Rich Shepard <[email protected]>
Newsgroups gmane.comp.python.db.pysqlite.user
Message-ID <[email protected]>
On Thu, 21 Dec 2006, Christopher Arndt wrote:

> No! Get in the habit of using the second form (i.e. the one with the '?'
> as the placeholder)! In the code you showed, the 1st and 3rd might be ok,
> but if the value of 'gone' was provided from outside of your program, i.e.
> from a website form or similar, you're in trouble.

Chris,

   Thank you. The data come only from within the application, never from a
web client or server.

   Regardless, using the '?' form provides consistency across all modules, so
that's what I did.

Rich

-- 
Richard B. Shepard, Ph.D.               |    The Environmental Permitting
Applied Ecosystem Services, Inc.(TM)    |            Accelerator
<http://www.appl-ecosys.com>     Voice: 503-667-4517      Fax: 503-667-8863
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.