[issue21718] sqlite3 cursor.description seems to rely on incomplete statement parsing for detection

2016-08-21 Thread Tom Tanner
Tom Tanner added the comment: will the fix be backported to 2.7? -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

[issue21718] sqlite3 cursor.description seems to rely on incomplete statement parsing for detection

2016-08-21 Thread Berker Peksag
Changes by Berker Peksag : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue21718] sqlite3 cursor.description seems to rely on incomplete statement parsing for detection

2016-08-21 Thread Roundup Robot
Roundup Robot added the comment: New changeset 45ef062734d6 by Berker Peksag in branch '3.5': Issue #21718: cursor.description is now available for queries using CTEs https://hg.python.org/cpython/rev/45ef062734d6 New changeset cf18375732ae by Berker Peksag in branch 'default': Issue #21718: Mer

[issue21718] sqlite3 cursor.description seems to rely on incomplete statement parsing for detection

2016-04-02 Thread Berker Peksag
Berker Peksag added the comment: I adapted the reproducer in msg220263 and added more tests. -- nosy: +berker.peksag stage: test needed -> patch review versions: -Python 3.4 Added file: http://bugs.python.org/file42354/issue21718_tests.diff ___ Pytho

[issue21718] sqlite3 cursor.description seems to rely on incomplete statement parsing for detection

2015-08-15 Thread R. David Murray
R. David Murray added the comment: Attached is the patch ported to python2.7. However, the test doesn't fail for me before I apply (compile) the fix. -- Added file: http://bugs.python.org/file40184/f67fa9c898a4713850e16934046f0fe2cba8c44c.patch ___

[issue21718] sqlite3 cursor.description seems to rely on incomplete statement parsing for detection

2015-08-15 Thread R. David Murray
Changes by R. David Murray : -- stage: commit review -> test needed ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

[issue21718] sqlite3 cursor.description seems to rely on incomplete statement parsing for detection

2015-08-05 Thread Robert Collins
Robert Collins added the comment: @Gerhard would you like that ported to cPython for you? @Tom - I think that if the patch applies to 2.7.x we should apply it there since its very unlikely to break non-buggy code. -- nosy: +rbcollins versions: +Python 3.6 _

[issue21718] sqlite3 cursor.description seems to rely on incomplete statement parsing for detection

2015-05-23 Thread Tom Tanner
Tom Tanner added the comment: is this going to be fixed in 2.7.10? -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubsc

[issue21718] sqlite3 cursor.description seems to rely on incomplete statement parsing for detection

2015-04-05 Thread R. David Murray
R. David Murray added the comment: It looks to me like a patch that could be merged as a bug fix. -- stage: -> commit review versions: +Python 2.7, Python 3.4, Python 3.5 ___ Python tracker ___

[issue21718] sqlite3 cursor.description seems to rely on incomplete statement parsing for detection

2015-04-05 Thread Tom Tanner
Tom Tanner added the comment: Are you going to merge it into 2.7.10? -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsub

[issue21718] sqlite3 cursor.description seems to rely on incomplete statement parsing for detection

2015-01-03 Thread Gerhard Häring
Gerhard Häring added the comment: I have now committed a fix in the pysqlite project at github. https://github.com/ghaering/pysqlite/commit/f67fa9c898a4713850e16934046f0fe2cba8c44c I'll eventually merge it into the Python tree. -- assignee: -> ghaering nosy: +ghaering ___

[issue21718] sqlite3 cursor.description seems to rely on incomplete statement parsing for detection

2014-11-20 Thread R. David Murray
R. David Murray added the comment: It's more a matter of my finding time to fully research the problem and solution than an issue of reviewing the patch itself. There is also potential cross-talk with other patches involving sqllite statement parsing. Since the sqlite wrapper doesn't current

[issue21718] sqlite3 cursor.description seems to rely on incomplete statement parsing for detection

2014-11-20 Thread Tom Tanner
Tom Tanner added the comment: ping I'd appreciate a review of my patch. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Un

[issue21718] sqlite3 cursor.description seems to rely on incomplete statement parsing for detection

2014-10-16 Thread Tom Tanner
Changes by Tom Tanner : Added file: http://bugs.python.org/file36952/with2.diff ___ Python tracker ___ ___ Python-bugs-list mailing list Unsub

[issue21718] sqlite3 cursor.description seems to rely on incomplete statement parsing for detection

2014-10-16 Thread Tom Tanner
Changes by Tom Tanner : Removed file: http://bugs.python.org/file36950/with.diff ___ Python tracker ___ ___ Python-bugs-list mailing list Unsu

[issue21718] sqlite3 cursor.description seems to rely on incomplete statement parsing for detection

2014-10-16 Thread Tom Tanner
Tom Tanner added the comment: this patch fixes the bug. It parses the with WITH statement. -- keywords: +patch nosy: +tanner Added file: http://bugs.python.org/file36950/with.diff ___ Python tracker ___

[issue21718] sqlite3 cursor.description seems to rely on incomplete statement parsing for detection

2014-06-11 Thread R. David Murray
R. David Murray added the comment: It is true that the sqlite interface does not support WITH currently. It is an interesting question whether or not we could change this as a bug fix or not...I suppose it depends on whether or not it changes any behavior other than making .description work.

[issue21718] sqlite3 cursor.description seems to rely on incomplete statement parsing for detection

2014-06-11 Thread mike bayer
New submission from mike bayer: Per DBAPI and pysqlite docs, .description must be available for any SELECT statement regardless of whether or not rows are returned. However, this fails for SELECT statements that aren't simple "SELECT"s, such as those that use CTEs and therefore start out with