[issue33651] Add get() method to sqlite3.Row class

Wilfredo Sanchez report at bugs.python.org
Sat May 26 23:34:18 EDT 2018


Wilfredo Sanchez <wsanchez at wsanchez.net> added the comment:

Well, sequence and mapping are not mutually exclusive, and sqlite3.Row does allow mapping-style indexing, which is why I expected .get() to work.

But I hear Raymond's point about all field being known, and I think that's a good point… and I agree I don't actually need .get().

Feel free to close. Thanks for the quick replies.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue33651>
_______________________________________


More information about the Python-bugs-list mailing list