diff options
author | Daniele Varrazzo <daniele.varrazzo@gmail.com> | 2014-02-26 19:37:59 +0000 |
---|---|---|
committer | Daniele Varrazzo <daniele.varrazzo@gmail.com> | 2014-02-26 19:41:59 +0000 |
commit | 7b82be936dae074217b7c5b9cefe0ec2b227160c (patch) | |
tree | c4d0f7d449fa14ff1e592a3ec0a2cf822673dc8a /psycopg/connection_int.c | |
parent | 618f7e41de4fa0b9f40f2cf152789a088b6acd8d (diff) | |
download | psycopg2-7b82be936dae074217b7c5b9cefe0ec2b227160c.tar.gz |
Don't segfault on uninitialized cursor
It can happen with bad cursor subclasses not calling super's init. Raise
an exception instead of segfaulting.
Closes #195
Diffstat (limited to 'psycopg/connection_int.c')
0 files changed, 0 insertions, 0 deletions