This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: Python breakdown in windows (uses apsw)
Type: Stage:
Components: Interpreter Core Versions: Python 2.4
process
Status: closed Resolution: works for me
Dependencies: Superseder:
Assigned To: Nosy List: ben-hin, georg.brandl
Priority: normal Keywords:

Created on 2005-10-03 15:47 by ben-hin, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
crash.py ben-hin, 2005-10-03 15:47 Makes python crash with apsw.
Messages (2)
msg26495 - (view) Author: Benjamin Hinrichs (ben-hin) Date: 2005-10-03 15:47
I got this breakdown after a coding error. My mistake
is pretty obvious, but the fact that the python crashes
might interest you. Not sure it's not a problem with
apsw though.

I send a command:
cur.execute("select * from tasks where anum=?")

Later corrected to:
cur.execute("select * from tasks where anum=?",(yadda,))

I've included the source which breaks python for me.
msg26496 - (view) Author: Georg Brandl (georg.brandl) * (Python committer) Date: 2005-10-03 16:25
Logged In: YES 
user_id=1188172

With the latest version of apsw, this doesn't happen for me.
If it still does for you, I would suspect apsw though since
it is a C extension and as such prone for subtle programming
errors.
History
Date User Action Args
2022-04-11 14:56:13adminsetgithub: 42443
2005-10-03 15:47:21ben-hincreate