1. 20 Sep, 2012 14 commits
    • Denis Bilenko's avatar
      util/set_version.py: switch from hg to git · 5b7cd9bb
      Denis Bilenko authored
      5b7cd9bb
    • Denis Bilenko's avatar
      update .gitignore · 21e4be8a
      Denis Bilenko authored
      [ci skip]
      21e4be8a
    • Denis Bilenko's avatar
      remove util/stat.py · 8f9dca93
      Denis Bilenko authored
      we no longer stores test results in a [sqlite] database
      8f9dca93
    • Denis Bilenko's avatar
      many fixes for the testsuite; rewrite testrunner · d98833c9
      Denis Bilenko authored
      The stdlib tests are now included in the repository. since ubuntu
      does not ships them in any package.
      
      The testrunner is completely rewritten. When testrunner.py was originally written
      a lot of tests were failing and some of them were hanging. Thus testrunner.py
      was focused on proving good reports and could retry the tests with a particular
      test case disabled if it detected time out. Now testrunner is somewhat simpler as
      we mostly concerned whether the tests pass or not. It also runs the tests
      concurrently, to improve the speed at which we get the results back from travis-ci.
      Some tests time execution and assert certain timings, this can fail, especially when
      the number of workers is bigger than cpu count. The new testrunner will re-try
      tests that failed in a sequential run, when nothing else is run. If this fixes
      the problem, the test is reported as "succeeded, but only on the second try" and does
      reports the whole suite as failed.
      
      .travis.yml is fixed to download binary packages for all dependencies and use system python.
      
      rename test__benchmarks.py to xtest__benchmarks.py to exclude it form testrunner.py.
      
      Exclude test__count from test_thread.py, because it uses function thread._count() we don't implement
      
      Run monkey patched tests twice, first with patch_all(), then with patch_all(Event=True)
      d98833c9
    • Denis Bilenko's avatar
      add XXX to threadpool.py · 66a6f573
      Denis Bilenko authored
      66a6f573
    • Denis Bilenko's avatar
      monkey: add Event=False argument to patch_all() and patch_thread() · 1fc48720
      Denis Bilenko authored
      if True, threading.Event is replaced with gevent.event.Event
      1fc48720
    • Denis Bilenko's avatar
      core: check that first argument to start() is not None · aba3cb2a
      Denis Bilenko authored
      Previously this was handled by 'callback' setter,
      but that one now accepts both callable and None, so
      we need a separate check for None in start()
      aba3cb2a
    • Denis Bilenko's avatar
      subprocess: on 2.6 move check_output from __implements__ to __extra__ · f7492569
      Denis Bilenko authored
      this prevents test__all__.py from failing and prevents monkey from patching it
      f7492569
    • Denis Bilenko's avatar
      subprocess: fix doctests from failing · 79fc470b
      Denis Bilenko authored
      (at least on linux)
      79fc470b
    • Denis Bilenko's avatar
      thread: make allocate_lock alias for LockType/Semaphore · 8584918e
      Denis Bilenko authored
      that way it does not fail when being used as class member
      8584918e
    • Denis Bilenko's avatar
      1663c356
    • Denis Bilenko's avatar
      core.ppyx: do not depend on EV_CHILD_ENABLE · 95c04fdb
      Denis Bilenko authored
      it's always the opposite of _WIN32
      this speeds up cythonpp.py part of the build
      95c04fdb
    • Denis Bilenko's avatar
      resolver_ares: fallback to threadpool · 214aa5d4
      Denis Bilenko authored
      For non-network requests, like "localhost", it seems to be quite hard
      to make gevent.ares to do the right (=compatible with stdlib) thing.
      
      So we check if host does not have '.' and if that's the case,
      we fallback to using threadpool.
      
      This covers requests like "localhost", "ip6-localhost" and Python-specific
      things, like "<broadcast>"
      
      It's possible to disable this by passing use_threadpool=False to ResolverAres
      or by settings resolver.pool = None.
      214aa5d4
    • Denis Bilenko's avatar
      resolver_ares: improve getaddrinfo · b4033342
      Denis Bilenko authored
      For string ports (e.g. "http") resolver_ares/getaddrinfo previously only
      consulted getservbyname(port, "tcp") or getservbyname(port, "udp"), but never both.
      
      It seems that checking of both work (and creating result based on that) makes for
      better compatibility with stock getaddrinfo, at least on linux.
      b4033342
  2. 14 Sep, 2012 12 commits
  3. 11 Sep, 2012 3 commits
  4. 08 Sep, 2012 1 commit
  5. 07 Sep, 2012 3 commits
  6. 06 Sep, 2012 1 commit
  7. 05 Sep, 2012 2 commits
  8. 31 Aug, 2012 4 commits