[python-win32] survey question: should data from database columns of type "adGUID" be returned as instances of class "uuid"?

Aahz aahz at pythoncraft.com
Sun Apr 14 13:55:16 CEST 2013


On Sun, Apr 14, 2013, Vernon D. Cole wrote:
>
> I am doing a major update to adodbapi, and have an ideal opportunity to add
> a new feature ... but I want to see whether it is a desirable feature...
> 
> When reading data from database columns of decimal or date-time data, I
> return them to the user as Python decimal.decimal or datetime.datetime
> instances.  I could do the same thing when reading of column of UUID data
> -- Windows data type adGUID -- and return it as an instance of the class
> "uuid".
> 
> Would that be a good idea, or a bad idea?

Keeping in mind that I have zero experience with adodbapi and that most
of my development experience has been more Linux-based (with a fair
amount of general DB work), this certainly falls into the kind of
behavior that I think would make using a framework easier, so +1 unless
someone has a specific objection.
-- 
Aahz (aahz at pythoncraft.com)           <*>         http://www.pythoncraft.com/

"In times like these, it helps to recall that there have always been
times like these."  --Paul Harvey


More information about the python-win32 mailing list