Skip to content

[3.8] bpo-41662: Fix bugs in binding parameters in sqlite3 (GH-21998) #22290

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

Merged
merged 1 commit into from
Oct 26, 2020

Conversation

miss-islington
Copy link
Contributor

@miss-islington miss-islington commented Sep 17, 2020

  • When the parameters argument is a list, correctly handle the case
    of changing it during iteration.
  • When the parameters argument is a custom sequence, no longer
    override an exception raised in __len__().
    (cherry picked from commit 0b419b7)

Co-authored-by: Serhiy Storchaka storchaka@gmail.com

https://bugs.python.org/issue41662

* When the parameters argument is a list, correctly handle the case
  of changing it during iteration.
* When the parameters argument is a custom sequence, no longer
  override an exception raised in ``__len__()``.
(cherry picked from commit 0b419b7)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
@methane methane merged commit a053a7e into python:3.8 Oct 26, 2020
@miss-islington miss-islington deleted the backport-0b419b7-3.8 branch October 26, 2020 05:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type-bug An unexpected behavior, bug, or error
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants