- 29 Jan, 2018 3 commits
-
-
Jason Madden authored
* Massively simplify the internal _threading.py by removing everything we don't use. Enable coverage testing for Python 3 and some for PyPy. * PyPy can't handle coverage :( * Account for a racy test and tweak the makefile to ignore errors uploading to coveralls. Python 3.7 was seen to generate that: https://travis-ci.org/gevent/gevent/jobs/334831358 * Manually exclude .so files. They caused coveralls to fail: https://travis-ci.org/gevent/gevent/jobs/334839765#L1755 * Enable coverage on pypy too. * coverage pragmas * Skip a test that fails under coverage sometimes
-
Jason Madden authored
Allow all keyword arguments to Popen under Python 2.
-
Jason Madden authored
And make restore_signals default to False on Python 2. Fixes #1063.
-
- 27 Jan, 2018 8 commits
-
-
Jason Madden authored
-
Jason Madden authored
-
Jason Madden authored
-
Jason Madden authored
-
Jason Madden authored
-
Jason Madden authored
-
Jason Madden authored
-
Jason Madden authored
Try to adhere to scheduling deadlines when running callbacks [skip ci]
-
- 26 Jan, 2018 2 commits
-
-
Jason Madden authored
This should result in the loop getting serviced more often when there are many callbacks to run. This is hooked up to `getswitchinterval` to allow control. We check the interval every 50 callbacks. That's hardcoded, which I don't like, but the 1000 callback number was hardcoded before, so it's not really much of a change. A future extension would be to calculate the check number dynamically based on dividing the switch interval. I don't have a specific test case for this change because I'm a little fried, but all the other tests pass. I did manually verify that the example in #1071 matches expectations---that could probably be turned into a test case with some work. Fixes #1072 Fixes #1071 Fixes #1068
-
Jason Madden authored
-
- 25 Jan, 2018 4 commits
-
-
Jason Madden authored
-
Jason Madden authored
Make callbacks.c stop relying on implementation details of Cython and Python. Instead use documented ways to interact.
-
Jason Madden authored
Revert the hack of copying the ares.h header distributed with c-ares to cares.h. Our ares.pyx's channel class doesn't need to be public.
-
Jason Madden authored
-
- 24 Jan, 2018 9 commits
-
-
Jason Madden authored
-
Jason Madden authored
-
Jason Madden authored
-
Jason Madden authored
-
Jason Madden authored
Cleanup a mistake in test_httpservers.py, and make a change to the example portforwarder to better handle race conditions.
-
Jason Madden authored
Try testing PyPy on Windows again. I'm getting clean-ish runs in my local test VM (with a small number of networking and subprocess tests disabled).
-
Jason Madden authored
-
Jason Madden authored
Run cythonize from setup.py
-
Jason Madden authored
Add the pxd's as explicit deps; they don't actually seem to trigger recompilation, at least if just decorators are added.
-
- 23 Jan, 2018 10 commits
-
-
Jason Madden authored
cancel the whitespace test as part of the standard linting. there are too many false positives to keep up with in the generated C files. [skip appveyor]
-
Jason Madden authored
This eliminates our sdist-time dependency on Makefile or make.cmd on Windows. Fewer moving pieces are better. Fixes #1076
-
Jason Madden authored
Update corecext.ppyx
-
Jason Madden authored
-
Jason Madden authored
This eliminates the need to call cythonpp.py on it. It also leads to a more consistent API. We could take the same approach to bring back sig_fd if necessary, but that's still not available to cython.
-
Jason Madden authored
-
Jason Madden authored
-
Jason Madden authored
-
Jason Madden authored
-
Jason Madden authored
-
- 22 Jan, 2018 4 commits
-
-
Jason Madden authored
Attempt to workaround Visual C 9.0 for CPython 2.7 on windows missing stdint.h. Also correct a compiler warning.
-
Jason Madden authored
-
Jason Madden authored
-
Jason Madden authored
We should be able to use dummy functions to link the child watchers on windows, and forbid them from being created. This gets us down to only one CPP def, LIBEV_EMBED
-