dbus/python proxies.py,1.2,1.3
John Palmieri
johnp at freedesktop.org
Thu May 5 11:27:36 PDT 2005
- Previous message: dbus/python Makefile.am, 1.10, 1.11 _dbus.py, 1.1, 1.2 exceptions.py,
1.1, 1.2 proxies.py, 1.1, 1.2
- Next message: dbus ChangeLog,1.766,1.767
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvs/dbus/dbus/python
In directory gabe:/tmp/cvs-serv26356/python
Modified Files:
proxies.py
Log Message:
* Fix my name in previous changelog ;)
* python/proxies.py (ProxyObject.__getattr__): add further patch
from Anthony Baxter to throw an AttributeError when python
__special__ functions are called instead of marshling them over
the bus (Bug#1685 comment 3).
Index: proxies.py
===================================================================
RCS file: /cvs/dbus/dbus/python/proxies.py,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- proxies.py 5 May 2005 18:01:45 -0000 1.2
+++ proxies.py 5 May 2005 18:27:34 -0000 1.3
@@ -23,6 +23,8 @@
def __getattr__(self, member, **keywords):
if member == '__call__':
return object.__call__
+ elif member.startswith('__') and member.endswith('__'):
+ raise AttributeError(member)
else:
iface = None
if (keywords.has_key('dbus_interface')):
- Previous message: dbus/python Makefile.am, 1.10, 1.11 _dbus.py, 1.1, 1.2 exceptions.py,
1.1, 1.2 proxies.py, 1.1, 1.2
- Next message: dbus ChangeLog,1.766,1.767
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the dbus-commit
mailing list