Re: [Tutor] when to use properties?

2005-04-12 Thread John Ridley
things is the most pythonic: well, as always, it depends on what you are trying to achieve - if your code is not doing what you want it to do, then that is about as unpythonic as it can get :-) HTH John Ridley Send instant messages to your online friends http://uk.messenger.yahoo.com ___ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor

Re: [Tutor] problems with doctest: apparent interferance between tests (LONG)

2005-04-10 Thread John Ridley
he 'running-order' should occur. But maybe once you've begun to 'grok' doctest a little more you'll be able to shed some light on it for us! Regards John Ridley Send instant messages to your online friends http://uk.messenger.yahoo.com __

[Tutor] problems with doctest: apparent interferance between tests (LONG)

2005-04-10 Thread John Ridley
t; >>> # print "Testing interval (intentional fail)." > >>> wc = Wall_clock() > >>> del(wc) > >>> wclock = Wall_clock() As a quick hack, try adding the following line here:   >>> wclock.__del__()