- 27 Sep, 2017 5 commits
-
-
Jason Madden authored
-
Jason Madden authored
More safely terminate process on Windows.
-
Jason Madden authored
We need to set the result when we detect a process is dead in the act of killing it, so that in the future we don't try to wait on it again.
-
Jason Madden authored
-
Jason Madden authored
Fixes #1023 Also re-enable the POSIX version of those tests. They should (and do) pass.
-
- 25 Sep, 2017 8 commits
-
-
Jason Madden authored
-
Jason Madden authored
Compile gevent.local.py with Cython when available.
-
Jason Madden authored
-
Jason Madden authored
Support using the pure python local code on Cpython too; it handles adding __new__ differently than PyPy does.
-
Jason Madden authored
This makes things *much* faster. We had to make some small code changes to acheive this (things like directly accessing variables instead of redirecting through object.__getattribute__), but this didn't impart PyPy at all (in fact it may actually be faster). New timings compared to previous commit: | Operation | PyPy 2 | Python 2.7 | Python 3.6 | |---------------------- |-------: |-----------: |-----------: | | getattr local | 76ns | 233ns | 206ns | | setattr local | 79ns | 232ns | 202ns | | getattr subclass | 77ns | 238ns | 203ns | | setattr subclass | 75ns | 238ns | 204ns | | getattr native local | 2ns | 139ns | 73ns | | setattr native local | 2ns | 168ns | 98ns | | getattr slowdown | 38x | 1.7x | 2.8x | | setattr slowdown | 39x | 1.7x | 2.1x |
-
Jason Madden authored
Speed up gevent.local
-
Jason Madden authored
Final numbers are as follows: | Operation | PyPy 2 | Python 2.7 | Python 3.6 | |---------------------- |-------: |-----------: |-----------: | | getattr local | 79ns | 1580ns | 1120ns | | setattr local | 86ns | 1600ns | 1090ns | | getattr subclass | 81ns | 1640ns | 1090ns | | setattr subclass | 84ns | 1560ns | 1090ns | | getattr native local | 2ns | 139ns | 73ns | | setattr native local | 2ns | 168ns | 98ns |
-
Jason Madden authored
-
- 24 Sep, 2017 1 commit
-
-
Jason Madden authored
-
- 23 Sep, 2017 1 commit
-
-
Jason Madden authored
So far, this makes accessing simple attributes about 3.5x faster on Python 3.4 (I haven't repeated benchmarks for other platforms yet). Refs #1020.
-
- 20 Sep, 2017 1 commit
-
-
Jason Madden authored
-
- 18 Sep, 2017 5 commits
-
-
Jason Madden authored
-
Jason Madden authored
-
Jason Madden authored
-
Jason Madden authored
-
Jason Madden authored
-
- 11 Sep, 2017 1 commit
-
-
Jason Madden authored
-
- 30 Aug, 2017 1 commit
-
-
Jason Madden authored
-
- 04 Aug, 2017 2 commits
-
-
Jason Madden authored
Fix a typo in CHANGES.rst [skip ci]
-
Felix Yan authored
-
- 21 Jul, 2017 12 commits
-
-
Jason Madden authored
Return the correct value from Popen.communicate() on Py3/text mode
-
Jason Madden authored
With tests, verified against the stdlib. Fixes a todo, and fixes #939.
-
Jason Madden authored
Update to PyPy3 5.8.0
-
Jason Madden authored
-
Jason Madden authored
-
Jason Madden authored
-
Jason Madden authored
-
Jason Madden authored
Fixes #1001.
-
Jason Madden authored
Drop Python 3.3 remnants. Fixes #997.
-
Jason Madden authored
-
Jason Madden authored
Extract list of ignored exceptions in pywsgi to an ivar. Include errno.WSAECONNABORTED on Windows.
-
Jason Madden authored
Extract list of ignored exceptions in pywsgi to an ivar. Include errno.WSAECONNABORTED on Windows. Fixes #999.
-
- 20 Jul, 2017 3 commits
-
-
Jason Madden authored
Specify required python versions in setup.py
-
Jason Madden authored
Fixes #995.
-
Jason Madden authored
Build and test with Cython 0.26
-