summaryrefslogtreecommitdiff
path: root/test/ext
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2013-08-02 18:21:02 -0400
committerMike Bayer <mike_mp@zzzcomputing.com>2013-08-02 18:21:02 -0400
commit268d4cfcb13d29534746484e76464f1853aa7525 (patch)
treecad9257480e740bb94881c0c18fa0ebf246f5a85 /test/ext
parent7f9becf3fbbdb33d2a9098098d240c25c0afc106 (diff)
downloadsqlalchemy-268d4cfcb13d29534746484e76464f1853aa7525.tar.gz
- after discussions with the original project folks working with zope security
proxies, they aren't overriding getattr() or setattr() at all. so all the hardcoded getattr()/setattr() is removed from collections.py. Lots of these getattr/setattr were against the attributeimpl and decorated functions and don't seem like they'd ever be needed; for a user that needs special access to a collection, we can evaulate that use case and add a single point of "unwrapping", and probably add a hook for it via InstrumentationManager so that the collection implementation isn't complicated by it.
Diffstat (limited to 'test/ext')
-rw-r--r--test/ext/test_extendedattr.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/ext/test_extendedattr.py b/test/ext/test_extendedattr.py
index a550ae4d0..7a733696a 100644
--- a/test/ext/test_extendedattr.py
+++ b/test/ext/test_extendedattr.py
@@ -61,6 +61,8 @@ class MyTypesManager(instrumentation.InstrumentationManager):
class MyListLike(list):
# add @appender, @remover decorators as needed
_sa_iterator = list.__iter__
+ _sa_linker = None
+ _sa_converter = None
def _sa_appender(self, item, _sa_initiator=None):
if _sa_initiator is not False:
self._sa_adapter.fire_append_event(item, _sa_initiator)