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

Roger Upole rupole at hotmail.com
Mon Apr 15 18:04:28 CEST 2013


I think the uuid module was introduced in python 2.5, might want to bear that in mind.

    Roger

"Vernon D. Cole" <vernondcole at gmail.com> wrote in message news:CAH-ZgAeC9D+=1UybyJrZtDob6bedJs8aYEHrMqp-iyFWonmf+w at mail.gmail.com...
>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?
> --
> Vernon Cole
>


--------------------------------------------------------------------------------


> _______________________________________________
> python-win32 mailing list
> python-win32 at python.org
> http://mail.python.org/mailman/listinfo/python-win32
> 





More information about the python-win32 mailing list