Skip to content

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

Merged
methane merged 1 commit into
python:3.8from
miss-islington:backport-0b419b7-3.8
Oct 26, 2020
Merged

[3.8] bpo-41662: Fix bugs in binding parameters in sqlite3 (GH-21998)#22290
methane merged 1 commit into
python:3.8from
miss-islington:backport-0b419b7-3.8

Conversation

@miss-islington

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

Copy link
Copy Markdown
Contributor
  • 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