predicting function calls?
Roy Smith
roy at panix.com
Wed Dec 28 09:28:18 EST 2005
In article <864q4tdbfe.fsf at bhuda.mired.org>, Mike Meyer <mwm at mired.org>
wrote:
> Fnorb (a pure-Python CORBA orb) dealt with this by not allowing
> attributes per se. Instead, it provided _get_AttributeName and
> _set_AttributeName as appropriate for each attribute in the IDL. Doing
> this means that *everything* you hand back from __getattr__ is going
> to be a callable, and presumably called at some point.
That's exactly what the low-level C/C++ API does in the system I'm working
with. It is, unfortunately, not the interface that's exposed by the serial
protocol.
More information about the Python-list
mailing list