summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Bumped to 3.2.3 in preparation for next release.3.2.3Jason R. Coombs2012-12-265-6/+6
| | | | | --HG-- branch : cherrypy-3.2.x
* Restore pid-in-file behavior for daemonized processesJason R. Coombs2012-12-261-0/+23
| | | | | --HG-- branch : cherrypy-3.2.x
* Grab set from sets module for Python 2.3Jason R. Coombs2012-12-261-0/+5
| | | | | --HG-- branch : cherrypy-3.2.x
* Fixed several more syntax errors on Python 2.3. The module no compiles under ↵Jason R. Coombs2012-12-261-15/+16
| | | | | | | Python 2.3. --HG-- branch : cherrypy-3.2.x
* Restore Python 2.3 compatibility in import syntaxJason R. Coombs2012-12-261-4/+4
| | | | | --HG-- branch : cherrypy-3.2.x
* Patch test so that it still matches the expected output, even when spaces ↵Jason R. Coombs2012-12-261-0/+3
| | | | | | | are elided from otherwise blank lines in the source. --HG-- branch : cherrypy-3.2.x
* Use subprocess to manage the process and pid. Fixes #1198.Jason R. Coombs2012-12-261-21/+4
| | | | | --HG-- branch : cherrypy-3.2.x
* Adding subprocess module from Python 2.7.3 and use that in the test helper. ↵Jason R. Coombs2012-12-263-19/+1539
| | | | | | | Fixes #1196. --HG-- branch : cherrypy-3.2.x
* Use subprocess module (if available). Works around #1196 on Python 2.4+.Jason R. Coombs2012-12-262-4/+26
| | | | | --HG-- branch : cherrypy-3.2.x
* Move import to the topJason R. Coombs2012-12-261-5/+1
| | | | | --HG-- branch : cherrypy-3.2.x
* Removed unnecessary indentJason R. Coombs2012-12-261-2/+1
| | | | | --HG-- branch : cherrypy-3.2.x
* Fixed failure on Python 2 in ↵Jason R. Coombs2012-12-261-1/+1
| | | | | | | cherrypy.test.test_request_obj:RequestObjectTests.test_encoded_headers when the header value was unicode. --HG-- branch : cherrypy-3.2.x
* Fixed failure on Python 2 in ↵Jason R. Coombs2012-12-261-2/+2
| | | | | | | cherrypy.test.test_json:JsonTest.test_json_input when the error message had unicode in it. --HG-- branch : cherrypy-3.2.x
* Resaved with excess whitespace removedJason R. Coombs2012-12-261-61/+61
| | | | | --HG-- branch : cherrypy-3.2.x
* Fix syntax for Python 2.3Jason R. Coombs2012-12-121-2/+1
| | | | | --HG-- branch : cherrypy-3.2.x
* Extract Thread.daemon property compatibility into _cpcompat. Now ↵Jason R. Coombs2012-12-122-10/+18
| | | | | | | BackgroundTask behaves like a Python 2.6+ Thread (w.r.t. the daemon property) even on Python 2.3+. --HG-- branch : cherrypy-3.2.x
* Fixes for python2Rene Peinthor2012-12-121-1/+4
| | | | | | | Tested on python 2.3 and python 2.6 --HG-- branch : cherrypy-3.2.x
* Python3.3 doesn't use setdaemon for initializing the daemon var anymoreRene Peinthor2012-12-111-4/+5
| | | | | | | So BackgroundTask would always use the current threads daemon mode on py3.3 --HG-- branch : cherrypy-3.2.x
* Add classifiers to designate which versions of CherryPy are supported. ↵Jason R. Coombs2012-12-121-0/+5
| | | | | | | _cpcompat indicates that CherryPy 2.3 is still supported (though _test_decorators doesn't run on 2.3). --HG-- branch : cherrypy-3.2.x
* Correct docstring, unintentionally borkedJason R. Coombs2012-11-071-1/+1
| | | | | --HG-- branch : cherrypy-3.2.x
* Override constructor in Perpetual to allow 'bus' parameter to be given.Jason R. Coombs2012-11-071-3/+10
| | | | | | | Check for presence of bus parameter when reporting exceptions in PerpetualTimer. Fixes #1183. --HG-- branch : cherrypy-3.2.x
* In Python 3.3, threading._Event was renamed to threading.Event. This change ↵Jason R. Coombs2012-10-282-3/+5
| | | | | | | creates a compatibility shim and uses that shim in cherrypy.lib.caching. Fixes #1179. --HG-- branch : cherrypy-3.2.x
* Need to create windows executablesJason R. Coombs2012-10-271-0/+1
| | | | | --HG-- branch : cherrypy-3.2.x
* Fix Python 3 syntax error in test_compat.pyJason R. Coombs2012-10-271-1/+1
| | | | | --HG-- branch : cherrypy-3.2.x
* Extract 'encode_header_items' classmethod from HeaderMap.output. Now another ↵Jason R. Coombs2012-10-272-12/+20
| | | | | | | | | function can prepare a header list the same way _cprequest does in .finalize. Updated customheaders documentation to use the new .encode_header_items to ensure the example doesn't fail on Python 3 with a TypeError. Fixes #1177. --HG-- branch : cherrypy-3.2.x
* Added a couple of sections to CherryPy basics to introduce basic useage of ↵Jason R. Coombs2012-10-271-4/+34
| | | | | | | request, response, and their headers objects. Fixes #1176 --HG-- branch : cherrypy-3.2.x
* Fleshed out the complete release process.Jason R. Coombs2012-10-261-9/+92
| | | | | --HG-- branch : cherrypy-3.2.x
* Adding link to release wikiJason R. Coombs2012-10-241-0/+2
| | | | | --HG-- branch : cherrypy-3.2.x
* Draft of the release processJason R. Coombs2012-10-241-1/+32
| | | | | --HG-- branch : cherrypy-3.2.x
* Adding release scriptJason R. Coombs2012-10-241-0/+7
| | | | | --HG-- branch : cherrypy-3.2.x
* Fixed issue in HeaderElement.__str__ where it could sometimes return a ↵Jason R. Coombs2012-04-061-1/+1
| | | | | | | non-native string. --HG-- branch : cherrypy-3.2.x
* Timer class was renamed from _Timer to Timer in Python 3.3. This change adds ↵Jason R. Coombs2012-10-072-2/+9
| | | | | | | a compatibility shim to detect this change and reference the base class accordingly. Fixes #1163. --HG-- branch : cherrypy-3.2.x
* Fix error in Python 3.3 where socket.error and IOError are the same ↵Jason R. Coombs2012-10-031-3/+4
| | | | | | | exception class (OSError). Thanks to Alex Hill for the patch. Fixes #1170. --HG-- branch : cherrypy-3.2.x
* Merge test and fixJason R. Coombs2012-04-081-1/+11
|\ | | | | | | | | --HG-- branch : cherrypy-3.2.x
| * Don't raise an error in server.wait() when testing against loopback ↵Jason R. Coombs2012-04-081-1/+11
| | | | | | | | | | | | | | interface, which is not guaranteed to exist (and in fact does not exist in common platforms such as rackspace hosting and Heroku). Fixes #1100. --HG-- branch : cherrypy-3.2.x
* | Added test to simulate failure reported in #1100.Jason R. Coombs2012-04-081-0/+56
|/ | | | | --HG-- branch : cherrypy-3.2.x
* Don't attempt to import HTTPSConnection but once and only from the ↵Jason R. Coombs2012-04-061-9/+10
| | | | | | | Python-major-version-appropriate library. Fixes #1137. --HG-- branch : cherrypy-3.2.x
* Define setup.cfg to indicate that sdists should be .tar.gz (as suggested by ↵Jason R. Coombs2012-04-032-1/+3
| | | | | | | make-sdist) --HG-- branch : cherrypy-3.2.x
* Removed trailing whitespace from the codebase.Gustavo Picon2012-04-0380-2222/+2222
| | | | | | | sed -i '' -e 's/ *$//' `find cherrypy -name '*.py'` --HG-- branch : cherrypy-3.2.x
* MergeJason R. Coombs2012-03-282-5/+6
|\ | | | | | | | | --HG-- branch : cherrypy-3.2.x
| * Fix login_screen so it works on Python 3 (and test passes)Jason R. Coombs2012-03-282-5/+6
| | | | | | | | | | --HG-- branch : cherrypy-3.2.x
* | Fixed issue with nto? not failing on unexpected types.Jason R. Coombs2012-03-251-0/+8
| | | | | | | | | | --HG-- branch : cherrypy-3.2.x
* | Added test to capture silent ignore of invalid input in ntob.Jason R. Coombs2012-03-251-0/+17
|/ | | | | --HG-- branch : cherrypy-3.2.x
* Always encode login_screen (no longer needs ntob). Fixes #1132.Jason R. Coombs2012-03-251-4/+3
| | | | | --HG-- branch : cherrypy-3.2.x
* Added test to ensure that login_screen returns bytes - regression test for ↵Jason R. Coombs2012-03-241-0/+13
| | | | | | | #1132. --HG-- branch : cherrypy-3.2.x
* Resaved with excess whitespace removedJason R. Coombs2012-03-242-121/+118
| | | | | --HG-- branch : cherrypy-3.2.x
* Skip a test that consistently fails on Windows due to the implementation of ↵Jason R. Coombs2012-03-221-1/+8
| | | | | | | os.kill (Python 2.7 and later). --HG-- branch : cherrypy-3.2.x
* Extracted method for skipping when the necessary signal and kill method ↵Jason R. Coombs2012-03-221-22/+14
| | | | | | | aren't present. --HG-- branch : cherrypy-3.2.x
* Re-saved with excess whitespace removed. Removed unused import.Jason R. Coombs2012-03-222-37/+35
| | | | | --HG-- branch : cherrypy-3.2.x
* Fixed failing test case when mimetypes.guess_type('foo.jpeg')[0] == ↵Jason R. Coombs2012-03-132-2/+14
| | | | | | | 'image/pjpeg' --HG-- branch : cherrypy-3.2.x