gnumed-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gnumed-devel] __dict__ instead of PropertySupport


From: Karsten Hilbert
Subject: [Gnumed-devel] __dict__ instead of PropertySupport
Date: Tue, 27 May 2003 15:21:39 +0200
User-agent: Mutt/1.3.22.1i

Sian,

this is IMHO a better (more Pythonic) solution. I notice that
in TestEvents you check editarea.__dict__ for "cb*". Would it
make sense to say that all "property supported" (see, I am
flexible with terminology, too) input fields must be coded to
be in editarea.__dict__['input_fields'] ? That would free you
from having to pattern match object type names.

Karsten
-- 
GPG key ID E4071346 @ wwwkeys.pgp.net
E167 67FD A291 2BEA 73BD  4537 78B9 A9F9 E407 1346




reply via email to

[Prev in Thread] Current Thread [Next in Thread]