Hi, Some times I get an AttributeError when the attribute does exist, see bellow. Why does this happen? Any clue? Thanks, Jon.
>>> dir(mst) ['ReadBrokenFiber', 'ReadZoneTemperature', 'StartStop', '__class__', '__delattr_ _', '__dict__', '__doc__', '__format__', '__getattribute__', '__hash__', '__init __', '__module__', '__new__', '__reduce__', '__reduce_ex__', '__repr__', '__seta ttr__', '__sizeof__', '__str__', '__subclasshook__', '__weakref__', 'connect', ' disconnect', 'mst', 'reconnect', 'resp'] >>> mst.StartStop <bound method FireLaser.StartStop of <FireLaser object at 0x000000000000002B>> >>> callable(mst.StartStop) True >>> mst.StartStop() Traceback (most recent call last): File "<stdin>", line 1, in <module> File "C:\Archivos de programa\IronPython 2.6\fl.py", line 40, in StartStop AttributeError: 'Master' object has no attribute 'StartStop'
_______________________________________________ Users mailing list [email protected] http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
