Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(32645)

Unified Diff: Lib/sqlite3/dbapi2.py

Issue 10203: sqlite3.Row doesn't support sequence protocol
Patch Set: Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | Lib/sqlite3/test/factory.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
--- a/Lib/sqlite3/dbapi2.py Wed May 21 17:12:21 2014 +0300
+++ b/Lib/sqlite3/dbapi2.py Tue May 27 10:47:37 2014 +0300
@@ -22,6 +22,7 @@
import datetime
import time
+from collections.abc import Sequence
from _sqlite3 import *
@@ -50,6 +51,7 @@
sqlite_version_info = tuple([int(x) for x in sqlite_version.split(".")])
Binary = memoryview
+Sequence.register(Row)
def register_adapters_and_converters():
def adapt_date(val):
« no previous file with comments | « no previous file | Lib/sqlite3/test/factory.py » ('j') | no next file with comments »

RSS Feeds Recent Issues | This issue
This is Rietveld 894c83f36cb7+