Commit Graph
4 Commits
Author SHA1 Message Date
Onno Kortmann 69ea0ad43f Iteration and fetch* fixes to the sqlite3.Cursor type (#663)
- Cursor is an Iterator of Any now, and .__iter__(..) and .__next__(..)
  have been changed / made explicit to reflect this.

- .fetchall(..)/.fetchmany(..)/.fetchone(..) return (lists of) Anys
  instead of tuples.

As per discussion in PR #663, the output of fetching values from the
cursor can be customized with a custom assignment to
.row_factory. Therefore the correct return type for fetching is Any and
not tuple.
2016-12-06 08:17:21 -08:00
Onno Kortmann c4125739e5 The timeout argument to Queue.{get,put} may be None (#682)
Python 2 and 3.
2016-11-11 10:29:52 -08:00
Onno Kortmann 2d19599b68 python2: gmtime(None), localtime(None), and ctime(None) works (#662) 2016-11-11 09:33:50 -08:00
onnokort cd1ef9149b Queue.get(...) takes optional float (#661) 2016-11-05 10:43:52 -07:00