Message10071
The following code fails with an infinite recursion in Jython 2.7. It works well on CPython. The problem is apparent in SQLAlchemy's SortedSet implementation.
class TestSet(set):
def difference_update(self, other):
set.difference_update(self, other)
return self
__isub__ = difference_update
a = TestSet('a')
print a.difference_update(a) # inifinite recursion |
|
Date |
User |
Action |
Args |
2015-05-21 05:48:51 | jdemoor | set | recipients:
+ jdemoor |
2015-05-21 05:48:51 | jdemoor | set | messageid: <1432187331.57.0.820848153085.issue2357@psf.upfronthosting.co.za> |
2015-05-21 05:48:51 | jdemoor | link | issue2357 messages |
2015-05-21 05:48:50 | jdemoor | create | |
|