[issue29725] sqlite3.Cursor doesn't properly document "arraysize"

2017-04-08 Thread Berker Peksag
Berker Peksag added the comment: > row_factory seems to be another parameter that can be set in the Cursor > object. > https://github.com/python/cpython/blob/master/Modules/_sqlite/cursor.c#L65 > > This can addressed in a different issue/ pr. Like I already said in msg290943,

[issue29725] sqlite3.Cursor doesn't properly document "arraysize"

2017-04-03 Thread Senthil Kumaran
Changes by Senthil Kumaran : -- resolution: -> fixed stage: needs patch -> resolved status: open -> closed type: enhancement -> behavior ___ Python tracker

[issue29725] sqlite3.Cursor doesn't properly document "arraysize"

2017-04-03 Thread Senthil Kumaran
Senthil Kumaran added the comment: New changeset 0f9ceaf322cc9358373167115fd4c21ab2d9ad50 by Senthil Kumaran in branch '3.5': bpo-29725: DOC: add text for arraysize in sqlite3.Cursor (#947) (#986) https://github.com/python/cpython/commit/0f9ceaf322cc9358373167115fd4c21ab2d9ad50 --

[issue29725] sqlite3.Cursor doesn't properly document "arraysize"

2017-04-03 Thread Senthil Kumaran
Senthil Kumaran added the comment: New changeset cb1e002c07622e027e80a3843d27a623d1617430 by Senthil Kumaran in branch '3.6': bpo-29725: DOC: add text for arraysize in sqlite3.Cursor (#947) (#985) https://github.com/python/cpython/commit/cb1e002c07622e027e80a3843d27a623d1617430 --

[issue29725] sqlite3.Cursor doesn't properly document "arraysize"

2017-04-03 Thread Senthil Kumaran
Changes by Senthil Kumaran : -- pull_requests: +1158 ___ Python tracker ___ ___

[issue29725] sqlite3.Cursor doesn't properly document "arraysize"

2017-04-03 Thread Senthil Kumaran
Changes by Senthil Kumaran : -- pull_requests: +1157 ___ Python tracker ___ ___

[issue29725] sqlite3.Cursor doesn't properly document "arraysize"

2017-04-03 Thread Senthil Kumaran
Senthil Kumaran added the comment: New changeset 02e12138000da834f23719521a011fa93763384d by Senthil Kumaran (csabella) in branch 'master': bpo-29725: DOC: add text for arraysize in sqlite3.Cursor (#947) https://github.com/python/cpython/commit/02e12138000da834f23719521a011fa93763384d

[issue29725] sqlite3.Cursor doesn't properly document "arraysize"

2017-04-03 Thread Senthil Kumaran
Senthil Kumaran added the comment: Thanks for working on this. row_factory seems to be another parameter that can be set in the Cursor object. https://github.com/python/cpython/blob/master/Modules/_sqlite/cursor.c#L65 This can addressed in a different issue/ pr. -- nosy: +orsenthil

[issue29725] sqlite3.Cursor doesn't properly document "arraysize"

2017-04-01 Thread Cheryl Sabella
Cheryl Sabella added the comment: Thank you so much for being patient with me and explaining that. -- ___ Python tracker ___

[issue29725] sqlite3.Cursor doesn't properly document "arraysize"

2017-04-01 Thread Cheryl Sabella
Changes by Cheryl Sabella : -- pull_requests: +1129 ___ Python tracker ___ ___

[issue29725] sqlite3.Cursor doesn't properly document "arraysize"

2017-03-31 Thread Berker Peksag
Berker Peksag added the comment: > There is another attribute called row_factory in the cursor structure > that isn't in the docs. There is a row_factory defined in the docs, > but that one is for the connection structure. Should it be added under > cursor as well? Thank you for working on

[issue29725] sqlite3.Cursor doesn't properly document "arraysize"

2017-03-31 Thread Cheryl Sabella
Cheryl Sabella added the comment: Hi Aviv, Thank you so much for explaining that! It's obvious to me now. It wasn't marked as READ ONLY in the program, so of course it would set by the caller. I'll be able to document that. I still have the question about this line in fetchall - " Note

[issue29725] sqlite3.Cursor doesn't properly document "arraysize"

2017-03-31 Thread Aviv Palivoda
Aviv Palivoda added the comment: Hi Cheryl, the arraysize value can be set by doing: >>> cursor.array = 5 For example I can do the following >>> import sqlite3 >>> s = sqlite3.connect(":memory:") >>> s.execute("create table a(a,b)") >>> s.execute("insert into a(a,b) values (1,2)") >>>

[issue29725] sqlite3.Cursor doesn't properly document "arraysize"

2017-03-30 Thread Aviv Palivoda
Changes by Aviv Palivoda : -- nosy: +palaviv ___ Python tracker ___ ___ Python-bugs-list

[issue29725] sqlite3.Cursor doesn't properly document "arraysize"

2017-03-30 Thread Cheryl Sabella
Cheryl Sabella added the comment: I wanted to try to work on the documentation for this, but I had some questions. I looked at: https://github.com/python/cpython/blob/master/Modules/_sqlite/cursor.c And I don't see arraysize being set to anything other than 1. I also don't see fetchall using

[issue29725] sqlite3.Cursor doesn't properly document "arraysize"

2017-03-15 Thread Berker Peksag
Changes by Berker Peksag : -- keywords: +easy nosy: +berker.peksag stage: -> needs patch type: -> enhancement versions: +Python 3.5, Python 3.6, Python 3.7 ___ Python tracker

[issue29725] sqlite3.Cursor doesn't properly document "arraysize"

2017-03-05 Thread Jürgen A . Erhard
New submission from Jürgen A. Erhard: It's an attribute mentioned in fetchmany and fetchall, but it's not in the list with those two, but it should be, since the section says "A Cursor instance has the following attributes and methods." and it is an attribute. -- assignee: docs@python