- 01 Dec, 2018 1 commit
-
-
Jason Madden authored
-
- 30 Nov, 2018 8 commits
-
-
Jason Madden authored
More tweaks for test__fileobject.py on 3.7
-
Jason Madden authored
Deterministically close GreenFileDescriptorIO backing FileObjectPosix if the (libuv) event loop watchers produce an error. Especially on Python 3.7, the C-level garbage collection could kick in and close the underlying fileno at an inopportune time, killing an unrelated file, even though there were no Python-level references alive (apparently).
-
Jason Madden authored
-
Jason Madden authored
Cast OSError raised by os.lseek into IOError
-
Jason Madden authored
-
Jason Madden authored
This cleans up the skips needed.
-
Jason Madden authored
Don't introduce a reference cycle with the traceback. In the test, don't use sys.stdout as a non-seekable stream; putting it into non-blocking mode messes up the console. Instead create a pipe for this purpose. Simplify test cases by splitting FOPosix and FOThread.
-
Ricardo Kirkner authored
-
- 29 Nov, 2018 4 commits
-
-
Jason Madden authored
Make ThreadPool.join respect the loop.min_sleep_time value.
-
Jason Madden authored
-
Jason Madden authored
-
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.
-
- 14 Nov, 2018 5 commits
-
-
Jason Madden authored
Python 2: Correct errors from async closed sockets.
-
Jason Madden authored
-
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).
-
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.
-
Jason Madden authored
Appveyor updates: Test PyPy6
-
- 13 Nov, 2018 9 commits
-
-
Jason Madden authored
-
Jason Madden authored
Fixes #1314
-
Jason Madden authored
-
Jason Madden authored
-
Jason Madden authored
-
Jason Madden authored
-
Jason Madden authored
-
Jason Madden authored
-
Jason Madden authored
Refactoring to run tests from an install
-
- 12 Nov, 2018 7 commits
-
-
Jason Madden authored
-
Jason Madden authored
Also some testrunner improvements. Also some debugging for #1296.
-
Jason Madden authored
Set the non-standard wsgi.input_terminated flag. Fixes #1308.
-
Jason Madden authored
Make gevent.socket.getaddrinfo return enums on Python 3
-
Jason Madden authored
-
Jason Madden authored
-
Jason Madden authored
Fixes #1310
-
- 10 Nov, 2018 1 commit
-
-
Jason Madden authored
Refactoring greentest
-
- 09 Nov, 2018 5 commits
-
-
Jason Madden authored
-
Jason Madden authored
-
Jason Madden authored
-
Jason Madden authored
Fixes #1167 and fixes #1168
-
Jason Madden authored
-