* 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