-
-
Notifications
You must be signed in to change notification settings - Fork 31.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bpo-34018: Doc'd that type names of SQLite converters are case-insensitive. #8042
Conversation
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 |
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. |
There was a problem hiding this comment.
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)!"
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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!
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. |
…itive. (pythonGH-8042) (cherry picked from commit 831c297) Co-authored-by: Sergey Fedoseev <fedoseev.sergey@gmail.com>
GH-8065 is a backport of this pull request to the 3.7 branch. |
GH-8066 is a backport of this pull request to the 2.7 branch. |
…itive. (pythonGH-8042) (cherry picked from commit 831c297) Co-authored-by: Sergey Fedoseev <fedoseev.sergey@gmail.com>
…itive. (pythonGH-8042) (cherry picked from commit 831c297) Co-authored-by: Sergey Fedoseev <fedoseev.sergey@gmail.com>
GH-8067 is a backport of this pull request to the 3.6 branch. |
https://bugs.python.org/issue34018