Merge lp:~chromakode/drizzle-interface/dbapi into lp:drizzle-interface
Proposed by
Max Goodhart
Status: | Merged |
---|---|
Merged at revision: | not available |
Proposed branch: | lp:~chromakode/drizzle-interface/dbapi |
Merge into: | lp:drizzle-interface |
Diff against target: |
390 lines (+120/-46) 12 files modified
interface/globals.i (+1/-1) interface/libdrizzle/column.i (+14/-14) interface/libdrizzle/connection.i (+6/-6) interface/libdrizzle/drizzle.i (+1/-1) interface/libdrizzle/result.i (+2/-2) interface/python/drizzle_exception.i (+1/-1) interface/python/libdrizzle.i (+1/-1) interface/python/row_buffered.i (+34/-9) interface/python/unicode.i (+35/-0) python/drizzle/db.py (+12/-2) python/drizzle/errors.py (+9/-5) python/tests/dbapi20.py (+4/-4) |
To merge this branch: | bzr merge lp:~chromakode/drizzle-interface/dbapi |
Related bugs: | |
Related blueprints: |
Write Python DBAPI
(Undefined)
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Max Goodhart | Needs Resubmitting | ||
Drizzle Developers | Pending | ||
Review via email:
|
Description of the change
Added typemaps and conversion code to output Python unicode objects wherever applicable. I'd like feedback on the "unicode" typedef+typemap approach. I didn't want to place a blanket "char *" typemap in case something truly needed to output bytes, but it doesn't seem like there's such an instance in the current SWIG code.
To post a comment you must log in.
Alright, that fixes up the last of the failed unit tests that don't depend on threadsafety or paramstyle. Should be ready to merge and in sync with the upcoming Boots release.