]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
check for string_types, not str, for py2 support
authorMike Bayer <mike_mp@zzzcomputing.com>
Sun, 12 Dec 2021 16:23:07 +0000 (11:23 -0500)
committerMike Bayer <mike_mp@zzzcomputing.com>
Sun, 12 Dec 2021 16:26:23 +0000 (11:26 -0500)
commit8dafa1b19c0003b92eb9b81dd33e2989ae5e2ec2
treebe4617b35545af7c4a23d211f7164b18030b5ab7
parentaaa9b040cef9f040f53ff447b9a7a8e815e75673
check for string_types, not str, for py2 support

Fixed regression in the :func:`_engine.make_url` function used to parse URL
strings where the query string parsing would go into a recursion overflow
if a Python 2 ``u''`` string were used.

Fixes: #7446
Change-Id: I081275673e6240a52f71da7dfaaf04e6fe32cf48
doc/build/changelog/unreleased_14/7446.rst [new file with mode: 0644]
lib/sqlalchemy/engine/url.py
test/engine/test_parseconnect.py