1. 27 Sep, 2019 1 commit
  2. 25 Sep, 2019 3 commits
    • Xiaowu Zhang's avatar
      portal_type_class: possible to overwrite methods or properties in mixin · c9171e86
      Xiaowu Zhang authored
      Before this change, class hierarchy is like this when using mixin:
      
      class MyClass(BaseClass, Mixin1....)
      which is usually ok when classes don't override each other's
      But if we want to overwrite BaseClass's method by using mixin to do more thing,
      For example:
      
      class BaseClass(object):
        def test(self):
          print 'base test'
      
      class Mixin1(object):
        def test(self):
          super(Mixin,self).test()
          print 'mixin'
      
      I want to display 'mixin base test' when call test, but it doesn't work
      since priority of how methods are resolved is from left
      to right: BaseClass----->Mixin1, it only display 'base test'
      
      So the correct way to use mixin should be in reverse order:
      
      class MyClass(Mixin1, BaseClass)
      c9171e86
    • Jérome Perrin's avatar
      ZEO tests: wait for other nodes to register · 0d996b48
      Jérome Perrin authored
      When other nodes takes time to start they are not always registered
      when the "main" node asserts that they are there.
      We observed problems in an environment where resolving localhost (by
      DNS) takes 10 seconds.
      
      Also introduce getOtherZopeNodeList utility method that can be useful in
      other ZEO tests in ProcessingNodeTestCase
      0d996b48
    • Jérome Perrin's avatar
      ProcessingNodeTestCase: resolve conflicts on test_distributing_node · e50bcc8b
      Jérome Perrin authored
      When other zope nodes takes time to start this sometimes causes
      conflict.
      e50bcc8b
  3. 24 Sep, 2019 3 commits
  4. 23 Sep, 2019 2 commits
  5. 21 Sep, 2019 23 commits
  6. 20 Sep, 2019 6 commits
  7. 19 Sep, 2019 2 commits