Re: [DB-SIG] Iterable cursor as part of core rather than an extension in DBAPI 3

2013-10-24 Thread Vernon D. Cole
I don't think that fetchmany() or its brothers will, or should, go away. I, for one, want api3 to be backwards compatible. I suspect, however that use of the iterator will become the prevalent pattern in the future. I am +1 on iterable cursors being required for API 3. I am starting a project j

[DB-SIG] Iterable cursor as part of core rather than an extension in DBAPI 3

2013-10-24 Thread Tony Locke
Hi, in DBAPI 3 is there a plan to bring the 'iterable cursor' extension into the core? Looking at https://wiki.python.org/moin/DbApi3 I couldn't see anything. The reason I ask is that I'm noticing on PG8000 that the time taken to execute the warn() for each call to next() is significant for iterati