- 16 Oct, 2015 3 commits
-
-
Jason Madden authored
Also, this comes on the heels of adding back __weakref__ to Semaphore. This becomes a field in the struct and the field is cleared in tp_dealloc. It seems like this would trigger the memory leak bug when taking references to a subclass, but testing seems to show that doesn't happen. I guess PyPy handles that specially: >>>> objgraph.show_growth() >>>> _ = [weakref.ref(gevent.thread.LockType()) for i in range(1000)]; del _ >>>> objgraph.show_growth() >>>> [skip ci]
-
Jason Madden authored
-
Jason Madden authored
Make sure gevent.lock.Semaphore can be weak referenced. This must be explicitly declared in cython. Fixes #666.
-
- 15 Oct, 2015 3 commits
-
-
Jason Madden authored
bwc for gunicorn in corner case (https://github.com/benoitc/gunicorn/blob/master/gunicorn/workers/ggevent.py#L219) [skip ci]
-
Jason Madden authored
internal documentation for the numerous attributes used in of WSGIHandler; also eliminates pylint warnings about setting undeclared attributes
-
Jason Madden authored
-
- 13 Oct, 2015 6 commits
-
-
Jason Madden authored
-
Jason Madden authored
-
Jason Madden authored
DummyThread objects are much lighter weight and don't allocate and then immediately delete a Semaphore. This matters for servers that handle each request in a new greenlet (e.g., gunicorn) because logging caused these objects to be created. Avoiding the Semaphore is especially important on PyPy.
-
Jason Madden authored
-
Jason Madden authored
-
Jason Madden authored
-
- 11 Oct, 2015 1 commit
-
-
Jason Madden authored
Brought up on IRC. This involves having read_request raise ValueError subclasses instead of directly logging errors and returning False. This method could already raise ValueError when parsing headers, so callers are prepared for this. It shouldn't be a performance issue because (1) the try block was already being established and (2) these are exceptional situations, not the common case.
-
- 10 Oct, 2015 4 commits
-
-
Jason Madden authored
-
Jason Madden authored
-
Jason Madden authored
Disable test_ssl.test_algorithms test temporarily because the host it uses is not resolvable. Also whitespace cleanup in the list for consistency.
-
Jason Madden authored
-
- 09 Oct, 2015 1 commit
-
-
Jason Madden authored
Work around a the worst tuple leak in Cython code under PyPy when releasing semaphores. A complete fix needs a newer cython release.
-
- 30 Sep, 2015 2 commits
-
-
Jason Madden authored
-
Jason Madden authored
-
- 29 Sep, 2015 4 commits
-
-
Jason Madden authored
-
Jason Madden authored
Mark test__issue6.py flaky everywhere, I'm getting tired of re-running test environemnts on Travis one at a time because of it.
-
Jason Madden authored
-
Jason Madden authored
Needs a test case.
-
- 28 Sep, 2015 1 commit
-
-
Jason Madden authored
Comment-deprecate the undocumented rfile kwarg to WSGIHandler (not using the warnings module because this is a hot code path and also because DeprecationWarning is ignored by default under Py27 anyway) [skip ci]
-
- 18 Sep, 2015 5 commits
-
-
Jason Madden authored
-
Jason Madden authored
-
Jason Madden authored
-
Jason Madden authored
-
Jason Madden authored
-
- 17 Sep, 2015 5 commits
-
-
Jason Madden authored
Working towards improved release support (zest.releaser): compatibility with the pyroma setup linter and fix the issues found. Next up: the manifest.
-
Jason Madden authored
-
Jason Madden authored
-
Jason Madden authored
Fix coverage numbers for top-level statements in __init__.py and friends. Also add some useful platform-specific exclusions.
-
Jason Madden authored
Add a test for #651 and really fix #651 this time (another manifestation of the same underlying issue as #652)
-
- 16 Sep, 2015 5 commits
-
-
Jason Madden authored
-
Jason Madden authored
-
Jason Madden authored
-
Jason Madden authored
Support coverage.py in the testrunner and coveralls.io
-
Jason Madden authored
-