Message290842
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. |
|
Date |
User |
Action |
Args |
2017-03-30 14:20:23 | cheryl.sabella | set | recipients:
+ cheryl.sabella, jae, docs@python, berker.peksag |
2017-03-30 14:20:23 | cheryl.sabella | set | messageid: <1490883623.62.0.919339863123.issue29725@psf.upfronthosting.co.za> |
2017-03-30 14:20:23 | cheryl.sabella | link | issue29725 messages |
2017-03-30 14:20:23 | cheryl.sabella | create | |
|