mirror of
https://github.com/psycopg/psycopg2.git
synced 2025-11-07 11:17:38 +03:00
patch from ticket #209 to check return value from PyObject_AsCharBuffer(). This fixes the segfault. (binary_quote): switch from PyObject_AsCharBuffer() to PyObject_AsReadBuffer() to support buffer objects that don't implement the bf_getcharbuf protocol. * tests/types_basic.py (TypesBasicTests.testBinary): Test round tripping of bytea buffers. Currently segfaults. |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| bugX000.py | ||
| dbapi20.py | ||
| extras_dictcursor.py | ||
| test_psycopg2_dbapi20.py | ||
| test_quote.py | ||
| test_transaction.py | ||
| types_basic.py | ||