diff options
| author | Xavier Morel <xmo@odoo.com> | 2017-05-09 12:16:55 +0200 |
|---|---|---|
| committer | Olivier Dony <odo@openerp.com> | 2017-08-20 23:25:54 +0200 |
| commit | 364becdab1a772566bb85672f1d9e75d685323a0 (patch) | |
| tree | 01c59af10cc8e68ef932766f920b02768545ebf6 /doc/python3.rst | |
| parent | 7dd062f83552fa8ff96224c29d60bafc001d73d3 (diff) | |
[FIX] P3: text/binary handling
* unichr -> pycompat (builtin removed from Python 3, ``chr`` has
become unicode-aware)
* Psycopg2 bytea values (binary fields) are returned as memoryviews in
P3 but buffers in P2
* Both bytes and (text) strings are conventionally iterable in
P3 (they have a __iter__ method), so fix up the exclusion pattern
for flatten
Diffstat (limited to 'doc/python3.rst')
0 files changed, 0 insertions, 0 deletions
