Re: [Tutor] modify values for object derived from datetime.datetime

2011-12-16 Thread rail shafigulin
On Fri, Dec 16, 2011 at 5:26 AM, Steven D'Aprano wrote: > rail shafigulin wrote: > >> i writing some code to do device testing at my work. testing is related to >> date and time, so naturally i decided to create a class that inherits from >> datetime.datetime. main reason is that i need to add, su

Re: [Tutor] modify values for object derived from datetime.datetime

2011-12-16 Thread Steven D'Aprano
rail shafigulin wrote: i writing some code to do device testing at my work. testing is related to date and time, so naturally i decided to create a class that inherits from datetime.datetime. main reason is that i need to add, subtract and compare datetime objects and datetime.datetime allows me

[Tutor] modify values for object derived from datetime.datetime

2011-12-15 Thread rail shafigulin
i writing some code to do device testing at my work. testing is related to date and time, so naturally i decided to create a class that inherits from datetime.datetime. main reason is that i need to add, subtract and compare datetime objects and datetime.datetime allows me to do that. here is the c