Source

CherryPy / cherrypy / _cpcompat.py

Author Commit Message Labels Comments Date
Jason R. Coombs
Merge with cherrypy-3.2.x
Jason R. Coombs
In Python 3.3, threading._Event was renamed to threading.Event. This change creates a compatibility shim and uses that shim in cherrypy.lib.caching. Fixes #1179.
Branches
cherrypy-3.2.x
Jason R. Coombs
Merge 3.2.x
Jason R. Coombs
Timer class was renamed from _Timer to Timer in Python 3.3. This change adds a compatibility shim to detect this change and reference the base class accordingly. Fixes #1163.
Branches
cherrypy-3.2.x
Jason R. Coombs
Merge with cherrypy-3.2.x
Jason R. Coombs
Don't attempt to import HTTPSConnection but once and only from the Python-major-version-appropriate library. Fixes #1137.
Branches
cherrypy-3.2.x
Jason R. Coombs
Merged with e7e79e9d2d94, discarding that (reversion) changeset. Tests are now passing.
Jason R. Coombs
Fixed failure in test_request_obj when unicode header values were passed to ntob
Joseph Tate
Reverting 66c41b25bb7b which broke the test suite on python2. Please recommit with tests passing.
Comments 1
Jason R. Coombs
Fixed issue with nto? not failing on unexpected types.
Branches
cherrypy-3.2.x
Robert Brewer
Fixed #1083 (cherrypy requires ssl to startup)
Comments 1
Robert Brewer
Bye bye, py2/3.
Robert Brewer
Minor speedup to response body
Robert Brewer
A couple more Python 2.3 fixes.
Robert Brewer
Compat fixes for Python 2.6
Robert Brewer
Freeow. The magic cherrypy/_cpcompat.py module to take all our py3k fears away.