Re: [python-win32] survey question: should data from database columns of type adGUID be returned as instances of class uuid?
I think the uuid module was introduced in python 2.5, might want to bear that in mind. Roger Vernon D. Cole vernondc...@gmail.com wrote in message news:CAH-ZgAeC9D+=1uybyjrztdob6bedjs8ayehrmqp-iyfwonm...@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@python.org http://mail.python.org/mailman/listinfo/python-win32 ___ python-win32 mailing list python-win32@python.org http://mail.python.org/mailman/listinfo/python-win32
Re: [python-win32] survey question: should data from database columns of type adGUID be returned as instances of class uuid?
I thought Mark approved dropping 2.4. Did I misunderstand? -- Vernon On Mon, Apr 15, 2013 at 10:04 AM, Roger Upole rup...@hotmail.com wrote: I think the uuid module was introduced in python 2.5, might want to bear that in mind. Roger Vernon D. Cole vernondc...@gmail.com wrote in message news:CAH-ZgAeC9D+=1uybyjrztdob6bedjs8ayehrmqp-iyfwonm...@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@python.org http://mail.python.org/mailman/listinfo/python-win32 ___ python-win32 mailing list python-win32@python.org http://mail.python.org/mailman/listinfo/python-win32 ___ python-win32 mailing list python-win32@python.org http://mail.python.org/mailman/listinfo/python-win32
Re: [python-win32] survey question: should data from database columns of type adGUID be returned as instances of class uuid?
Dropping 2.4 was mentioned, but only in the context if it used vc6. (It's build with VC7.) Roger Vernon D. Cole vernondc...@gmail.com wrote in message news:CAH-ZgAdRVmyO3EtwrYzgug_jvN1K57J=veqhkg0y+hs8kjv...@mail.gmail.com... I thought Mark approved dropping 2.4. Did I misunderstand? -- Vernon On Mon, Apr 15, 2013 at 10:04 AM, Roger Upole rup...@hotmail.com wrote: I think the uuid module was introduced in python 2.5, might want to bear that in mind. Roger Vernon D. Cole vernondc...@gmail.com wrote in message news:CAH-ZgAeC9D+=1uybyjrztdob6bedjs8ayehrmqp-iyfwonm...@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@python.org http://mail.python.org/mailman/listinfo/python-win32 ___ python-win32 mailing list python-win32@python.org http://mail.python.org/mailman/listinfo/python-win32 ___ python-win32 mailing list python-win32@python.org http://mail.python.org/mailman/listinfo/python-win32 ___ python-win32 mailing list python-win32@python.org http://mail.python.org/mailman/listinfo/python-win32
Re: [python-win32] survey question: should data from database columns of type adGUID be returned as instances of class uuid?
FWIW, the most recent build of pywin32 has had less 2.4 downloads (15) than 2.3 (23), so dropping 2.4 can certainly be done as soon as there is some concrete advantage. [hrm - but those download figures are suspect - I'm guessing sourceforge has recently reset them - but I think 2.4 is as dead as 2.3 is for most people] Mark On 16/04/2013 2:26 AM, Roger Upole wrote: Dropping 2.4 was mentioned, but only in the context if it used vc6. (It's build with VC7.) Roger Vernon D. Cole vernondc...@gmail.com wrote in message news:CAH-ZgAdRVmyO3EtwrYzgug_jvN1K57J=veqhkg0y+hs8kjv...@mail.gmail.com... I thought Mark approved dropping 2.4. Did I misunderstand? -- Vernon On Mon, Apr 15, 2013 at 10:04 AM, Roger Upole rup...@hotmail.com wrote: I think the uuid module was introduced in python 2.5, might want to bear that in mind. Roger Vernon D. Cole vernondc...@gmail.com wrote in message news:CAH-ZgAeC9D+=1uybyjrztdob6bedjs8ayehrmqp-iyfwonm...@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@python.org http://mail.python.org/mailman/listinfo/python-win32
Re: [python-win32] survey question: should data from database columns of type adGUID be returned as instances of class uuid?
Aside from the well known benefits of dropping a python version that is two versions behind the security patches only release, cleaner code with the try..except..finally and with changes, and also the ability of Vernon to use the uuid object in adodbapi. Regards, Michael Manfre On Mon, Apr 15, 2013 at 7:35 PM, Mark Hammond skippy.hamm...@gmail.comwrote: FWIW, the most recent build of pywin32 has had less 2.4 downloads (15) than 2.3 (23), so dropping 2.4 can certainly be done as soon as there is some concrete advantage. [hrm - but those download figures are suspect - I'm guessing sourceforge has recently reset them - but I think 2.4 is as dead as 2.3 is for most people] Mark On 16/04/2013 2:26 AM, Roger Upole wrote: Dropping 2.4 was mentioned, but only in the context if it used vc6. (It's build with VC7.) Roger Vernon D. Cole vernondc...@gmail.com wrote in message news:CAH-ZgAdRVmyO3EtwrYzgug_**jvN1K57J=veQhkG0Y+Hs8KjV2Fg@** mail.gmail.com... I thought Mark approved dropping 2.4. Did I misunderstand? -- Vernon On Mon, Apr 15, 2013 at 10:04 AM, Roger Upole rup...@hotmail.com wrote: I think the uuid module was introduced in python 2.5, might want to bear that in mind. Roger Vernon D. Cole vernondc...@gmail.com wrote in message news:CAH-ZgAeC9D+=**1UybyJrZtDob6bedJs8aYEHrMqp-** iyfwonm...@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@python.org http://mail.python.org/**mailman/listinfo/python-win32http://mail.python.org/mailman/listinfo/python-win32 ___ python-win32 mailing list python-win32@python.org http://mail.python.org/mailman/listinfo/python-win32
[python-win32] survey question: should data from database columns of type adGUID be returned as instances of class uuid?
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@python.org http://mail.python.org/mailman/listinfo/python-win32
Re: [python-win32] survey question: should data from database columns of type adGUID be returned as instances of class uuid?
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 (a...@pythoncraft.com) * http://www.pythoncraft.com/ In times like these, it helps to recall that there have always been times like these. --Paul Harvey ___ python-win32 mailing list python-win32@python.org http://mail.python.org/mailman/listinfo/python-win32