On Sun, Nov 29, 2009 at 3:34 PM, Vernon Cole <vernondc...@gmail.com> wrote:
> One of the changes Adam made was to remove dozens of lines defining various
> ADO constants from adodbapi.py and place them in
> another file, ado_consts.py.
[...]
> This will break code which expects some of these constants to be attributes
> of adodbapi, such as 'adUseClient' and 'adXactBrowse'.

I'm not familiar with adodbapi, but couldn't you put "from ado_consts
import *" at the top of adodbapi and have everything still work?

(Or better, but much more work, import adodbapi, and then expose each
of the constants via a DeprecationWarning-raising object).

Cheers,
Tony
_______________________________________________
Users mailing list
Users@lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com

Reply via email to