summaryrefslogtreecommitdiff
path: root/lib/extras.py
diff options
context:
space:
mode:
authorDaniele Varrazzo <daniele.varrazzo@gmail.com>2012-09-19 16:32:57 +0100
committerDaniele Varrazzo <daniele.varrazzo@gmail.com>2012-09-19 16:32:57 +0100
commit7386b8327cf4b77666a67e150ce660bf4ff489b6 (patch)
treecba22a5878377bf821e308a5445ce3c53ad3c5ba /lib/extras.py
parentd963b478e27557dab74028b4fd7caf5ebe5f9f44 (diff)
downloadpsycopg2-7386b8327cf4b77666a67e150ce660bf4ff489b6.tar.gz
Dropped keywords passthrough in Json adapter
Pass a dumps function instead. Allow customizing by either arg passing or subclassing. The basic Json class now raises ImportError on getquoted() if json is not available, thus allowing using a customized Json subclass even when the json module is not available.
Diffstat (limited to 'lib/extras.py')
0 files changed, 0 insertions, 0 deletions