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.

Author cheryl.sabella
Recipients berker.peksag, cheryl.sabella, docs@python, jae
Date 2017-03-30.14:20:23
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1490883623.62.0.919339863123.issue29725@psf.upfronthosting.co.za>
In-reply-to
Content
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 it like the documentation says.  fetchmany does seem to be using the size sent in as an argument or using the arraysize (which is 1) to break out of the loop early, so the default behaviour appears to be the similar to fetchone.  Please take this all with the caveat that I don't know c, so I may be missing something really obvious.  But, I can see all the other cursor attributes being changed within this module, so I expected arraysize to work in a similar way.

I did find this website which has a definition of arraysize:
http://initd.org/psycopg/docs/cursor.html#cursor.arraysize

Sorry if this is too many questions.  I've just started trying to help with documentation issues and I may have gotten in over my head.
History
Date User Action Args
2017-03-30 14:20:23cheryl.sabellasetrecipients: + cheryl.sabella, jae, docs@python, berker.peksag
2017-03-30 14:20:23cheryl.sabellasetmessageid: <1490883623.62.0.919339863123.issue29725@psf.upfronthosting.co.za>
2017-03-30 14:20:23cheryl.sabellalinkissue29725 messages
2017-03-30 14:20:23cheryl.sabellacreate