Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

This project is archived and is in readonly mode.

Review copy out

#36

Currenty _pq_copy_out_v3 is using PyObject_CallFunction(func, "s#", buffer, len) to pass data read from the db to the file: this implies utf8 encoding, so would break on different client encodings.

Shall we pass unicode or bytes? Shall we check if the file has an encoding?

Reported by Daniele Varrazzo · January 23rd, 2011 @ 11:32 PM

State: resolved
Milestone: python3
Assigned to: nobody

Activity

  1. Daniele Varrazzo
    Daniele Varrazzo
    • State changed from open to resolved

    Fixed checking if the file implements io.TextIOBase (both in Py2 where available and in Py3).

    February 5th, 2011 @ 02:40 PM