[issue7572] Strabge issue : cursor.commit() with sqlite

2009-12-29 Thread lakshmipathi
lakshmipathi added the comment: ok..let me put this question ,in different manner. Here is my code (example2) -- import sqlite3 def loopy(): return 'GNU' #get connection object conn = sqlite3.connect("/tmp/example2") #get curson obj. and invoke execute cur = conn.cursor(

[issue7572] Strabge issue : cursor.commit() with sqlite

2009-12-24 Thread Gerhard Häring
Gerhard Häring added the comment: Please change your test case so that it works with an in-memory database ":memory:". Then you'll also need to include a schema creation command "create table", which is missing here. Please also state which behaviour you see and which one you expect. Best is to

[issue7572] Strabge issue : cursor.commit() with sqlite

2009-12-24 Thread Benjamin Peterson
Changes by Benjamin Peterson : -- assignee: -> ghaering nosy: +ghaering ___ Python tracker ___ ___ Python-bugs-list mailing list Unsub

[issue7572] Strabge issue : cursor.commit() with sqlite

2009-12-24 Thread lakshmipathi
New submission from lakshmipathi : Hi all, I'm new user to python and sqlite, let me know if i'm wrong or it's sqlite issue.When I uncomment the line from below program it works -as expected. But even when it's commented It works for first time.-As per doc,without commit -all changes will be lost