Skip to content

bpo-34018: Doc'd that type names of SQLite converters are case-insensitive.#8042

Merged
taleinat merged 1 commit into
python:masterfrom
sir-sigurd:sqlite-converter-case
Jul 3, 2018
Merged

bpo-34018: Doc'd that type names of SQLite converters are case-insensitive.#8042
taleinat merged 1 commit into
python:masterfrom
sir-sigurd:sqlite-converter-case

Conversation

@sir-sigurd

@sir-sigurd sir-sigurd commented Jul 2, 2018

Copy link
Copy Markdown
Contributor

@bedevere-bot

Copy link
Copy Markdown

A Python core developer has requested some changes be made to your pull request before we can consider merging it. If you could please address their requests along with any other requests in other reviews from core developers that would be appreciated.

Once you have made the requested changes, please leave a comment on this pull request containing the phrase I have made the requested changes; please review again. I will then notify any core developers who have left a review that you're ready for them to take another look at this pull request.

Comment thread Doc/library/sqlite3.rst
function for how the type detection works. Note that the case of *typename* and
the name of the type in your query must match!
function for how the type detection works. Note that *typename* and the name of
the type in your query are matched in case-insensitive manner.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Please retain the "must match" wording, e.g.: "... must match (case-insensitively)!"

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

IMHO "must match" wording was about their case and that they "must match" is already contained in The callable will be invoked for all database values that are of the type *typename*., so we need only to state that these types are compared in case-insensitive manner.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Upon re-reading, you're right!

@miss-islington

Copy link
Copy Markdown
Contributor

Thanks @sir-sigurd for the PR, and @taleinat for merging it 🌮🎉.. I'm working now to backport this PR to: 2.7, 3.6, 3.7.
🐍🍒⛏🤖

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Jul 3, 2018
…itive. (pythonGH-8042)

(cherry picked from commit 831c297)

Co-authored-by: Sergey Fedoseev <fedoseev.sergey@gmail.com>
@bedevere-bot

Copy link
Copy Markdown

GH-8065 is a backport of this pull request to the 3.7 branch.

@bedevere-bot

Copy link
Copy Markdown

GH-8066 is a backport of this pull request to the 2.7 branch.

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Jul 3, 2018
…itive. (pythonGH-8042)

(cherry picked from commit 831c297)

Co-authored-by: Sergey Fedoseev <fedoseev.sergey@gmail.com>
miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Jul 3, 2018
…itive. (pythonGH-8042)

(cherry picked from commit 831c297)

Co-authored-by: Sergey Fedoseev <fedoseev.sergey@gmail.com>
@bedevere-bot

Copy link
Copy Markdown

GH-8067 is a backport of this pull request to the 3.6 branch.

@sir-sigurd
sir-sigurd deleted the sqlite-converter-case branch July 3, 2018 12:03
@taleinat taleinat added the docs Documentation in the Doc dir label Jul 3, 2018
taleinat pushed a commit that referenced this pull request Jul 3, 2018
…itive. (GH-8042) (GH-8065)

(cherry picked from commit 831c297)

Co-authored-by: Sergey Fedoseev <fedoseev.sergey@gmail.com>
taleinat pushed a commit that referenced this pull request Jul 3, 2018
…itive. (GH-8042) (GH-8067)

(cherry picked from commit 831c297)

Co-authored-by: Sergey Fedoseev <fedoseev.sergey@gmail.com>
taleinat pushed a commit that referenced this pull request Jul 3, 2018
…itive. (GH-8042) (GH-8066)

(cherry picked from commit 831c297)

Co-authored-by: Sergey Fedoseev <fedoseev.sergey@gmail.com>
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