- attached sqlalchemy-url.diff
make_url in sqlalchemy.engine.url is not resilient to unicode values
Issue #188
resolved
The following patch fixes the problem:
Index: url.py
--- url.py (revision 1504) +++ url.py (working copy) @@ -42,7 +42,7 @@
def make_url(name_or_url): - if isinstance(name_or_url, str): + if isinstance(name_or_url, str) or isinstance(name_or_url, unicode): return _parse_rfc1738_args(name_or_url) else: return name_or_url
Comments (2)
-
Account Deleted -
repo owner - changed status to resolved
thanks, committed in changeset:1553
- Log in to comment
Patch. Didn't realize it wouldn't format properly in the comment box.