mal> If all you want to do is get the module into the dbm package, why
    mal> not make this explicit by requiring an import to install the extra
    mal> module ?!

    mal> import install_dbm_sqlite

    mal> which then does:

    mal> import sys, dbm
    mal> import dbm_sqlite

    mal> # Install dbm_sqlite into the dbm package
    mal> sys.modules['dbm.sqlite'] = dbm_sqlite
    mal> dbm.sqlite = dbm_sqlite

I was hoping to make migration from an external module in test to a module
distributed with Python (if it gets that far) as seamless as possible.

Skip
_______________________________________________
Python-3000 mailing list
Python-3000@python.org
http://mail.python.org/mailman/listinfo/python-3000
Unsubscribe: 
http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com

Reply via email to