Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Revert "publish should be called when the state is changed" | Jason R. Coombs | 2019-03-27 | 1 | -1/+1 |
| | | | | This reverts commit 20bc9dbf617c61b8c2b7e847d3b88caeabfd6528. | ||||
* | Use always_iterable in Bus.wait | Jason R. Coombs | 2018-12-09 | 1 | -4/+3 |
| | |||||
* | publish should be called when the state is changed | Ian Otto | 2018-11-21 | 1 | -1/+1 |
| | | | publish should not be called during every wait cycle, only after the wait has found the correct state | ||||
* | Remove reliance on six | Jason R. Coombs | 2018-09-02 | 1 | -3/+1 |
| | |||||
* | Correct typo in args reconstruction guessing code | Sviatoslav Sydorenko | 2018-07-08 | 1 | -1/+1 |
| | | | | Fixes #1721 | ||||
* | Revert "Fix suggested by Andrew Stromnov to let psyco play nice with ↵ | Sviatoslav Sydorenko | 2018-06-16 | 1 | -17/+3 |
| | | | | | | | | | | | | | | | | | CherryPy 3.1." This reverts commit e8e77404c7e753105e225a13a56411eb4e07624a. (It effectively removes dead code) From the Psyco website: > 12 March 2012 > > Psyco is unmaintained and dead. Please look at PyPy for the > state-of-the-art in JIT compilers for Python. http://psyco.sourceforge.net/ | ||||
* | Swap pep257 with pydocstyle | Sviatoslav Sydorenko | 2018-06-16 | 1 | -1/+1 |
| | |||||
* | Merge pull request #1656 from cherrypy/feature/single-subscribe | Jason R. Coombs | 2017-11-10 | 1 | -6/+13 |
|\ | | | | | Use single subscribe method for decorator or direct invocation | ||||
| * | Fix partial so the positional argument is 'callback' and not 'channel'. | Jason R. Coombs | 2017-10-29 | 1 | -1/+1 |
| | | |||||
| * | Alternatively, engine.subscribe now allows calling without a callback, in ↵ | Jason R. Coombs | 2017-10-29 | 1 | -6/+13 |
| | | | | | | | | which case it creates the decorator. | ||||
* | | Regarding E305, honor the style guide rather than suppressing errors. | Jason R. Coombs | 2017-10-29 | 1 | -2/+5 |
| | | |||||
* | | Redocument | Jason R. Coombs | 2017-10-29 | 1 | -1/+1 |
|/ | |||||
* | Add cherrypy.engine.subscribe for nicer, linter-friendly syntax when ↵ | Jason R. Coombs | 2017-10-29 | 1 | -0/+5 |
| | | | | subscribing a callback. | ||||
* | Remove exemption for extra long lines. Updated code to conform with standard ↵ | Jason R. Coombs | 2017-10-28 | 1 | -2/+3 |
| | | | | 79 character limitation. Fixes #1652. | ||||
* | Feed the hobgoblins (delint). | Jason R. Coombs | 2017-10-27 | 1 | -3/+1 |
| | |||||
* | Feed the hobgoblins (delint). | Jason R. Coombs | 2017-10-27 | 1 | -6/+11 |
| | |||||
* | Fix PEP 257 docstring errors in process.wspbus | Sviatoslav Sydorenko | 2017-08-10 | 1 | -7/+9 |
| | |||||
* | Fix super() args in process.wspbus.ChannelFailures | Sviatoslav Sydorenko | 2017-08-10 | 1 | -1/+1 |
| | | | | Reported by lgtm.com service | ||||
* | Mark docstrings with slash escaping as raw str (PR #1610 by @scop) | Ville Skyttä | 2017-07-10 | 1 | -1/+1 |
| | | | | * https://docs.python.org/3/whatsnew/3.6.html#deprecated-python-behavior (Python 3.6 invalid escape sequence deprecation) | ||||
* | Remove _args_from_interpreter_flags backport | Jason R. Coombs | 2017-07-08 | 1 | -3/+2 |
| | |||||
* | PEP8fy codebase: eliminated E305 flake8 error | Sviatoslav Sydorenko | 2017-03-11 | 1 | -2/+2 |
| | |||||
* | Fixup same style string quotes across the repo | Sviatoslav Sydorenko | 2017-03-03 | 1 | -1/+1 |
| | |||||
* | Fix AssertionError on shutdown (#1564) | Krystian Rosiński | 2017-02-18 | 1 | -11/+5 |
| | | | | | | Fix #1342 * Drop `isAlive()` check since `threading.enumerate()` always iterates alive threads * Simplify check for daemon mode | ||||
* | Remove unused import | Jason R. Coombs | 2017-02-07 | 1 | -1/+0 |
| | |||||
* | Don't use a comment where a variable is clearer | Jason R. Coombs | 2017-02-07 | 1 | -2/+3 |
| | |||||
* | Fix autoreload for cherryd loaded as a module | Sviatoslav Sydorenko | 2017-01-11 | 1 | -1/+52 |
| | | | | | | | | | Also: * raise RuntimeError when trying to reconstruct `-c` * run cherryd as cherrypy.__main__ module to support Python 2.6 Ref: https://github.com/cherrypy/cherrypy/issues/1545 Ref: python/cpython@418baf9 | ||||
* | Fix a few bugs introduced in ddad387 | Sviatoslav Sydorenko | 2016-12-01 | 1 | -2/+2 |
| | | | | | | | Basically, we cannot add ``tuple`` to ``list``. Also, using ``getattr`` instead of ``hasattr`` is more reliable. Ref: #1526 | ||||
* | Don't restart frozen app with interpreter args | Sviatoslav Sydorenko | 2016-12-01 | 1 | -1/+19 |
| | | | | | With this commit I'm trying to get rid of issue #1526: we should not add interpreter arguments while re-spawning the app in ``frozen`` mode | ||||
* | Handle missing ``ctypes`` in Google AppEngine | Sviatoslav Sydorenko | 2016-10-14 | 1 | -3/+16 |
| | | | | Fixes #1512 | ||||
* | Add reconstructed interpreter arguments from | Sviatoslav Sydorenko | 2016-09-27 | 1 | -1/+4 |
| | | | | | | - use sys.flags to guess original args on Python 2.6 - reuse subprocess._args_from_interpreter_flags for higher Pythons - close #1506 | ||||
* | Trap non-existing Py_GetArgcArgv | Sviatoslav Sydorenko | 2016-09-27 | 1 | -6/+19 |
| | | | | | | Work around #1506. Currently Windows does not support this function, so falling back to sys.argv. See also: https://chromium.googlesource.com/infra/infra/+/69eb0279c12bcede5937ce9298020dd4581e38dd%5E!/ | ||||
* | Re-spawn app with the original interpreter args (#1504) | Sviatoslav Sydorenko | 2016-09-21 | 1 | -3/+26 |
| | | | Fix #1500 | ||||
* | Drop Python<2.6 compatibility crutches | Sviatoslav Sydorenko | 2016-09-16 | 1 | -3/+1 |
| | | | | | | | - float('inf') - cookies delimiter - @tools.accept() - super(Exception, self) | ||||
* | Convert all strings to conform single-quoted style | Sviatoslav Sydorenko | 2016-09-08 | 1 | -13/+13 |
| | | | | pre-commit run double-quote-string-fixer --all-files | ||||
* | Use setdefault for simplicity | Jason R. Coombs | 2016-07-24 | 1 | -3/+2 |
| | |||||
* | Pass the environment variable(s) in | Jason R. Coombs | 2016-07-16 | 1 | -4/+4 |
| | |||||
* | Extract variables to avoid duplicative calls and hanging indents | Jason R. Coombs | 2016-07-16 | 1 | -4/+7 |
| | |||||
* | Extract method for extending pythonpath, converting the comments to a ↵ | Jason R. Coombs | 2016-07-16 | 1 | -13/+22 |
| | | | | docstring, and re-writing it in the imperative voice rather than first person. | ||||
* | Try to do the right thing when autoreloading a process invoked with 'python ↵ | Max Bolingbroke | 2016-07-01 | 1 | -0/+14 |
| | | | | -m' (#1411) | ||||
* | Remove Python 2.3 compatibility code and use 'sorted' to prepare a sorted list | Jason R. Coombs | 2016-05-27 | 1 | -8/+6 |
| | |||||
* | Rewrite dict construction, avoiding intermediate list and constructing ↵ | Jason R. Coombs | 2016-05-27 | 1 | -2/+4 |
| | | | | channel names in a separate variable | ||||
* | Replace references to bitbucket tickets with references to github tickets. ↵ | Jason R. Coombs | 2016-04-30 | 1 | -3/+3 |
| | | | | Ref #1410. | ||||
* | Simply get set from builtins | Jason R. Coombs | 2015-12-19 | 1 | -2/+0 |
| | |||||
* | More PEP8 work. | Gustavo Picon | 2014-01-12 | 1 | -6/+10 |
| | |||||
* | Running: autopep8 -vvvvv -i `find . -name '*.py'` | Gustavo Picon | 2014-01-12 | 1 | -5/+12 |
| | | | | | --HG-- branch : autopep8 | ||||
* | Bugfix of a potential deadlock if the main bus is stopped from a different | Joel Rivera | 2013-08-31 | 1 | -1/+6 |
| | | | | | | | | thread than the main thread, this is the case when is implemented as a windows service. Closing issue #1164 Closing issue #1101 | ||||
* | Fix ticket URLs from http://www.cherrypy.org/ticket/XYZ to | Michiel Overtoom | 2012-06-21 | 1 | -3/+3 |
| | | | | https://bitbucket.org/cherrypy/cherrypy/issue/XYZ | ||||
* | Removed trailing whitespace from the codebase. | Gustavo Picon | 2012-04-03 | 1 | -43/+43 |
| | | | | sed -i '' -e 's/ *$//' `find cherrypy -name '*.py'` | ||||
* | Fixed #1081 (NameError in wspbus.py) | Robert Brewer | 2011-10-13 | 1 | -1/+1 |
| | |||||
* | Fixed #1087 (PEP-3333 compliance: Unicode response headers). Also some ↵ | Robert Brewer | 2011-10-13 | 1 | -4/+3 |
| | | | | touch-ups to prevent refleaks. |