Re: [Sqlalchemy-tickets] [sqlalchemy] #2906: Unicode/UnicodeText return str instead of unicode on M
Brought to you by:
zzzeek
|
From: sqlalchemy <mi...@zz...> - 2014-01-10 20:45:02
|
#2906: Unicode/UnicodeText return str instead of unicode on MySQL-Python 1.2.3
----------------------------------+------------------------------------
Reporter: stevejohnson | Owner:
Type: defect | Status: new
Priority: medium | Milestone:
Component: mysql | Severity: no triage selected yet
Resolution: | Keywords:
Progress State: awaiting triage |
----------------------------------+------------------------------------
Comment (by zzzeek):
see now that's a patch. I want to try seeing if i can backport that to
0.8 also. MySQL-python fixed the issue in this changeset:
https://github.com/farcepest/MySQLdb1/commit/cd44524fef63bd3fcb71947392326e9742d520e8
. It's of course only in some of their repos and is hardly documented at
all, but that's the code that fixes it. I was originally going to just do
a simple version check for 1.2.3, but as that commit says "I have no idea
how this works" in it and has no tests whatsoever, the patch I have here
adds the specific failure condition to test for, so if/when MySQL-python
regresses on this we won't be affected.
--
Ticket URL: <http://www.sqlalchemy.org/trac/ticket/2906#comment:7>
sqlalchemy <http://www.sqlalchemy.org/>
The Database Toolkit for Python
|