diff options
| author | Jan UrbaĆski <wulczer@wulczer.org> | 2010-03-31 01:43:07 +0200 |
|---|---|---|
| committer | Federico Di Gregorio <fog@initd.org> | 2010-04-05 11:41:32 +0200 |
| commit | 01799e9137077e56220425faa245fdf5ac3a30e9 (patch) | |
| tree | f9d0d43fe53347f617f1769447094160e0df3741 /psycopg/cursor.h | |
| parent | d8ab5ac8a1f15d9f3e33ac54942b04bb52ca161f (diff) | |
| download | psycopg2-01799e9137077e56220425faa245fdf5ac3a30e9.tar.gz | |
Make asynchronous connections produce asynchronous cursors by default
Drop the async kwarg from cursor.execute(), cursors created by
asynchronous connections will be asynchronous by default, ones created
by synchronous connections will be synchronous.
Mind that this might break third party subclasses of
psycopg2.extensions.cursor, if they try to chain to the superclass in
their execute() implementation and are passing the async kwarg. The
example cursors in psycopg2.extras have been fixed no to do that.
Diffstat (limited to 'psycopg/cursor.h')
0 files changed, 0 insertions, 0 deletions
