Message334

Author mlh
Recipients
Date 2001-07-03.01:53:16
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
When executing the attached script, it looped infinitely in Jython,
but worked fine on other platforms. Or, rather - the attached
script is a "fixed" version. The line which says

   backend = self.__dict__['__try_to_get']('%sgui' % name)

originally was

   backend = self.__try_to_get('%sgui' % name)

The problem is that self.__try_to_get triggered __getitem__ which,
again, triggered the method in which the above line was found.
I cannot see any reason why __getitem__ should be triggered,
since the method __try_to_get exists, and should therefore be
used directly... Right?
History
Date User Action Args
2008-02-20 17:16:51adminlinkissue438108 messages
2008-02-20 17:16:51admincreate