Skip to content

Conversation

@erlend-aasland
Copy link
Contributor

@erlend-aasland erlend-aasland commented Aug 31, 2022

  • use dict comprehension
  • use doctest iso. testcode, for visualising the
    effect of the row factory
  • SELECT with multiple columns, so the effect of
    the row factory becomes clearer

- use dict comprehension
- use doctest iso. testcode, for visualising the
  effect of the row factory
- SELECT with multiple columns, so the effect of
  the row factory becomes clearer
Copy link
Member

@CAM-Gerlach CAM-Gerlach left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A couple minor comments, otherwise LGTM 👍 It looks a lot clearer to me than before, as well as more testable, concise and following more modern coding practices.

Co-authored-by: C.A.M. Gerlach <[email protected]>
@erlend-aasland
Copy link
Contributor Author

Thanks for the reviews, CAM & Ezio!

@erlend-aasland erlend-aasland merged commit 91f40f3 into python:main Sep 1, 2022
@miss-islington
Copy link
Contributor

Thanks @erlend-aasland for the PR 🌮🎉.. I'm working now to backport this PR to: 3.10, 3.11.
🐍🍒⛏🤖

@erlend-aasland erlend-aasland deleted the sqlite-docs-dict-factory branch September 1, 2022 21:48
@bedevere-bot bedevere-bot removed the needs backport to 3.11 only security fixes label Sep 1, 2022
@bedevere-bot
Copy link

GH-96494 is a backport of this pull request to the 3.11 branch.

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Sep 1, 2022
Co-authored-by: C.A.M. Gerlach <[email protected]>
Co-authored-by: Ezio Melotti <[email protected]>
(cherry picked from commit 91f40f3)

Co-authored-by: Erlend E. Aasland <[email protected]>
@bedevere-bot
Copy link

GH-96495 is a backport of this pull request to the 3.10 branch.

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Sep 1, 2022
Co-authored-by: C.A.M. Gerlach <[email protected]>
Co-authored-by: Ezio Melotti <[email protected]>
(cherry picked from commit 91f40f3)

Co-authored-by: Erlend E. Aasland <[email protected]>
@bedevere-bot bedevere-bot removed the needs backport to 3.10 only security fixes label Sep 1, 2022
miss-islington added a commit that referenced this pull request Sep 1, 2022
Co-authored-by: C.A.M. Gerlach <[email protected]>
Co-authored-by: Ezio Melotti <[email protected]>
(cherry picked from commit 91f40f3)

Co-authored-by: Erlend E. Aasland <[email protected]>
miss-islington added a commit that referenced this pull request Sep 1, 2022
Co-authored-by: C.A.M. Gerlach <[email protected]>
Co-authored-by: Ezio Melotti <[email protected]>
(cherry picked from commit 91f40f3)

Co-authored-by: Erlend E. Aasland <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs Documentation in the Doc dir skip news

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants