Message5097
This is pretty much expected when using JDBC as MySQL treats variables
as VARBINARY, which most JDBC drivers (definitely MySQL's) return byte[]
for, so we return the Python analog, an array.array of bytes. You can
convert this to a string via bytes.tostring()
A byte array here is also currently more efficient than plain Python
strings for Jython as our str is backed by java.lang.String instead of
being a simple byte bucket like CPython's
When we change that (in Jython 3, or possibly before) we might want to
consider changing this behavior, but probably not until then |
|
Date |
User |
Action |
Args |
2009-09-04 02:25:02 | pjenvey | set | messageid: <1252031102.98.0.521189452423.issue1451@psf.upfronthosting.co.za> |
2009-09-04 02:25:02 | pjenvey | set | recipients:
+ pjenvey, kezhifeng |
2009-09-04 02:25:02 | pjenvey | link | issue1451 messages |
2009-09-04 02:25:02 | pjenvey | create | |
|