1. 15 Jun, 2017 2 commits
    • Jason Madden's avatar
      Extra test for patching not on main thread. · d2a6b131
      Jason Madden authored
      d2a6b131
    • Jason Madden's avatar
      Defer adjusting the stdlib's list of active threads until ``threading`` is monkey patched. · ac94f486
      Jason Madden authored
      Previously this was done when :mod:`gevent.threading` was imported.
      That module is documented to be used as a helper for monkey patching,
      so this should generally functionally be the same, but some
      applications ignore the directly import that module anyway.
      
      A positive consequence is that ``import gevent.threading, threading;
      threading.current_thread()`` will no longer return a DummyThread
      before monkey-patching. Another positive consequence is that PyPy will
      no longer print a ``KeyError`` on exit if :mod:`gevent.threading` was
      imported *without* monkey-patching.
      
      Fixes #984.
      ac94f486
  2. 14 Jun, 2017 1 commit
  3. 12 Jun, 2017 1 commit
  4. 07 Jun, 2017 1 commit
    • Dan Callaghan's avatar
      always obey GEVENT_NO_CFFI_BUILD (#979) · 14b28c67
      Dan Callaghan authored
      If libev is not embedded, we still want to set GEVENT_NO_CFFI_BUILD=1 to
      prevent setup.py from trying to configure libev, regardless whether cffi
      modules will actually be built or not.
      14b28c67
  5. 05 Jun, 2017 4 commits
  6. 25 May, 2017 2 commits
    • Jason Madden's avatar
      Add change note for #975 [skip ci] · cdbb5a1c
      Jason Madden authored
      cdbb5a1c
    • Shawn Bohrer's avatar
      monkey: exec scripts in global scope · 5bc2cf61
      Shawn Bohrer authored
      Commit 59581a8a "Add python 3.5
      selectors test, and remove the devpoll selector under 3.5. also update
      the monkey documentation." Introduced a regression by moving the exec of
      scripts into a main() function. If the script being run with exec has
      import statements those are now locally scoped to the main() function
      which can break the script.
      
      It does not appear that this local scoping was intentional so the fix is
      to exec the script in the global scope, returning the previous behavior.
      This also requires setting __package__ = None otherwise the script
      appears to be run in the gevent __package__
      5bc2cf61
  7. 11 May, 2017 4 commits
  8. 07 Apr, 2017 2 commits
    • Jason Madden's avatar
      Add basic framework for wrapping stdlib tests. · 3a3124e7
      Jason Madden authored
      Use it to fix test_interrupted_write on all Py3, and
      test_https_with_cafile on PyPy3.5 instead of disabling them and
      patching them inline, respectively.
      
      See #964
      3a3124e7
    • Jason Madden's avatar
      Update to PyPy3.5 5.7.1 (#965) · 1414906d
      Jason Madden authored
      * Test PyPy 3.5-5.7.1-beta
      
      Add a missing `clear` method to the tblib Frame object.
      
      [skip appveyor]
      
      * Add PyPy3.5 tests
      
      * Standard PyPy fixes for imported tests.
      
      * more gevent/pypy3.5 blackouts and missing cert files
      
      * another blackballed test due to performance issues.
      
      * missing revocation.crl for test_ssl.py
      
      * Fix test_urllib2_localnet. We had to resort to a patch.
      
      * Adjust timeouts for PyPy3.
      
      * Add test_wsgiref for 3.5 and 3.6 and comment about it being broken
      
      It's broken for all of them, not just PyPy, so move its patch to
      reflect that.
      1414906d
  9. 06 Apr, 2017 10 commits
  10. 21 Mar, 2017 1 commit
  11. 16 Mar, 2017 1 commit
    • Jason Madden's avatar
      Tweak license formatting · 8ed03d70
      Jason Madden authored
      Doesn't actually change the license at all, just slightly reformats it. This should be more compatible with github's new license display features.
      
      [skip ci]
      8ed03d70
  12. 10 Mar, 2017 4 commits
  13. 09 Mar, 2017 4 commits
  14. 08 Mar, 2017 1 commit
  15. 25 Feb, 2017 2 commits