[issue13099] Sqlite3 & turkish locale

2011-10-04 Thread Antoine Pitrou
Antoine Pitrou added the comment: > Thanks, Antoine. Should I still try to write a regression test for it? I've had issues writing regression tests for other Turkish locale-related failures (namely, there are other bugs in some glibcs that could cause the test to fail anyway). I'm not sure it's

[issue13099] Sqlite3 & turkish locale

2011-10-04 Thread Thomas Kluyver
Thomas Kluyver added the comment: Thanks, Antoine. Should I still try to write a regression test for it? -- ___ Python tracker ___ __

[issue13099] Sqlite3 & turkish locale

2011-10-04 Thread Antoine Pitrou
Antoine Pitrou added the comment: Fixed, thank you. -- nosy: +pitrou resolution: -> fixed stage: test needed -> committed/rejected status: open -> closed versions: +Python 3.3 ___ Python tracker _

[issue13099] Sqlite3 & turkish locale

2011-10-04 Thread Roundup Robot
Roundup Robot added the comment: New changeset 469555867244 by Antoine Pitrou in branch '3.2': Issue #13099: Fix sqlite3.Cursor.lastrowid under a Turkish locale. http://hg.python.org/cpython/rev/469555867244 New changeset 652e2dacbf4b by Antoine Pitrou in branch 'default': Issue #13099: Fix sql

[issue13099] Sqlite3 & turkish locale

2011-10-04 Thread Ezio Melotti
Ezio Melotti added the comment: A patch against Lib/sqlite3/test/regression.py would be nice. -- ___ Python tracker ___ ___ Python-bu

[issue13099] Sqlite3 & turkish locale

2011-10-04 Thread Thomas Kluyver
Thomas Kluyver added the comment: What form does the test need to be in? There's a script at the redhat bug I linked that demonstrates the issue. Do I need to turn it into a function? A patch for the existing test suite? -- type: behavior -> ___ P

[issue13099] Sqlite3 & turkish locale

2011-10-04 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +ezio.melotti stage: -> test needed type: -> behavior ___ Python tracker ___ ___ Python-bugs-list

[issue13099] Sqlite3 & turkish locale

2011-10-04 Thread Thomas Kluyver
New submission from Thomas Kluyver : When using sqlite3 with the Turkish locale, cursor.lastrowid is not accessible after an insert statement if "INSERT" is upper case. I believe that the cause is that the detect_statement_kind function [1] calls the locale-dependent C function tolower(). The