1. 29 Nov, 2018 1 commit
    • Jason Madden's avatar
      Make ThreadPool.join respect the loop.min_sleep_time value. · 08d12491
      Jason Madden authored
      Setting the size was already doing so. By not using the hardcoded value, this prevents a UserWarning from the libuv backend.
      
      Also rename the attribute to  and implement it for all loops.
      Add this to the ILoop interface, and test that all loop implementations correctly implement it with zope.interface.verify.verifyObject.
      
      Fixes #1321.
      08d12491
  2. 14 Nov, 2018 5 commits
    • Jason Madden's avatar
      Merge pull request #1316 from gevent/socket-close-fix · 58fcd584
      Jason Madden authored
      Python 2: Correct errors from async closed sockets.
      58fcd584
    • Jason Madden's avatar
      One more appveyor test. · 222ffb2c
      Jason Madden authored
      222ffb2c
    • Jason Madden's avatar
      Minor cleanup of test__os · bad36226
      Jason Madden authored
      We saw a Windows crash (https://ci.appveyor.com/project/denik/gevent/builds/20295148/job/ldltku6gletkdfgl):
      
      | C:\Python37-x64\python.exe -u -mgevent.tests.test__os
      461  .
      462  ----------------------------------------------------------------------
      463  Ran 1 test in 1.656s
      464
      465  OK
      466  Windows fatal exception: access violation
      467
      468  Thread 0x000003dc (most recent call first):
      469
      470  Current thread 0x000005c8 (most recent call first):
      471    File "C:\Python37-x64\lib\site-packages\gevent\threadpool.py", line 261 in _worker
      472
      473  Thread 0x00000af8 (most recent call first):
      474    File "C:\Python37-x64\lib\site-packages\gevent\_threading.py", line 84 in wait
      475    File "C:\Python37-x64\lib\site-packages\gevent\_threading.py", line 166 in get
      476    File "C:\Python37-x64\lib\site-packages\gevent\threadpool.py", line 270 in _worker
      477
      478  Thread 0x00000424 (most recent call first):
      479    File "C:\Python37-x64\lib\site-packages\gevent\_threading.py", line 84 in wait
      480    File "C:\Python37-x64\lib\site-packages\gevent\_threading.py", line 166 in get
      481    File "C:\Python37-x64\lib\site-packages\gevent\threadpool.py", line 270 in _worker
      482
      483  Thread 0x000003dc (most recent call first):
      484    File "C:\Python37-x64\lib\weakref.py", line 356 in remove
      485
      486! C:\Python37-x64\python.exe -u -mgevent.tests.test__os [code 3221225477] [took 1.7s]
      
      I confirmed that the one test we run there doesn't create an
      IdentRegistry. Instead, the WeakKeyDictionary that's being created
      comes from either zope.interface (tracking dependents) or
      concurrent.futures (tracking spawned threads).
      bad36226
    • Jason Madden's avatar
      Python 2: Correct errors from async closed sockets. · 8bd70641
      Jason Madden authored
      Previously we would create a AttributeError, instead of the preferred socket.error(EBADF).
      
      Python 3 already did the right thing.
      
      Discovered because of bad test coverage in test__hub.py that wasn't doing what we thought.
      
      Incremental work on increasing test coverage.
      8bd70641
    • Jason Madden's avatar
      Merge pull request #1315 from gevent/win-pypy6 · 305b60f7
      Jason Madden authored
      Appveyor updates: Test PyPy6
      305b60f7
  3. 13 Nov, 2018 9 commits
  4. 12 Nov, 2018 7 commits
  5. 10 Nov, 2018 1 commit
  6. 09 Nov, 2018 15 commits
  7. 08 Nov, 2018 2 commits