psycopg2-ctypes icon indicating copy to clipboard operation
psycopg2-ctypes copied to clipboard

import psycopg2.submodule doesn't work with compat

Open nanonyme opened this issue 12 years ago • 0 comments

Since compat only registers psycopg2 to sys.modules, importing submodules with full dotted path does not work. The approach of registering all psycopg2ct submodules in sys.modules as psycopg2 submodules is kinda ugly so I'm opening this bug in hope someone has better ideas on working around.

nanonyme avatar Apr 22 '12 16:04 nanonyme